Langkau ke kandungan

API reseller

API panel SMM v2 standard. Buat akaun percuma untuk mendapatkan kunci API anda.

Kaedah HTTP
POST
URL API
https://smmgonow.com/api/v2
Respons
JSON
Kunci API
Daftar untuk mendapatkan kunci anda.

Senarai perkhidmatan

action=services
ParameterPenerangan
keyKunci API anda
actionservices
Contoh respons
[
  {
    "service": 1,
    "name": "Instagram Followers",
    "type": "Default",
    "category": "Instagram Followers",
    "rate": "0.90",
    "min": "50",
    "max": "10000",
    "refill": true,
    "cancel": true,
    "dripfeed": false
  }
]

Buat pesanan

action=add
ParameterPenerangan
keyKunci API anda
actionadd
serviceID perkhidmatan
linkPautan ke halaman
quantityKuantiti diperlukan
runs (optional)Pusingan penghantaran (drip-feed)
interval (optional)Selang dalam minit
comments (custom comments)Satu komen setiap baris
Contoh respons
{
  "order": 23501
}

Status pesanan

action=status
ParameterPenerangan
keyKunci API anda
actionstatus
orderID pesanan
Contoh respons
{
  "charge": "0.27819",
  "start_count": "3572",
  "status": "Partial",
  "remains": "157",
  "currency": "USD"
}

Status berbilang pesanan

action=status
ParameterPenerangan
keyKunci API anda
actionstatus
ordersID pesanan dipisahkan dengan koma (sehingga 100)
Contoh respons
{
  "1": { "charge": "0.27819", "start_count": "3572", "status": "Partial", "remains": "157", "currency": "USD" },
  "10": { "error": "Incorrect order ID" }
}

Buat refill

action=refill
ParameterPenerangan
keyKunci API anda
actionrefill
orderID pesanan (atau "orders" untuk sehingga 100)
Contoh respons
{
  "refill": "1"
}

Status refill

action=refill_status
ParameterPenerangan
keyKunci API anda
actionrefill_status
refillID refill (atau "refills" untuk sehingga 100)
Contoh respons
{
  "status": "Completed"
}

Batalkan pesanan

action=cancel
ParameterPenerangan
keyKunci API anda
actioncancel
ordersID pesanan dipisahkan dengan koma (sehingga 100)
Contoh respons
[
  { "order": 9, "cancel": { "error": "Incorrect order ID" } },
  { "order": 2, "cancel": 1 }
]

Baki

action=balance
ParameterPenerangan
keyKunci API anda
actionbalance
Contoh respons
{
  "balance": "100.84292",
  "currency": "USD"
}

Contoh (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);