Next Generation
Next Generation

API

Place orders from your own site or bot with this API. Get your API key on the Account page.

Endpoint (HTTP POST)
https://next-genaretion.site/api/v2.php

Format: application/x-www-form-urlencoded or JSON · Response: JSON · Rate limit: 120 req/min

ActionParametersExample response
Services
key, action=services
[{"service":1,"name":"…","type":"Default","category":"…","rate":"12.5000","min":"100","max":"10000","dripfeed":true,"refill":true,"cancel":false}]
Add order
key, action=add, service, link, quantity
(+ runs, interval for drip-feed;
 comments for Custom Comments)
{"order":123}
Order status
key, action=status, order
or orders=1,2,3 (max 100)
{"charge":"1.2500","start_count":"0","status":"Completed","remains":"0","currency":"BDT"}
Balance
key, action=balance
{"balance":"250.0000","currency":"BDT"}
Refill
key, action=refill, order
{"refill":"123"}
Refill status
key, action=refill_status, refill
{"status":"Completed"}

cURL

curl -X POST https://next-genaretion.site/api/v2.php \
  -d key=YOUR_API_KEY -d action=add \
  -d service=1 -d link=https://example.com/post/1 -d quantity=1000

PHP

$ch = curl_init('https://next-genaretion.site/api/v2.php');
curl_setopt_array($ch, [CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true,
  CURLOPT_POSTFIELDS => ['key' => 'YOUR_API_KEY', 'action' => 'balance']]);
echo curl_exec($ch);

Status values: Pending, Processing, In progress, Completed, Partial, Canceled. Errors return {"error":"…"}.