Latest:

🌟 Over 12 Million Orders and Counting! Join the most used SMM panel in the world—are you in?

More Details

Dear Customer, We have launched Video KYC facility for New customer to open account

Who We Are

Topclassdigit is the most affordable SMM panel in Africa, offering fast and reliable social media marketing services. We provide followers, likes, subscribers, impressions, website traffic, reel views, story views, live video boosts, and more — all at lightning speed. Trusted by over 100,000 customers globally. In today’s competitive market, reaching your audience effectively is essential. Even the best products and services can go unnoticed without the right marketing. That’s where we come in. Our cost-effective packages are designed to meet your unique needs and help you grow. Whether you're a small business or a large brand, we’re here to support your success and help you gain loyal customers.

We help creators, influencers, and businesses build strong social media presence using smart, organic strategies and proven marketing campaigns.

From real followers and likes to views and shares, we help you stand out where your audience spends their time.

Our Company

Our professional SMM panel services are ready whenever you are. With instant starts and fast delivery, we make sure your orders are completed efficiently. Register today and start growing with us. We support all major digital payment methods and offer a fully automated API to connect with other SMM panel owners worldwide.

Developers

API Documentation

Connect your own SMM panel, bot or app to Topclassdigit. One endpoint, simple JSON, the same format as every major panel script, so most scripts work by changing only the URL and key.

v2Version
JSONResponses
USDPricing
120/minPer key

Introduction

The Topclassdigit Reseller API lets you list services, place orders and track them automatically. It is a plain HTTPS API: you send a POST request with your key and an action, and you get JSON back.

Base URL

https://topclassdigit.com/api/v2

Format

Send application/x-www-form-urlencoded (or a JSON body). Every response is JSON in UTF-8.

Method

POST only. GET is not accepted for actions, so your key never ends up in server logs or browser history.

Compatible by design. The request and response format follows the standard SMM panel API, so you can add Topclassdigit as a provider in any panel script using the URL and key above.

Quick start

  1. Create an account and sign up (or sign in).
  2. Add funds to your wallet from the dashboard (Add funds).
  3. Generate your API key in the dashboard under API access. It is shown once, copy it somewhere safe.
  4. Make your first call, check your balance:
cURL
curl -X POST https://topclassdigit.com/api/v2 \
  -d "key=YOUR_API_KEY" \
  -d "action=balance"
JSON
{"balance":"25.0000","currency":"USD"}

Then fetch the service list, pick a service ID, and place an order.

Authentication

Every request must contain your API key in the key field. Keys are 40 characters (letters a-f and digits).

  • Keep it secret. Use it only from your server. Never put it in a mobile app, browser script or public repository.
  • Restrict by IP. In API access you can allow only your server IPs. Requests from any other IP are rejected with ip_not_allowed.
  • Rotate if exposed. Generate a new key at any time. The old key stops working immediately.
  • We store only a hash of your key, so we cannot show it again. If you lose it, generate a new one.

Rate limits

Each key can make 120 requests per minute (and 600 per minute per IP address). Responses include headers so you can pace yourself:

HeaderMeaning
X-RateLimit-LimitRequests allowed per minute
X-RateLimit-RemainingRequests left in the current window
X-RateLimit-ResetSeconds until the window resets

When exceeded you receive HTTP 429 with {"error":"Rate limit exceeded","code":"rate_limited"}. Wait for the reset time and retry. Use the multi-status call (up to 100 orders per request) instead of one call per order.

Pricing & currency

All amounts in the API are in US dollars. rate is the price for 1,000 units. The charge for an order is:

charge = rate ÷ 1000 × quantity

Example: rate 0.9000 and quantity 2500 charges $2.2500. The amount is deducted from your wallet when the order is accepted. If the order cannot be delivered, it is refunded to your wallet automatically (the whole amount, or the undelivered part for Partial orders).

Service list

POSThttps://topclassdigit.com/api/v2action=services

Returns every service you can order, with its price, limits and options.

Parameters

ParameterRequiredDescription
keyYesYour API key.
actionYesservices

Example request

cURL
curl -X POST https://topclassdigit.com/api/v2 \
  -d "key=YOUR_API_KEY" -d "action=services"

Example response

JSON
[
  {
    "service": 12,
    "name": "Instagram Followers | Real | Refill 30D",
    "type": "Default",
    "category": "Instagram Followers",
    "rate": "1.2000",
    "min": "50",
    "max": "50000",
    "refill": true,
    "cancel": false,
    "average_time": "2 hours"
  }
]

Cache this list (for example 10 minutes) instead of calling it for every order. A service of type Custom Comments needs the comments parameter when ordering.

Add order

POSThttps://topclassdigit.com/api/v2action=add

Places a new order and returns its ID. The cost is deducted from your balance immediately.

Parameters

ParameterRequiredDescription
keyYesYour API key.
actionYesadd
serviceYesService ID from the service list.
linkYesFull link to the profile or post (or @username where the service allows it). Must be public.
quantityYesBetween the service min and max. Ignored for Custom Comments (counted from the comments).
commentsNoFor Custom Comments services only: one comment per line.
idempotency_keyNoOptional unique value (max 64 characters: letters, digits, -, _). If you send the same key again within 24 hours you get the same order back and are not charged twice. Use it to make retries safe.

Example request

cURL
curl -X POST https://topclassdigit.com/api/v2 \
  -d "key=YOUR_API_KEY" -d "action=add" \
  -d "service=12" -d "quantity=1000" \
  -d "link=https://instagram.com/yourpage" \
  -d "idempotency_key=order-1001"

Example response

JSON
{"order":23501}
Do not place a second order on the same link while the first one is still running. Wait for it to finish, otherwise delivery can be affected.

Order status

POSThttps://topclassdigit.com/api/v2action=status

Returns the state of one order.

Parameters

ParameterRequiredDescription
keyYesYour API key.
actionYesstatus
orderYesOrder ID returned by add.

Example request

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

Example response

JSON
{
  "charge": "1.2000",
  "start_count": "3572",
  "status": "In progress",
  "remains": "157",
  "currency": "USD"
}

start_count is the follower/like count when delivery started and remains is what is left to deliver. See order statuses.

Multiple orders status

POSThttps://topclassdigit.com/api/v2action=status

Check up to 100 orders in one request by sending orders (comma separated). Orders that do not exist or are not yours return an error for that ID only.

Parameters

ParameterRequiredDescription
keyYesYour API key.
actionYesstatus
ordersYesOrder IDs separated by commas, for example 23501,23502,99999.

Example request

cURL
curl -X POST https://topclassdigit.com/api/v2 \
  -d "key=YOUR_API_KEY" -d "action=status" \
  -d "orders=23501,23502,99999"

Example response

JSON
{
  "23501": {"charge":"1.2000","start_count":"3572","status":"Completed","remains":"0","currency":"USD"},
  "23502": {"charge":"0.4500","start_count":"0","status":"Pending","remains":"500","currency":"USD"},
  "99999": {"error":"Incorrect order ID","code":"order_not_found"}
}

Cancel orders

POSThttps://topclassdigit.com/api/v2action=cancel

Asks the provider to cancel orders that are still Pending or Processing (only for services where cancel is true). When the cancellation is confirmed, the order becomes Canceled and the amount is refunded to your wallet automatically.

Parameters

ParameterRequiredDescription
keyYesYour API key.
actionYescancel
ordersYesOrder IDs separated by commas (max 100).

Example request

cURL
curl -X POST https://topclassdigit.com/api/v2 \
  -d "key=YOUR_API_KEY" -d "action=cancel" -d "orders=23501,23502"

Example response

JSON
[
  {"order": 23501, "cancel": 1},
  {"order": 23502, "cancel": {"error":"Cancellation is not available for this order","code":"cancel_unavailable"}
]

Create refill

POSThttps://topclassdigit.com/api/v2action=refill

Requests a refill for a Completed order whose service has refill: true. One refill request per order every 24 hours.

Parameters

ParameterRequiredDescription
keyYesYour API key.
actionYesrefill
orderYesOrder ID.

Example request

cURL
curl -X POST https://topclassdigit.com/api/v2 \
  -d "key=YOUR_API_KEY" -d "action=refill" -d "order=23501"

Example response

JSON
{"refill":"8814"}

Refill status

POSThttps://topclassdigit.com/api/v2action=refill_status

Returns the state of a refill created with the refill action.

Parameters

ParameterRequiredDescription
keyYesYour API key.
actionYesrefill_status
refillYesRefill ID returned by refill.

Example request

cURL
curl -X POST https://topclassdigit.com/api/v2 \
  -d "key=YOUR_API_KEY" -d "action=refill_status" -d "refill=8814"

Example response

JSON
{"status":"Completed"}

Balance

POSThttps://topclassdigit.com/api/v2action=balance

Returns your current wallet balance in USD.

Parameters

ParameterRequiredDescription
keyYesYour API key.
actionYesbalance

Example request

cURL
curl -X POST https://topclassdigit.com/api/v2 \
  -d "key=YOUR_API_KEY" -d "action=balance"

Example response

JSON
{"balance":"25.0000","currency":"USD"}

My orders

POSThttps://topclassdigit.com/api/v2action=orders

Lists your latest orders, newest first. Handy for reconciling your own records.

Parameters

ParameterRequiredDescription
keyYesYour API key.
actionYesorders
limitNoHow many to return (1-100, default 25).
offsetNoSkip this many orders (for paging).
statusNoOnly orders with this status, for example Completed.

Example request

cURL
curl -X POST https://topclassdigit.com/api/v2 \
  -d "key=YOUR_API_KEY" -d "action=orders" \
  -d "limit=2" -d "status=Completed"

Example response

JSON
[
  {
    "order": 23501, "service": 12, "link": "https://instagram.com/yourpage",
    "quantity": "1000", "charge": "1.2000", "start_count": "3572",
    "status": "Completed", "remains": "0", "currency": "USD",
    "created": "2026-10-30T14:05:11+00:00"
  }
]

Order statuses

StatusMeaningCharged?
PendingReceived and waiting to start. (An order that is being sent to delivery also shows as Pending.)Yes
ProcessingDelivery is being prepared.Yes
In progressDelivery has started. remains shows what is left.Yes
CompletedFully delivered.Yes
PartialOnly part was delivered. The undelivered share is refunded automatically.Delivered part only
CanceledCould not be delivered or was canceled. Fully refunded.No

Errors

Errors return a JSON object with a human-readable error and a stable code you can use in your code. Like other panels, errors normally come with HTTP 200; rate limiting uses 429. Always check for an error field.

JSON
{"error":"Insufficient balance. Please add funds to continue.","code":"insufficient_funds"}
codeMeaningWhat to do
invalid_keyMissing or wrong API key.Check the key; generate a new one if lost.
api_disabledAPI is switched off (site-wide or for your account).Enable it in API access or contact support.
ip_not_allowedRequest came from an IP not in your allow-list.Add the server IP in API access.
rate_limitedToo many requests (HTTP 429).Wait for X-RateLimit-Reset seconds.
invalid_actionUnknown action.Use one of the documented actions.
invalid_serviceService ID does not exist or is unavailable.Refresh the service list.
invalid_linkLink missing or malformed.Send the full public URL.
invalid_quantityOutside the service min/max (or no comments).Respect min and max.
duplicate_orderAn active order already exists for this link and service.Wait until it finishes.
insufficient_fundsWallet balance is too low.Add funds, then retry.
orders_pausedOrdering is temporarily paused (maintenance).Retry in a few minutes.
order_failedThe order could not be processed; your balance was refunded.Check the link, then retry.
order_not_foundOrder ID unknown or not yours.Check the ID.
cancel_unavailableOrder cannot be canceled.Only Pending/Processing orders on cancelable services.
refill_unavailable / refill_limit / refill_not_foundRefill not possible, already requested today, or unknown refill ID.See the Refill sections.

Code examples

A small helper in your language, then place an order and read its status.

PHP
<?php
function smm(string $action, array $params = []): array {
    $ch = curl_init('https://topclassdigit.com/api/v2');
    curl_setopt_array($ch, [
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_POST => true,
        CURLOPT_TIMEOUT => 30,
        CURLOPT_POSTFIELDS => http_build_query(['key' => getenv('SMM_API_KEY'), 'action' => $action] + $params),
    ]);
    $res = json_decode(curl_exec($ch), true);
    if (isset($res['error'])) throw new RuntimeException($res['error'] . ' [' . ($res['code'] ?? '') . ']');
    return $res;
}

$order = smm('add', ['service' => 12, 'link' => 'https://instagram.com/yourpage', 'quantity' => 1000, 'idempotency_key' => 'order-1001']);
print_r(smm('status', ['order' => $order['order']]));
Python
import os, requests

API = "https://topclassdigit.com/api/v2"
KEY = os.environ["SMM_API_KEY"]

def smm(action, **params):
    r = requests.post(API, data={"key": KEY, "action": action, **params}, timeout=30)
    data = r.json()
    if isinstance(data, dict) and "error" in data:
        raise RuntimeError(f"{data['error']} [{data.get('code')}]")
    return data

order = smm("add", service=12, link="https://instagram.com/yourpage", quantity=1000, idempotency_key="order-1001")
print(smm("status", order=order["order"]))
Node.js 18+
const API = "https://topclassdigit.com/api/v2";
const KEY = process.env.SMM_API_KEY;

async function smm(action, params = {}) {
  const res = await fetch(API, {
    method: "POST",
    body: new URLSearchParams({ key: KEY, action, ...params }),
  });
  const data = await res.json();
  if (data && data.error) throw new Error(`${data.error} [${data.code}]`);
  return data;
}

const order = await smm("add", { service: 12, link: "https://instagram.com/yourpage", quantity: 1000, idempotency_key: "order-1001" });
console.log(await smm("status", { order: order.order }));
cURL
# list services
curl -X POST https://topclassdigit.com/api/v2 -d "key=$SMM_API_KEY" -d "action=services"

# place an order
curl -X POST https://topclassdigit.com/api/v2 -d "key=$SMM_API_KEY" -d "action=add" \
  -d "service=12" -d "quantity=1000" -d "link=https://instagram.com/yourpage"

# check it
curl -X POST https://topclassdigit.com/api/v2 -d "key=$SMM_API_KEY" -d "action=status" -d "order=23501"

Best practices

Cache services

Prices and limits change rarely. Cache the list for several minutes and validate quantity against min/max before ordering.

Retry safely

Send an idempotency_key with every order. If your request times out, retry with the same key and you will never be charged twice.

Poll politely

Check statuses every 1-5 minutes using the 100-orders-per-request call. Stop polling once an order is Completed, Partial or Canceled.

Handle every status

Treat Partial and Canceled as normal outcomes: the refund is automatic, update your own records accordingly.

Protect your key

Store it in an environment variable, restrict it to your server IPs, and rotate it if anyone who had access leaves.

Check for errors first

Because errors come with HTTP 200, always test for an error field before reading the result.

API tester

Try the API without writing code. Requests go straight from your browser to this API. Add order places a real order and charges your wallet.

Response
Press "Send request" to see the response.

FAQ

Is there a sandbox / test mode?

No separate sandbox. Use the cheapest service with the minimum quantity to test, or call balance and services, which cost nothing.

Can I use my own currency?

The API always works in USD. Your dashboard can show NGN, GHS and others, but API amounts, rates and balance are USD.

How fast do orders start?

Orders are sent to delivery immediately. If our provider is briefly unavailable the order is held and retried automatically for up to 30 minutes, then refunded if it still cannot be delivered.

I was charged but the order failed.

Failed and canceled orders are refunded to your wallet automatically. Check your transactions in the dashboard.

Can I resell with my own prices?

Yes. Add our services to your panel with your own markup. Your end customers never see our prices or key.

My key stopped working.

Check that API access is enabled and that your server IP is in the allow-list under API access. If you generated a new key, the old one is disabled.

Changelog

DateChange
Oct 2026v2.1 - Added cancel, refill_status, orders; idempotency_key for safe retries; machine-readable code on errors; rate-limit headers; per-key IP allow-list; API request log in your dashboard.
Earlierv2.0 - services, add, status (single and multiple), balance, refill.

Need help integrating?

Our team answers integration questions every day.