Two dark servers linked by glowing gold and orange data cables, with a frosted code panel and a gold key on a dark background, illustrating an SMM panel API integration

SMM Panel API Explained: How Resellers Connect, Automate and Scale Orders

Every SMM panel reseller eventually hits the same wall: copying orders by hand from your own site to a provider does not scale. The fix is an API. Once your panel, bot or app talks to the provider directly, orders flow in both directions on their own, around the clock.

An SMM panel API is a simple HTTP interface that lets software place orders with an SMM provider, check their status, request refills and cancels, list available services and read the account balance. Almost every panel uses the same "v2" format: one URL, a POST request with form fields, and a JSON reply. This guide explains how that format works, walks through a full order lifecycle using the SMMKings API, and covers what resellers should check before connecting a provider. For the business side of running a panel, see How to Start Your Own SMM Panel Business.

Key takeaways

  • The standard SMM panel API v2 uses one endpoint, POST form fields, your API key and an action parameter. Replies are JSON.
  • Six actions cover almost everything: services, add, status, refill (with refill_status), cancel and balance.
  • The service type tells you which parameters an order needs, and the refill and cancel flags tell you what you can offer customers.
  • Order cost = rate / 1,000 x quantity. Batch status, refill and cancel calls accept up to 100 IDs.
  • PerfectPanel and most panel scripts connect to SMMKings without custom code. An account and API access are free.

Who uses an SMM panel API

  • Panel owners and resellers who sell services on their own site and pass each order to a provider automatically.
  • Agencies that manage many client accounts and want orders, status and refills inside their own tools.
  • Bot and app developers, for example Telegram bots that take orders in chat.
  • Power users who place repeat orders and want to script them instead of clicking through a form.

If you only place an occasional order, you do not need the API. The fast order form works without an account.

How the v2 format works

The SMMKings API follows the standard SMM panel v2 format. Here are the basics, from the API documentation:

ItemValue
API URLhttps://smmkings.com/api/v2
HTTP methodPOST
Request formatForm fields in the request body
Response formatJSON
AuthenticationYour API key, sent as key
Choosing an operationThe action field

Every request goes to the same URL. You send your key and an action, plus whatever parameters that action needs. Because the format is shared across the industry, a client written for one v2 provider usually works with another after changing the URL and key.

The six actions you will use

ActionWhat it doesKey parametersExample reply
servicesLists every service with ID, name, type, category, rate, min, max and refill and cancel flagskey, actionAn array of service objects
addCreates an order and returns its IDservice, plus fields for the service type, such as link and quantity{"order": 23501}
statusReturns charge, start count, status and remains for one order, or up to 100 with ordersorder or orders{"charge": "0.27819", "start_count": "3572", "status": "Partial", "remains": "157", "currency": "USD"}
refill / refill_statusRequests a refill for one or up to 100 orders, then tracks each refillorder or orders; refill or refills{"refill": "1"} then {"status": "Completed"}
cancelSends a cancel request for up to 100 ordersorders[{"order": 2, "cancel": 1}]
balanceReturns your balance and currencykey, action{"balance": "100.84292", "currency": "USD"}

Service types decide the order fields

The type field in the service list tells you what an add request needs. The documentation lists Default (link and quantity, with optional runs and interval for drip-feed), Package (link only), Custom Comments and Custom Comments Package (a comments list, one per line), Poll (with answer_number), Subscriptions (username, min, max, optional posts and old_posts, delay and expiry), and Web Traffic (with country, device, type_of_traffic and optional keyword or referrer fields). If your panel imports services automatically, it reads the type for you. If you write your own client, branch on it.

A full order lifecycle, step by step

  1. Create a free account on the sign-up page, open the Account page and press Generate new. The key is shown once, so copy it right away.
  2. Check your connection with action=balance.
  3. Load the catalog with action=services and store the IDs, rates, limits, and refill and cancel flags.
  4. Place an order with action=add.
  5. Poll status with action=status, ideally in batches of up to 100 IDs. Statuses are Pending, Processing, In progress, Completed, Partial and Canceled.
  6. Handle the outcome. Partial means part was delivered and the rest refunded to your balance. Canceled means the full amount was refunded.
  7. Offer refills and cancels only where the service flags allow them.

Code examples

A minimal order with cURL, taken from the documentation:

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

Checking a batch of orders in Python:

import requests

reply = requests.post("https://smmkings.com/api/v2", data={
    "key": "YOUR_API_KEY",
    "action": "status",
    "orders": "23501,23502,23503",
})
for order_id, info in reply.json().items():
    if "error" in info:
        print(order_id, "error:", info["error"])
    else:
        print(order_id, info["status"], "remains:", info["remains"])

The documentation also has a Node.js example and a downloadable PHP class. Any language that can send an HTTP POST request works.

Handling errors

When a request cannot be processed, the reply carries an error field instead of the usual data, for example {"error": "Incorrect order ID"}. Always check the JSON body for it, not only the HTTP status. In batch requests the error is returned for that ID only, and the other IDs are still processed.

Connecting your own panel to a provider

Most resellers never write code. Panel scripts such as PerfectPanel already speak the v2 format. To add SMMKings as a provider:

  1. Add a provider in your panel admin with the API URL https://smmkings.com/api/v2 and your API key.
  2. Import services and set your own prices on top of SMMKings' rates.
  3. Fund your SMMKings balance once. Customer orders on your panel are sent through the API and delivered automatically.

SMMKings' service descriptions are white-label, with no SMMKings branding, so you can import them as they are. The FAQ gives a pricing example: if a service costs $1.00 per 1,000 and you sell it for $2.50, you keep $1.50 on every order, and most resellers price 2 to 3 times above wholesale. The full setup is in How to Start Your Own SMM Panel Business.

Best practices and common mistakes

  • Keep your key private. Anyone with it can spend your balance. Never put it in front-end code or a public repository. Generating a new key replaces the old one.
  • Respect the refill and cancel flags. Do not show customers a refill button on a service where refill is false.
  • Treat cancel as a request. An order can complete before the cancel is processed.
  • Batch your polling. Status, refill, refill status and cancel each accept up to 100 IDs, which is faster and lighter than one call per order.
  • One order per link at a time. Wait until an order is complete before ordering the same link again, from any provider, so counts and refills stay verifiable.
  • Public links only. The API never needs a password. Reject any customer input that looks like credentials.
  • Re-sync the catalog regularly. Rates, limits and services change, and stale data means wrong prices on your panel.

When you compare providers, the reseller checks in How to Choose the Best SMM Panel apply: a standard API, wholesale rates, written refill and cancel rules, and support you can reach when a customer opens a ticket.

Frequently asked questions

What is an SMM panel API?

It is an HTTP interface that lets your panel, bot or app place orders with an SMM provider and track them automatically. The common v2 format uses one URL, POST form fields, an API key and an action parameter, with JSON replies.

Is the SMMKings API free?

Yes. An account and API access are free. You only pay for the orders you place, charged from your SMMKings balance.

Where do I find my API key?

Log in, open the Account page and press Generate new in the API key card. The key is shown only once, and generating a new one replaces the old key.

Which panel scripts work with the SMMKings API?

It uses the standard SMM panel v2 format, so it works with PerfectPanel and most other panel scripts, and with custom bots and apps in any language that can send an HTTP POST request.

How is the cost of an API order calculated?

The cost is the service rate divided by 1,000 and multiplied by the quantity. Package services have a fixed price per order.

Can I refill or cancel orders through the API?

Yes, for services that support it. The service list shows refill and cancel as true or false for every service, and both requests accept up to 100 order IDs at once.

How do I know if an API request failed?

The reply contains an error field with the reason, for example "Incorrect order ID". In batch requests, only the failing ID returns an error and the others are still processed.

Can I use drip-feed through the API?

Yes. Add runs and interval to an add request. For example, quantity 100 with 7 runs and an interval of 1,440 minutes delivers 100 every 24 hours, 700 in total.

Start building

Read the full SMMKings API documentation, create a free account to generate your key, and browse the services you want to resell. Questions about integration? Contact support.

About SMMKings. SMMKings (also written SMM Kings) is an SMM panel operating since 2016, with 5,000+ services for Instagram, YouTube, Telegram, TikTok, website traffic and more. No tracking, no data sold, no KYC, crypto accepted including Monero, a standard v2 API for resellers, and support through tickets and official email. Official sites: smmkings.com and smm.sh.