API
| HTTP Method | Post |
| API URL | https://smmdiamond.com/api/v1 |
| API Key | Get an API key on the Account page |
| Response format | JSON |
Service list
| Parameters | Description |
|---|---|
| key | Your API key |
| action | services |
Example response
[
{
"service": 100,
"name": "FB View 3s/Reels",
"type": "",
"rate": 0.1,
"min": 500,
"max": 10000000,
"refill": false,
"cancel": false,
"category": "FB View Services"
},
{
"service": 500,
"name": "FB Livestream 30 mins",
"type": "",
"rate": 0.5,
"min": 50,
"max": 2000,
"refill": false,
"cancel": false,
"category": "FB Live Services"
}
]
Add order
| Parameters | Description |
|---|---|
| key | Your API key |
| action | add |
| service | Service ID |
| link | Link to page |
| quantity | Needed quantity |
Example response
{
"order": 1125
}
Order status
| Parameters | Description |
|---|---|
| key | Your API key |
| action | status |
| order | Order ID |
Example response
{
"charge": "0.011",
"start_count": "3572",
"status": "Pending",
"remains": "157",
"currency": "USD"
}
Multiple orders status
| Parameters | Description |
|---|---|
| key | Your API key |
| action | status |
| orders | Order IDs (separated by a comma, up to 100 IDs) |
Example response
{
"11": {
"charge": 0.1,
"start_count": 0,
"status": "Pending",
"remains": 1000,
"currency": "USD"
},
"15": {
"charge": 0.1,
"start_count": 0,
"status": "Pending",
"remains": 1000,
"currency": "USD"
},
"20": {
"error": "Incorrect OrderID "
}
}
User balance
| Parameters | Description |
|---|---|
| key | Your API key |
| action | balance |
Example response
{
"balance": 2998.7898,
"currency": "USD"
}