API per reseller
API v2 standard per pannelli SMM. Crea un account gratuito per ottenere la tua chiave API.
Metodo HTTP
POST
URL API
https://smmgonow.com/api/v2
Risposta
JSON
Chiave API
Registrati per ottenere la tua chiave.
Elenco servizi
action=services| Parametro | Descrizione |
|---|---|
| key | La tua chiave API |
| action | services |
Risposta di esempio
[
{
"service": 1,
"name": "Instagram Followers",
"type": "Default",
"category": "Instagram Followers",
"rate": "0.90",
"min": "50",
"max": "10000",
"refill": true,
"cancel": true,
"dripfeed": false
}
]
Nuovo ordine
action=add| Parametro | Descrizione |
|---|---|
| key | La tua chiave API |
| action | add |
| service | ID servizio |
| link | Link alla pagina |
| quantity | Quantità necessaria |
| runs (optional) | Tranche da consegnare (drip-feed) |
| interval (optional) | Intervallo in minuti |
| comments (custom comments) | Un commento per riga |
Risposta di esempio
{
"order": 23501
}
Stato dell'ordine
action=status| Parametro | Descrizione |
|---|---|
| key | La tua chiave API |
| action | status |
| order | ID ordine |
Risposta di esempio
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}
Stato di più ordini
action=status| Parametro | Descrizione |
|---|---|
| key | La tua chiave API |
| action | status |
| orders | ID ordine separati da virgola (fino a 100) |
Risposta di esempio
{
"1": { "charge": "0.27819", "start_count": "3572", "status": "Partial", "remains": "157", "currency": "USD" },
"10": { "error": "Incorrect order ID" }
}
Richiedi refill
action=refill| Parametro | Descrizione |
|---|---|
| key | La tua chiave API |
| action | refill |
| order | ID ordine (o "orders" per un massimo di 100) |
Risposta di esempio
{
"refill": "1"
}
Stato del refill
action=refill_status| Parametro | Descrizione |
|---|---|
| key | La tua chiave API |
| action | refill_status |
| refill | ID refill (o "refills" per un massimo di 100) |
Risposta di esempio
{
"status": "Completed"
}
Annulla ordini
action=cancel| Parametro | Descrizione |
|---|---|
| key | La tua chiave API |
| action | cancel |
| orders | ID ordine separati da virgola (fino a 100) |
Risposta di esempio
[
{ "order": 9, "cancel": { "error": "Incorrect order ID" } },
{ "order": 2, "cancel": 1 }
]
Saldo
action=balance| Parametro | Descrizione |
|---|---|
| key | La tua chiave API |
| action | balance |
Risposta di esempio
{
"balance": "100.84292",
"currency": "USD"
}
Esempio (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);