Reseller API (v2)

Resell SMM Ahsan services from your own panel or app. Our API uses the standard SMM panel v2 format, so it works with most panel scripts and child panels without changes.

Your API key

Sign in to create your API key. Sign in

HTTP methodPOST
API URLhttps://smmahsan.com/api/v2
Response formatJSON
Parametersform fields or JSON body. Every request needs key and action

Service list

action=services

[{"service":3503,"name":"Instagram Video Views","type":"Default","category":"Instagram Video Views","rate":"0.0110","min":"100","max":"2147483647","refill":false,"cancel":false}]

rate is the price per 1000 in your API wallet currency.

Add order

action=add, service, link, quantity

{"order":6758463}

Order status

action=status, order (or orders: up to 100 IDs, comma separated)

{"charge":"1.00","start_count":"120","status":"In progress","remains":"40","currency":"EUR"}

Statuses: Pending, Processing, In progress, Completed, Partial, Canceled.

Refill

action=refill, order. Only for services with "refill":true, once every 24 hours.

{"refill":6758463}

Cancel

action=cancel, orders (comma separated). Only for services with "cancel":true, before the order starts. Your balance is returned once our provider confirms the cancellation.

[{"order":6758463,"cancel":1}]

Balance

action=balance

{"balance":"25.40","currency":"EUR"}

Example (PHP)

$r = file_get_contents('https://smmahsan.com/api/v2', false, stream_context_create(['http' => [
  'method' => 'POST', 'header' => 'Content-Type: application/x-www-form-urlencoded',
  'content' => http_build_query(['key' => 'YOUR_API_KEY', 'action' => 'add', 'service' => 3503,
                                 'link' => 'https://www.instagram.com/p/xxxx/', 'quantity' => 1000])]]));
echo $r;

Errors come back as {"error":"..."}. Keep your key secret. Generating a new key turns off the old one. Orders are charged from your wallet, so add funds first. Need a ready-made panel on your own domain? See Child panel.