Yükleniyor…
API & Automation

SMM Panel API: How to Automate Orders with v1 and v2

SMM Panel API: How to Automate Orders with v1 and v2
TL;DR

Learn how to integrate an SMM panel API: v1 vs v2 endpoints, placing orders, checking status, webhooks and rate limits, with real examples.

Every reseller who scales eventually automates. The SMM panel API turns manual order placement into a pipeline: your storefront, CMS or script places orders, checks status and pulls balances without a human in the loop.

API basics

SMM APIs follow one standard shape across the industry, which means most integrations are portable:

  • Endpoint: a POST URL such as /api/v1 or /api/v2.
  • Authentication: your API key, generated per user account.
  • Actions: services, add, status, orders, cancel, refill, refill_status, balance.
  • Response format: JSON.

v1 vs v2: what differs

Actionv1v2
servicesBasic listAdds original price, provider, cancel/refill flags, drip-feed, avg time
addStandard fieldsExtended fields for every service type
statusSingle orderSingle + bulk orders
orders—Order history with filters
cancel / refillAvailable where supportedFull support + status endpoints

Place an order (curl example)

curl -X POST https://yourpanel.com/api/v2 \
  -d "key=YOUR_API_KEY" \
  -d "action=add" \
  -d "service=1234" \
  -d "link=https://instagram.com/username" \
  -d "quantity=1000"

A successful response returns the new order ID, which you store and poll for status.

Check order status

curl -X POST https://yourpanel.com/api/v2 \
  -d "key=YOUR_API_KEY" \
  -d "action=status" \
  -d "order=987654"

Webhooks: stop polling, start receiving

Polling works, but webhooks are better. With a webhook URL configured, the panel pushes order status changes to your endpoint with an HMAC-SHA256 signature you can verify. Typical flow:

  1. You register a webhook URL in your account.
  2. An order changes status (in progress, completed, partial).
  3. The panel POSTs the payload to your URL, signed with your secret.
  4. Your server verifies the signature and updates your records.

Rate limits and abuse protection

  • Per-key and per-IP rate limits (typically 30-60 requests per minute).
  • Duplicate-order windows and per-service daily caps.
  • Atomic balance debits — parallel orders can never overspend.

Integration checklist

  • Generate an API key and store it in a secrets manager, never in client code.
  • Pull the service list once and cache it; refresh on schedule.
  • Store order IDs; use bulk status checks for large volumes.
  • Implement webhook verification before relying on it.
  • Handle error codes explicitly (incorrect key, not enough funds, invalid link).

What the services call really returns

The services endpoint is the one call every integration depends on, and the fields it returns are what let you build a storefront without hardcoding anything. In v2 each row carries:

  • service and name: the numeric ID you post to add, and the label shown to clients.
  • category and type: the platform family and the delivery type, which is what you group by in a UI.
  • rate: price per 1,000 in your account currency, before your own markup.
  • min and max: the order bounds. These vary by 1,000x inside one platform, so never assume a default quantity.
  • refill, cancel and dripfeed: whether the row supports each feature. If a flag is false, the call fails, so gate the UI on these rather than on the service name.

Pull this once at startup, cache it, and refresh on a schedule. A storefront that calls services on every page load will hit the rate limit before it hits a customer.

Handling errors like a production client

ResponseWhat it meansWhat to do
Incorrect keyThe API key is wrong or revokedFail loudly, alert yourself, do not retry
Not enough fundsBalance below the order valueStop the queue, top up, then resume
Invalid linkThe target URL is malformed or not publicValidate before sending, never retry blindly
Invalid serviceThe row was disabled or removedRe-sync the service list, remap the client product
Quantity below or above limitOutside the row's min or maxClamp to the row bounds and tell the client why

Two rules make the difference between a script and a service. First, store your own client order ID next to the panel order ID, so a retry after a timeout can be reconciled instead of duplicated. Second, treat balance as a hard stop: an empty balance returns "not enough funds" on every queued order and can burn your per-key rate limit in a single loop.

If you are building the storefront around this, the margin side is in pricing strategy and the reseller side is in starting a reseller business. Live rows to test against are on the services hub.

Automation is what separates hobby resellers from agencies. Browse the full API documentation, then open an account to generate your key and run your first test order.

Uygulamaya hazır mısınız?

Bir dakikadan kısa sürede hesap açın ve küçük bir test siparişiyle başlayın.

Satışa başla →