SMM Panel API v2 Dokumentation

Identisches Anfrageformat wie das API v2, das bei SMM Panels üblich ist. Erstellen Sie Ihren API-Schlüssel auf der API-Seite der Konsole; er wird nach Ihrer ersten Guthabenaufladung aktiv.

HTTP-MethodePOST (GET)
API-URLhttps://bropanel2.com/api/v2
Anfrageformatapplication/x-www-form-urlencoded, JSON
AntwortformatJSON
Anfragelimit120 Anfragen pro Minute pro Schlüssel

Diensteliste

ParameterBeschreibung
keyAPI-Schlüssel
actionservices

Antwortbeispiel

[
  {
    "service": 1,
    "name": "Instagram Followers",
    "type": "Default",
    "category": "Instagram Followers",
    "rate": "0.1234",
    "min": "10",
    "max": "100000",
    "refill": true,
    "cancel": false
  }
]

Bestellung aufgeben

ParameterBeschreibung
keyAPI-Schlüssel
actionadd
serviceService-ID
linkSeitenlink zur Bestellung
quantityMenge (innerhalb der Service-Min- und Max-Werte)

Antwortbeispiel

{
  "order": 100231
}

Bestellstatus

ParameterBeschreibung
keyAPI-Schlüssel
actionstatus
orderBestell-ID

Antwortbeispiel

{
  "charge": "0.27819",
  "start_count": "3572",
  "status": "Partial",
  "remains": "157",
  "currency": "USD"
}

Mehrere Bestellstatus

ParameterBeschreibung
keyAPI-Schlüssel
actionstatus
ordersBestell-IDs, kommagetrennt (max. 100)

Antwortbeispiel

{
  "100231": { "charge": "0.27819", "start_count": "3572", "status": "Partial", "remains": "157", "currency": "USD" },
  "100232": { "error": "Incorrect order ID" }
}

Refill anfordern

ParameterBeschreibung
keyAPI-Schlüssel
actionrefill
orderBestell-ID (mehrere: Bestellungen)

Antwortbeispiel

{
  "refill": "1"
}

Refill-Status

ParameterBeschreibung
keyAPI-Schlüssel
actionrefill_status
refillRefill-ID (multiple: refills)

Antwortbeispiel

{
  "status": "Completed"
}

Bestellung stornieren

ParameterBeschreibung
keyAPI-Schlüssel
actioncancel
ordersBestell-IDs, kommagetrennt (max. 100)

Antwortbeispiel

[
  { "order": 100231, "cancel": 1 },
  { "order": 100232, "cancel": { "error": "Incorrect order ID" } }
]

Guthaben

ParameterBeschreibung
keyAPI-Schlüssel
actionbalance

Antwortbeispiel

{
  "balance": "100.84292",
  "currency": "USD"
}

Fehlerantwort

Wenn die Anfrage fehlschlägt, wird der Grund in einem einzelnen Fehlerfeld zurückgegeben.

{ "error": "Invalid API key" }
{ "error": "Incorrect service ID" }
{ "error": "Quantity is out of the service range" }
{ "error": "Not enough funds on balance" }

PHP-Beispiel

<?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;