Dokumentasyon ng SMM panel API v2
Parehong format ng request tulad ng API v2 na ginagamit sa ibang SMM panels. Gumawa ng iyong API key sa API page ng console; gagana ito kapag na-credit na ang iyong unang top-up.
| Paraan ng HTTP | POST (GET) |
| API URL | https://bropanel2.com/api/v2 |
| Format ng request | application/x-www-form-urlencoded, JSON |
| Format ng response | JSON |
| Limit ng request | 120 requests bawat minuto bawat key |
Listahan ng services
| Parameter | Paglalarawan |
|---|---|
key | API key |
action | services |
Halimbawa ng response
[
{
"service": 1,
"name": "Instagram Followers",
"type": "Default",
"category": "Instagram Followers",
"rate": "0.1234",
"min": "10",
"max": "100000",
"refill": true,
"cancel": false
}
]Mag-order
| Parameter | Paglalarawan |
|---|---|
key | API key |
action | add |
service | Service ID |
link | Page link para mag-order |
quantity | Dami (sa loob ng min at max ng service) |
Halimbawa ng response
{
"order": 100231
}Status ng order
| Parameter | Paglalarawan |
|---|---|
key | API key |
action | status |
order | Order ID |
Halimbawa ng response
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}Maramihang status ng order
| Parameter | Paglalarawan |
|---|---|
key | API key |
action | status |
orders | Order IDs, hiwalay ng kuwit (max 100) |
Halimbawa ng response
{
"100231": { "charge": "0.27819", "start_count": "3572", "status": "Partial", "remains": "157", "currency": "USD" },
"100232": { "error": "Incorrect order ID" }
}Mag-request ng refill
| Parameter | Paglalarawan |
|---|---|
key | API key |
action | refill |
order | Order ID (multiple: orders) |
Halimbawa ng response
{
"refill": "1"
}Status ng refill
| Parameter | Paglalarawan |
|---|---|
key | API key |
action | refill_status |
refill | Refill ID (multiple: refills) |
Halimbawa ng response
{
"status": "Completed"
}Kanselahin ang order
| Parameter | Paglalarawan |
|---|---|
key | API key |
action | cancel |
orders | Order IDs, hiwalay ng kuwit (max 100) |
Halimbawa ng response
[
{ "order": 100231, "cancel": 1 },
{ "order": 100232, "cancel": { "error": "Incorrect order ID" } }
]Balance
| Parameter | Paglalarawan |
|---|---|
key | API key |
action | balance |
Halimbawa ng response
{
"balance": "100.84292",
"currency": "USD"
}Tugon kapag may error
Kapag nag-fail ang request, ang dahilan ay ibabalik sa single error field.
{ "error": "Invalid API key" }
{ "error": "Incorrect service ID" }
{ "error": "Quantity is out of the service range" }
{ "error": "Not enough funds on balance" }Halimbawa sa PHP
<?php
$post = ['key' => 'YOUR_API_KEY', 'action' => 'add', 'service' => 1,
'link' => 'https://instagram.com/yourname', 'quantity' => 1000];
$ch = curl_init('https://bropanel2.com/api/v2');
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$result = json_decode(curl_exec($ch));
echo $result->order;