API
- HTTP methodPOST
- API URLhttps://mdshariulislam.ajkerhoster.top/api/v2
- Your API keyLog in to get a key
- Response formatJSON
Service list
| Parameter | Description |
|---|---|
| key | Your API key |
| action | services |
Example response
[
{
"service": 1,
"name": "Followers",
"type": "Default",
"category": "First Category",
"rate": "0.90",
"min": "50",
"max": "10000",
"refill": true,
"cancel": true
}
]
Add order
| Parameter | Description |
|---|---|
| key | Your API key |
| action | add |
| service | Service ID |
| link | Link to page |
| quantity | Needed quantity |
| runs (optional) | Runs to deliver (drip-feed) |
| interval (optional) | Interval in minutes |
| comments (custom comments) | One comment per line (\n) |
Example response
{
"order": 23501
}
Order status
| Parameter | Description |
|---|---|
| key | Your API key |
| action | status |
| order | Order ID |
Example response
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}
Multiple orders status
| Parameter | Description |
|---|---|
| key | Your API key |
| action | status |
| orders | Order IDs, comma separated (up to 100) |
Example response
{
"1": {
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
},
"10": {
"error": "Incorrect order ID"
}
}
Create refill
| Parameter | Description |
|---|---|
| key | Your API key |
| action | refill |
| order | Order ID |
Example response
{
"refill": "1"
}
Refill status
| Parameter | Description |
|---|---|
| key | Your API key |
| action | refill_status |
| refill | Refill ID |
Example response
{
"status": "Completed"
}
Cancel orders
| Parameter | Description |
|---|---|
| key | Your API key |
| action | cancel |
| orders | Order IDs, comma separated (up to 100) |
Example response
[
{
"order": 9,
"cancel": {
"error": "Incorrect order ID"
}
},
{
"order": 2,
"cancel": 1
}
]
User balance
| Parameter | Description |
|---|---|
| key | Your API key |
| action | balance |
Example response
{
"balance": "100.84292",
"currency": "USD"
}
PHP example
<?php
function smm($action, $data = []) {
$data += ["key" => "YOUR_API_KEY", "action" => $action];
$ch = curl_init("https://mdshariulislam.ajkerhoster.top/api/v2");
curl_setopt_array($ch, [CURLOPT_POST => 1, CURLOPT_POSTFIELDS => http_build_query($data), CURLOPT_RETURNTRANSFER => 1, CURLOPT_TIMEOUT => 30]);
$r = curl_exec($ch);
curl_close($ch);
return json_decode($r, true);
}
print_r(smm("balance"));
print_r(smm("add", ["service" => 1, "link" => "https://example.com/page", "quantity" => 100]));