SMM RED
  1. Guides
  2. Resellers

SMM Panel for Resellers: Connecting the API v2

How to connect an SMM panel API to your website, bot or panel script, avoid duplicate orders and build a reselling business on top of it with a clear markup.

Resellers 8 minutes
Contents7 steps
  1. 1How reselling SMM services works
  2. 2Connecting: endpoint, key and format
  3. 3What the SMM panel API can do: six actions
  4. 4Your first API order: a sample request
  5. 5Duplicate protection: idempotency_key
  6. 6Order statuses and syncing
  7. 7Markup, choosing services and refills for clients
One endpoint, one keyAll requests go to a single endpoint with the key and action parameters.
No duplicatesThe idempotency_key parameter stops an order from being created twice when a request is retried.
Your own markupThe price for your account comes in the rate field, so calculate your margin from it.
  1. How reselling SMM services works

    The model is simple: a client pays you, your system creates an order with the provider through the SMM panel API, and you keep the price difference. Your storefront can be your own website, a Telegram bot or a ready-made panel script where providers are connected in the API v2 format. In 2026 this format is still the common standard for SMM panels, so many scripts support it out of the box. To get started, you'll need:

    • A funded balance with the provider, which pays for the orders.
    • An API token and a server to store it on.
    • A list of services with your markup.
    • Clear rules for your clients on timing, refills and refunds.
  2. Connecting: endpoint, key and format

    All requests go to https://smm.red/api/v2. POST is the recommended method, and GET is kept for compatibility with older scripts. Every request has two required parameters: key with your token and action with the name of the action. Responses come in JSON, and if something goes wrong, the response contains an error field with a description.

    You create the token on the "Account" page with the "Generate API Token" button. It is shown only once, so save it in your server settings right away.

    Important: Keep the token on the server only. If it ends up in page code, a public repository or a chat, anyone can spend your balance. If you suspect a leak, click "Regenerate Token" on the "Account" page and replace the token on your side.
  3. What the SMM panel API can do: six actions

    • balance: the current account balance.
    • services: the list of services. Each one has an ID, name, type, category, social network, price per 1,000 in US dollars (rate), min and max limits, and refill and cancel flags.
    • add: a new order. service, link and quantity are required.
    • status: the status of a single order via order, or of up to 100 orders at once via orders, with the IDs separated by commas.
    • refill: a refill request for a completed order, if the service supports refill.
    • cancel: a cancellation request, also for up to 100 orders at a time.
    Tip: Don't maintain the service list by hand. Request services regularly and update prices, limits and the refill and cancel flags on your side: that way clients won't order something that is no longer available.
  4. Your first API order: a sample request

    Here is what an order for views on a Telegram post looks like. Each line is one request parameter:

    • key = your token
    • action = add
    • service = the service ID from the services response
    • link = https://t.me/channel_name/123
    • quantity = 1000
    • idempotency_key = shop-order-12345

    The response contains the ID of the new order, for example {"order": 23501}. Store it next to your client's order: you'll use this ID later to request the status, a refill or a cancellation. Some services have extra fields:

    • Custom comments (type Custom comments): the texts go into comments, one per line and no longer than 500 characters each. The quantity equals the number of lines.
    • Poll votes (type Poll): put the answer option number, counting from 0, in answer_number, and the number of votes you need in quantity.
    • Delayed start: delay sets how many minutes to wait before the order starts. Until then the order has the Delayed status.
  5. Duplicate protection: idempotency_key

    The costliest reseller mistake goes like this: a request is sent, the response is lost to a timeout, the script retries, and the order is created twice. idempotency_key protects you from this. Send a unique key with the order, for example the order number in your system. If the same request with the same key and the same parameters arrives again, the API returns the ID of the order it already created and doesn't charge you a second time.

    • Each new order needs a new key.
    • The same key with different parameters returns an error, not a second order.
    • The key is 1 to 128 characters long: Latin letters, digits, dot, hyphen, underscore and colon, and it is case-sensitive.
    • Without a key, every request creates a separate order, even if it's a retry.
    Tip: If the API asks you to retry a request, retry it with the same key and the same parameters.
  6. Order statuses and syncing

    The possible statuses are Pending, Delayed, Processing, In progress, Completed, Partial and Canceled. Three of them are final: Completed, Partial (partially completed) and Canceled. For orders with the Delayed status, the response also includes scheduled_at and delay_remaining: the start time and the number of minutes left until then.

    • Check statuses in batches with orders rather than one order per request.
    • Poll only active orders, every few minutes rather than every second.
    • For Partial and Canceled, look at the charge and remains fields: the final charge and the undelivered remainder. They make it easy to recalculate the amount for your client.
    • Handle the Insufficient balance error separately, check your balance with balance and top it up in advance.
  7. Markup, choosing services and refills for clients

    In the catalog there is a "Reseller price" column next to the regular price, and through the API the current price for your account comes in the rate field. Calculate your markup from it: your cost for an order is rate times the quantity, divided by 1,000. Add your percentage on top, plus a buffer for possible refunds. For reference, here are current prices in a few sections:

    • Start with a small set of services and run a minimum-quantity test order on each one.
    • To give clients realistic timeframes, go by the "Delivery" and "Speed / day" columns.
    • For followers, choose options with a mark in the "Refill" column, and factor possible drops into your price.
    • Make sure two orders never run on the same link at once. Service descriptions state this restriction, so your script has to wait for the first order to finish, even if two different clients sent the same link.

    Refill is easy to turn into a button for your clients: the script sends refill with the order ID if the service has refill set to true in the service list and the period from the description hasn't run out. Be upfront with clients that social networks remove some of the bought activity. Why this happens is explained in the guide Drops and refill, and all services with prices are in the Telegram catalog and the neighboring sections.

Pick your servicesCompare prices and the Reseller price column in the catalog
Open the catalog

FAQ

Where do I get an API key?

On the "Account" page: that's where the token is generated and, if needed, regenerated. Save it right away, since it isn't shown again.

Does the API work with a ready-made SMM panel script?

Yes, if the script supports providers in the API v2 format. Enter the endpoint address and your token in its settings.

What happens if my script sends an order twice?

With the same idempotency_key and the same parameters, the second request returns the first order's ID without charging you again. Without a key, two orders will be created.

How many orders can I check in one request?

Up to 100: pass the IDs separated by commas in the orders parameter. You can also cancel up to 100 orders at a time.

Do custom comments and polls work through the API?

Yes. The texts go into comments, one per line, and the poll answer option is set in answer_number, counting from zero.

Read next