Bargain SMM

Partner API

API v2

With 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
keyYour API key required
actionservices
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
keyYour API key required
actionadd
serviceService ID required
Parameters for this type
Request

          
Response
{"order": 23501}

Order status

Parameters
keyYour API key required
actionstatus
orderOrder ID required
Response
{
  "charge": "12500.00",
  "start_count": "3572",
  "status": "Partial",
  "remains": "157",
  "currency": "UZS"
}

Multiple orders status

Parameters
keyYour API key required
actionstatus
ordersID,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
keyYour API key required
actionrefill
orderOrder ID
ordersID,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
keyYour API key required
actionrefill_status
refillRefill ID
refillsID,ID,ID (max 100)
Response
{"status": "Completed"}
[
  {"refill": 1, "status": "Completed"},
  {"refill": 2, "status": {"error": "Incorrect refill ID"}}
]

Cancel

Parameters
keyYour API key required
actioncancel
ordersID,ID,ID (max 100) required
Response
[
  {"order": 9, "cancel": {"error": "Cancel is not available for this order"}},
  {"order": 2, "cancel": 1}
]

Balance

Parameters
keyYour API key required
actionbalance
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]