Dokumentasi API v2 panel SMM
Format permintaan sama dengan API v2 yang digunakan di berbagai panel SMM. Buat kunci API di halaman API pada konsol; berfungsi setelah top-up pertama dikreditkan.
| Metode HTTP | POST (GET) |
| URL API | https://bropanel2.com/api/v2 |
| Format permintaan | application/x-www-form-urlencoded, JSON |
| Format respons | JSON |
| Batas permintaan | 120 permintaan per menit per kunci |
Daftar layanan
| Parameter | Deskripsi |
|---|---|
key | Kunci API |
action | services |
Contoh respons
[
{
"service": 1,
"name": "Instagram Followers",
"type": "Default",
"category": "Instagram Followers",
"rate": "0.1234",
"min": "10",
"max": "100000",
"refill": true,
"cancel": false
}
]Pesan sekarang
| Parameter | Deskripsi |
|---|---|
key | Kunci API |
action | add |
service | ID Layanan |
link | Tautan halaman untuk pemesanan |
quantity | Jumlah (dalam batas min dan max layanan) |
Contoh respons
{
"order": 100231
}Status pesanan
| Parameter | Deskripsi |
|---|---|
key | Kunci API |
action | status |
order | ID Pesanan |
Contoh respons
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}Status multi pesanan
| Parameter | Deskripsi |
|---|---|
key | Kunci API |
action | status |
orders | ID Pesanan, dipisahkan koma (maks 100) |
Contoh respons
{
"100231": { "charge": "0.27819", "start_count": "3572", "status": "Partial", "remains": "157", "currency": "USD" },
"100232": { "error": "Incorrect order ID" }
}Minta refill
| Parameter | Deskripsi |
|---|---|
key | Kunci API |
action | refill |
order | ID Pesanan (multiple: orders) |
Contoh respons
{
"refill": "1"
}Status refill
| Parameter | Deskripsi |
|---|---|
key | Kunci API |
action | refill_status |
refill | ID refill (multiple: refills) |
Contoh respons
{
"status": "Completed"
}Batalkan pesanan
| Parameter | Deskripsi |
|---|---|
key | Kunci API |
action | cancel |
orders | ID Pesanan, dipisahkan koma (maks 100) |
Contoh respons
[
{ "order": 100231, "cancel": 1 },
{ "order": 100232, "cancel": { "error": "Incorrect order ID" } }
]Saldo
| Parameter | Deskripsi |
|---|---|
key | Kunci API |
action | balance |
Contoh respons
{
"balance": "100.84292",
"currency": "USD"
}Respons error
Jika permintaan gagal, alasan akan dikembalikan dalam 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" }Contoh 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;