Panel owners
Resellers who sell services bought from a larger provider and want orders forwarded without touching them.
From API key to automatic orders, with live tools, sample code and a reseller margin calculator
Selling social media services by hand stops working once orders arrive faster than you can copy them. An SMM panel API lets your own website, reseller panel or Telegram bot send orders to a provider automatically, check their status and request refills at any hour. This beginner-friendly guide shows how to use SMM panel API features from your first key to your first order. It covers the six main actions, example requests and replies, PHP and Python code, connecting a provider to your panel script and how resellers earn a profit. The full SMM panel API documentation, with exact parameters, lives on our API page.
An API, short for application programming interface, is simply an agreed way for two systems to exchange messages. In an SMM panel API your system sends a request such as “add 1,000 members to this link”, and the provider answers with an order ID. Later you ask about that ID and receive progress information. Every message travels as plain text, and the replies come back as JSON, which almost any language can read.
status, refill result and balance.If you place more than a handful of orders, an API probably saves you time.
Resellers who sell services bought from a larger provider and want orders forwarded without touching them.
Teams placing many client orders each day, who save hours by sending them from a spreadsheet or dashboard.
Sellers who run a shop inside Telegram. Our Telegram bot growth guide shows what to sell.
Builders of growth tools and dashboards who need live statuses and balances inside their own product.
New to the whole idea of panels? Start with how SMM panels work, then return here for the technical side.
Getting access takes three short steps. First create a free SMM Hub Panel account, or simply log in with the form above. Second, add funds to your balance, since API orders draw from it. Third, open the API page and copy your key.
Most panels, ours included, expose one endpoint, /api/v2. What you want to do is decided by the action parameter, so there is no maze of addresses to remember. Six actions cover almost everything a reseller needs.
servicesLists every service with its ID, price, minimum and maximum.
addPlaces a new order for a service, a link and a quantity.
statusReturns progress for one order ID.
refillAsks for a refill on eligible, refill-backed orders.
balanceShows how much money is left in your account.
cancelCancels an order where the service supports it.
Choose an action and fill the boxes. The builder writes the request body for you, using a placeholder instead of a real key.
key = YOUR_API_KEY action = add service = 1234 link = https://t.me/yourchannel quantity= 1000
Send it as an HTTP POST to https://smmhubpanel.com/api/v2.
Call action=services first to get service IDs, prices and limits, then send an add request like the one below. When everything is valid you receive an order ID. For Telegram services the link has to be public, so read public vs private Telegram channels before you send anything.
POST https://smmhubpanel.com/api/v2 key = YOUR_API_KEY action = add service = 1234 // ID from action=services link = https://t.me/yourchannel quantity = 1000
{ "order": 23501 }Once an order exists, the order ID is your handle on it. Send it with action=status and you receive the charge, the starting count, the current state and how much remains. For services backed by refill, send action=refill with the same ID if the count falls inside the covered window. To read the statuses, see how to track an SMM panel order and what refill is in an SMM panel.
key = YOUR_API_KEY
action = status
order = 23501
// reply
{ "charge": "0.11", "start_count": "3572", "status": "In progress", "remains": "157", "currency": "USD" }Any language that can send an HTTP POST will do. The PHP version below places an order with cURL, and the Python one reads a status. Replace the key, service ID and link with your own, and keep the key in a server-side file rather than in the script itself.
<?php
$post = [
'key' => 'YOUR_API_KEY',
'action' => 'add',
'service' => 1234,
'link' => 'https://t.me/yourchannel',
'quantity' => 1000,
];
$ch = curl_init('https://smmhubpanel.com/api/v2');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = json_decode(curl_exec($ch), true);
echo $result['order'] ?? $result['error'];import requests
r = requests.post("https://smmhubpanel.com/api/v2", data={
"key": "YOUR_API_KEY",
"action": "status",
"order": 23501,
})
print(r.json())If you already run an SMM reseller panel script, connecting us as a provider needs no coding at all. The script talks to the API for you, so your only work is choosing what to sell and at what price.
Open the Providers area of your panel script and enter the API URL https://smmhubpanel.com/api/v2 with your key.
Pull in the services you want to sell, for example our Telegram SMM panel range.
Choose your own rates, names and descriptions so customers see your brand.
Enable automatic order forwarding and status sync, then place a small test order.
Enter what you pay and what you charge per 1,000 units, plus the size of an order.
Fill in all three boxes to see the result.
Your profit is the gap between what a customer pays you and what you pay us. As an illustration, buying at $0.11 per 1,000 and selling at $0.25 leaves $0.14 per 1,000, so a 20,000-unit order earns about $2.80. Those figures are an example only. Always read the live price in your account, and set rates that suit your market. Popular items to resell on Telegram include members, post views, reactions and poll votes.
When a request fails, the reply carries an error message in its error field, which the PHP sample above prints. Read it before retrying, because most failures come from one of the four causes below.
Resellers work from every region, so topping up is flexible. Balances are in US dollars, and you can add funds by card, by PayPal, through crypto options such as Binance Pay, Cryptomus and CoinPayments, or with a local wallet like Easypaisa or JazzCash.
It is a way for your own website, panel or bot to place and track orders on another SMM panel automatically, without logging in and ordering by hand.
Log in and open the API page. Your key is shown there. Keep it secret, because anyone with the key can spend your balance.
Yes. Most panel scripts let you add a provider with an API URL and key. Add SMM Hub Panel, import services, set your prices and orders forward automatically.
Yes, for services that support refill, using the refill action. Learn more in what refill is in an SMM panel.
There is no separate API fee. You pay only for the orders you place, at the prices shown in your account.
New API orders fail with an error until you add funds. Check the balance action before large batches.
Any language that can send an HTTP POST and read JSON, including PHP, Python and Node.js.
Every few minutes is plenty for most shops. Constant polling adds load without giving customers anything useful.
Yes. The API works the same from any country, and funds can be added in several ways.
Get your key, add funds and connect SMM Hub Panel to your own panel or bot.