solo instagram · sviluppatori
API SMM Instagram.
Collega il tuo pannello, script o app a The IG Provider e invia ordini Instagram in automatico. Un solo endpoint, richieste POST, risposte JSON — lo stesso formato API che la maggior parte dei pannelli SMM già usa: cambiare fornitore richiede pochi minuti.
URL API
https://theigprovider.com/api/v2
Metodo HTTP
POSTtutte le richieste
Formato risposta
JSONUTF-8
Chiave API
Serve un account per ottenere una chiave. Registrati gratis
1Service list
action=services| Parametro | Descrizione |
|---|---|
key | Your API key |
action | services |
Richiesta
curl -X POST https://theigprovider.com/api/v2 \ -d key=YOUR_API_KEY \ -d action=services
Risposta di esempio
[
{
"service": 1,
"name": "Followers",
"type": "Default",
"category": "First Category",
"rate": "0.90",
"min": "50",
"max": "10000",
"refill": true,
"cancel": true
},
{
"service": 2,
"name": "Comments",
"type": "Custom Comments",
"category": "Second Category",
"rate": "8",
"min": "10",
"max": "1500",
"refill": false,
"cancel": true
}
]
2Add order
action=add3Order status
action=status| Parametro | Descrizione |
|---|---|
key | Your API key |
action | status |
order | Order ID |
Richiesta
curl -X POST https://theigprovider.com/api/v2 \ -d key=YOUR_API_KEY \ -d action=status \ -d order={order}
Risposta di esempio
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}
4Multiple orders status
action=status| Parametro | Descrizione |
|---|---|
key | Your API key |
action | status |
orders | Order IDs (separated by a comma, up to 100 IDs) |
Richiesta
curl -X POST https://theigprovider.com/api/v2 \ -d key=YOUR_API_KEY \ -d action=status \ -d orders={orders}
Risposta di esempio
{
"1": {
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
},
"10": {
"error": "Incorrect order ID"
},
"100": {
"charge": "1.44219",
"start_count": "234",
"status": "In progress",
"remains": "10",
"currency": "USD"
}
}
5Create refill
action=refill| Parametro | Descrizione |
|---|---|
key | Your API key |
action | refill |
order | Order ID |
Richiesta
curl -X POST https://theigprovider.com/api/v2 \ -d key=YOUR_API_KEY \ -d action=refill \ -d order={order}
Risposta di esempio
{
"refill": "1"
}
6Create multiple refill
action=refill| Parametro | Descrizione |
|---|---|
key | Your API key |
action | refill |
orders | Order IDs (separated by a comma, up to 100 IDs) |
Richiesta
curl -X POST https://theigprovider.com/api/v2 \ -d key=YOUR_API_KEY \ -d action=refill \ -d orders={orders}
Risposta di esempio
[
{
"order": 1,
"refill": 1
},
{
"order": 2,
"refill": 2
},
{
"order": 3,
"refill": {
"error": "Incorrect order ID"
}
}
]
7Get refill status
action=refill_status| Parametro | Descrizione |
|---|---|
key | Your API key |
action | refill_status |
refill | Refill ID |
Richiesta
curl -X POST https://theigprovider.com/api/v2 \ -d key=YOUR_API_KEY \ -d action=refill_status \ -d refill={refill}
Risposta di esempio
{
"status": "Completed"
}
8Get multiple refill status
action=refill_status| Parametro | Descrizione |
|---|---|
key | Your API key |
action | refill_status |
refills | Refill IDs (separated by a comma, up to 100 IDs) |
Richiesta
curl -X POST https://theigprovider.com/api/v2 \ -d key=YOUR_API_KEY \ -d action=refill_status \ -d refills={refills}
Risposta di esempio
[
{
"refill": 1,
"status": "Completed"
},
{
"refill": 2,
"status": "Rejected"
},
{
"refill": 3,
"status": {
"error": "Refill not found"
}
}
]
9Create cancel
action=cancel| Parametro | Descrizione |
|---|---|
key | Your API key |
action | cancel |
orders | Order IDs (separated by a comma, up to 100 IDs) |
Richiesta
curl -X POST https://theigprovider.com/api/v2 \ -d key=YOUR_API_KEY \ -d action=cancel \ -d orders={orders}
Risposta di esempio
[
{
"order": 9,
"cancel": {
"error": "Incorrect order ID"
}
},
{
"order": 2,
"cancel": 1
}
]
10User balance
action=balance| Parametro | Descrizione |
|---|---|
key | Your API key |
action | balance |
Richiesta
curl -X POST https://theigprovider.com/api/v2 \ -d key=YOUR_API_KEY \ -d action=balance
Risposta di esempio
{
"balance": "100.84292",
"currency": "USD"
}
Stati dell'ordine
Il campo status restituito dal metodo status. Interrogalo ogni pochi minuti, non ogni secondo — la velocità di consegna la decide il servizio, non quante volte chiedi.
PendingRicevuto, in attesa di partire.
In progressLa consegna è iniziata.
ProcessingIn gestione dal nostro sistema prima dell'inizio della consegna.
CompletedConsegnato per intero.
PartialFermato prima della quantità completa; la parte non consegnata torna sul saldo.
CanceledNon consegnato; l'intero importo torna sul saldo.
start_count è il numero di follower/like/visualizzazioni rilevato all'avvio dell'ordine; remains è ciò che resta da consegnare.
Errori
Quando qualcosa non va — chiave non valida, servizio sconosciuto, quantità fuori da min/max, saldo insufficiente — la risposta è un oggetto JSON con un unico campo error e un messaggio leggibile.
Risposta di esempio
{
"error": "Incorrect request"
}
Controlla min, max e formato del link di ogni servizio con il metodo services prima di inviare ordini in massa; evita la maggior parte delle richieste rifiutate.
Preferisci partire da codice funzionante? Scarica una classe PHP minima che incapsula tutti i metodi.
Esempio PHP
Domande sull'integrazione? Apri un ticket indicando il metodo e la risposta esatta che hai ricevuto.