Partner API
API v2With the API you can order any service, check statuses and view your balance. Requests are sent via POST, responses are JSON.
HTTP POST / GETResponse format: JSONUZSLimit: 120 requests per minute per key.
Notes
All prices are in UZS per 1000. Your discount also applies to API prices.
Only services with API ordering enabled appear in the list.
The charge is deducted as soon as the order is accepted; on partial completion the remainder is refunded.
Service list
Parameters
| key | Your API key required |
| action | services |
Response
[
{
"service": 1,
"name": "Instagram Followers",
"type": "Default",
"category": "Instagram",
"rate": "12500.0000",
"min": 100,
"max": 100000,
"refill": true,
"cancel": false
},
{
"service": 2,
"name": "Instagram Comments",
"type": "Custom Comments",
"category": "Instagram",
"rate": "90000.0000",
"min": 10,
"max": 1000,
"refill": false,
"cancel": false
}
]
Add order
Common parameters
| key | Your API key required |
| action | add |
| service | Service ID required |
Parameters for this type
Request
Response
{"order": 23501}
Order status
Parameters
| key | Your API key required |
| action | status |
| order | Order ID required |
Response
{
"charge": "12500.00",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "UZS"
}Multiple orders status
Parameters
| key | Your API key required |
| action | status |
| orders | ID,ID,ID (max 100) required |
Response
{
"1": {
"charge": "12500.00",
"start_count": "3572",
"status": "In progress",
"remains": "157",
"currency": "UZS"
},
"10": {
"error": "Incorrect order ID"
}
}Refill
Parameters
| key | Your API key required |
| action | refill |
| order | Order ID |
| orders | ID,ID,ID (max 100) |
Response
{"refill": "1"}
[
{"order": 1, "refill": 1},
{"order": 2, "refill": {"error": "Refill is not available for this order"}}
]Refill status
Parameters
| key | Your API key required |
| action | refill_status |
| refill | Refill ID |
| refills | ID,ID,ID (max 100) |
Response
{"status": "Completed"}
[
{"refill": 1, "status": "Completed"},
{"refill": 2, "status": {"error": "Incorrect refill ID"}}
]Cancel
Parameters
| key | Your API key required |
| action | cancel |
| orders | ID,ID,ID (max 100) required |
Response
[
{"order": 9, "cancel": {"error": "Cancel is not available for this order"}},
{"order": 2, "cancel": 1}
]Balance
Parameters
| key | Your API key required |
| action | balance |
Response
{
"balance": "1250000.00",
"currency": "UZS"
}Errors
{"error": "Incorrect API key"}{"error": "Incorrect service ID"}{"error": "Not enough funds on balance"}{"error": "Quantity less than minimal 100"}{"error": "Quantity more than maximal 100000"}{"error": "Incorrect order ID"}{"error": "Too many requests"}Code examples
$ch = curl_init("https://bargainsmm.com/api/v2");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
"key" => "API_KEY",
"action" => "add",
"service" => 1,
"link" => "https://instagram.com/username",
"quantity" => 1000,
]));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$result = json_decode(curl_exec($ch), true);
print_r($result); // ["order" => 23501]
import requests
r = requests.post("https://bargainsmm.com/api/v2", data={
"key": "API_KEY",
"action": "add",
"service": 1,
"link": "https://instagram.com/username",
"quantity": 1000,
})
print(r.json()) # {"order": 23501}
const res = await fetch("https://bargainsmm.com/api/v2", {
method: "POST",
headers: { "Content-Type": "application/x-www-form-urlencoded" },
body: new URLSearchParams({
key: "API_KEY",
action: "add",
service: "1",
link: "https://instagram.com/username",
quantity: "1000",
}),
});
console.log(await res.json()); // { order: 23501 }
curl -X POST "https://bargainsmm.com/api/v2" \ -d "key=API_KEY" \ -d "action=add" \ -d "service=1" \ -d "link=https://instagram.com/username" \ -d "quantity=1000"
