Reseller-API
Standaard SMM-panel-API v2. Maak een gratis account aan om je API-sleutel te krijgen.
HTTP-methode
POST
API-URL
https://smmgonow.com/api/v2
Respons
JSON
API-sleutel
Aanmelden om je sleutel op te halen.
Dienstenlijst
action=services| Parameter | Beschrijving |
|---|---|
| key | Je API-sleutel |
| action | services |
Voorbeeldrespons
[
{
"service": 1,
"name": "Instagram Followers",
"type": "Default",
"category": "Instagram Followers",
"rate": "0.90",
"min": "50",
"max": "10000",
"refill": true,
"cancel": true,
"dripfeed": false
}
]
Bestelling toevoegen
action=add| Parameter | Beschrijving |
|---|---|
| key | Je API-sleutel |
| action | add |
| service | Dienst-ID |
| link | Link naar pagina |
| quantity | Benodigde hoeveelheid |
| runs (optional) | Aantal leverrondes (drip-feed) |
| interval (optional) | Interval in minuten |
| comments (custom comments) | Eén reactie per regel |
Voorbeeldrespons
{
"order": 23501
}
Bestelstatus
action=status| Parameter | Beschrijving |
|---|---|
| key | Je API-sleutel |
| action | status |
| order | Bestel-ID |
Voorbeeldrespons
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}
Status van meerdere bestellingen
action=status| Parameter | Beschrijving |
|---|---|
| key | Je API-sleutel |
| action | status |
| orders | Bestel-ID's gescheiden door komma's (max. 100) |
Voorbeeldrespons
{
"1": { "charge": "0.27819", "start_count": "3572", "status": "Partial", "remains": "157", "currency": "USD" },
"10": { "error": "Incorrect order ID" }
}
Refill aanvragen
action=refill| Parameter | Beschrijving |
|---|---|
| key | Je API-sleutel |
| action | refill |
| order | Bestel-ID (of "orders" voor max. 100) |
Voorbeeldrespons
{
"refill": "1"
}
Refill-status
action=refill_status| Parameter | Beschrijving |
|---|---|
| key | Je API-sleutel |
| action | refill_status |
| refill | Refill-ID (of "refills" voor max. 100) |
Voorbeeldrespons
{
"status": "Completed"
}
Bestellingen annuleren
action=cancel| Parameter | Beschrijving |
|---|---|
| key | Je API-sleutel |
| action | cancel |
| orders | Bestel-ID's gescheiden door komma's (max. 100) |
Voorbeeldrespons
[
{ "order": 9, "cancel": { "error": "Incorrect order ID" } },
{ "order": 2, "cancel": 1 }
]
Saldo
action=balance| Parameter | Beschrijving |
|---|---|
| key | Je API-sleutel |
| action | balance |
Voorbeeldrespons
{
"balance": "100.84292",
"currency": "USD"
}
Voorbeeld (PHP)
$ch = curl_init("https://smmgonow.com/api/v2");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POSTFIELDS => http_build_query([
"key" => "YOUR_API_KEY",
"action" => "add",
"service" => 1,
"link" => "https://instagram.com/yourprofile",
"quantity" => 1000,
]),
]);
$result = json_decode(curl_exec($ch), true);