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-Methode | POST (GET) |
| API-URL | https://bropanel2.com/api/v2 |
| Anfrageformat | application/x-www-form-urlencoded, JSON |
| Antwortformat | JSON |
| Anfragelimit | 120 Anfragen pro Minute pro Schlüssel |
Diensteliste
| Parameter | Beschreibung |
|---|---|
key | API-Schlüssel |
action | services |
Antwortbeispiel
[
{
"service": 1,
"name": "Instagram Followers",
"type": "Default",
"category": "Instagram Followers",
"rate": "0.1234",
"min": "10",
"max": "100000",
"refill": true,
"cancel": false
}
]Bestellung aufgeben
| Parameter | Beschreibung |
|---|---|
key | API-Schlüssel |
action | add |
service | Service-ID |
link | Seitenlink zur Bestellung |
quantity | Menge (innerhalb der Service-Min- und Max-Werte) |
Antwortbeispiel
{
"order": 100231
}Bestellstatus
| Parameter | Beschreibung |
|---|---|
key | API-Schlüssel |
action | status |
order | Bestell-ID |
Antwortbeispiel
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}Mehrere Bestellstatus
| Parameter | Beschreibung |
|---|---|
key | API-Schlüssel |
action | status |
orders | Bestell-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
| Parameter | Beschreibung |
|---|---|
key | API-Schlüssel |
action | refill |
order | Bestell-ID (mehrere: Bestellungen) |
Antwortbeispiel
{
"refill": "1"
}Refill-Status
| Parameter | Beschreibung |
|---|---|
key | API-Schlüssel |
action | refill_status |
refill | Refill-ID (multiple: refills) |
Antwortbeispiel
{
"status": "Completed"
}Bestellung stornieren
| Parameter | Beschreibung |
|---|---|
key | API-Schlüssel |
action | cancel |
orders | Bestell-IDs, kommagetrennt (max. 100) |
Antwortbeispiel
[
{ "order": 100231, "cancel": 1 },
{ "order": 100232, "cancel": { "error": "Incorrect order ID" } }
]Guthaben
| Parameter | Beschreibung |
|---|---|
key | API-Schlüssel |
action | balance |
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;