SMMKings API: Reseller SMM Panel API v2

Place orders, track delivery, request refills and cancels, and read your balance from your own panel, bot or app. One endpoint, the standard SMM panel v2 format, JSON replies.

Get your API key Create free account

Automated delivery since 2016. Bitcoin, Monero and USDT accepted.

Quick Start

  • API URL: https://smmkings.com/api/v2
  • HTTP method: POST
  • Request: Form fields
  • Response format: JSON
  • Authentication: Your API key
  1. Create a free account: Sign up in a minute. You only pay for the orders you place.
  2. Generate your API key: Open the Account page and press Generate new. The key is shown once, so copy it and keep it safe.
  3. Send your first request: POST your key and an action to the API URL. Start with balance to check that everything works.

API Reference

Every request is a POST to the same URL. Send your API key as key and the action you want as action. Parameters go in the request body as regular form fields.

Service list

Returns every service you can order, with its ID, type, category, price and limits.

Parameters

  • key: Your API key
  • action: services

Example response

[{"service": 1, "name": "Followers", "type": "Default", "category": "First Category", "rate": "0.90", "min": "50", "max": "10000", "refill": true, "cancel": true}, {"service": 2, "name": "Comments", "type": "Custom Comments", "category": "Second Category", "rate": "8", "min": "10", "max": "1500", "refill": false, "cancel": true}]

Good to know: rate is the price per 1,000 units. type tells you which Add order parameters to send. refill and cancelshow whether the service accepts refill and cancel requests.

Add order

Creates an order and returns its ID. Every order needs the three parameters below. The rest depends on the type of the service, as shown in the service list.

Always required

  • key: Your API key
  • action: add
  • service: Service ID

Default

  • link: Link to page
  • quantity: Needed quantity
  • runs (optional): Runs to deliver
  • interval (optional): Interval in minutes

Package

  • link: Link to page

Custom Comments

  • link: Link to page
  • comments: Comments list separated by \r\n or \n

Custom Comments Package

  • link: Link to page
  • comments: Comments list separated by \r\n or \n

Poll

  • link: Link to page
  • quantity: Needed quantity
  • answer_number: Answer number of the poll

Subscriptions

  • username: Username
  • min: Quantity min
  • max: Quantity max
  • posts (optional): Limits the number of new (future) posts that are parsed and get an order. Without it, the subscription runs for an unlimited number of posts.
  • old_posts (optional): Number of existing posts that are parsed and get an order. Works when the service offers this option.
  • delay: Delay in minutes. Possible values: 0, 5, 10, 15, 20, 30, 40, 50, 60, 90, 120, 150, 180, 210, 240, 270, 300, 360, 420, 480, 540, 600
  • expiry (optional): Expiry date. Format d/m/Y

Web Traffic

  • link: Link to page
  • quantity: Needed quantity
  • runs (optional): Runs to deliver
  • interval (optional): Interval in minutes
  • country: Country code or full country name. Format: "US" or "United States"
  • device: 1 = Desktop, 2 = Mobile (Android), 3 = Mobile (iOS), 4 = Mixed (Mobile), 5 = Mixed (Mobile & Desktop)
  • type_of_traffic: 1 = Google Keyword, 2 = Custom Referrer, 3 = Blank Referrer
  • google_keyword: Required if type_of_traffic = 1
  • referring_url: Required if type_of_traffic = 2

Example response

{"order": 23501}

Drip-feed: add runs and interval to split an order into repeated deliveries. Quantity 100 with 7 runs and an interval of 1440 minutes delivers 100 every 24 hours, 700 in total.

Order status

Returns the charge, start count, status and remaining quantity of one order, or of up to 100 orders in a single request.

One order

  • key: Your API key
  • action: status
  • order: Order ID

Example response

{"charge": "0.27819", "start_count": "3572", "status": "Partial", "remains": "157", "currency": "USD"}

Several orders

  • key: Your API key
  • action: status
  • orders: Order IDs (separated by a comma, up to 100 IDs)

Example response

{"1": {"charge": "0.27819", "start_count": "3572", "status": "Partial", "remains": "157", "currency": "USD"}, "10": {"error": "Incorrect order ID"}, "100": {"charge": "1.44219", "start_count": "234", "status": "In progress", "remains": "10", "currency": "USD"}}

Order statuses

Pending, Processing, In progress, Completed, Partial, Canceled

Refill

Requests a refill for one or more orders, then lets you follow each refill by its ID. Available for services that show refillas true in the service list.

Create refill

  • key: Your API key
  • action: refill
  • order: Order ID

Example response

{"refill": "1"}

Create multiple refill

  • key: Your API key
  • action: refill
  • orders: Order IDs (separated by a comma, up to 100 IDs)

Example response

[{"order": 1, "refill": 1}, {"order": 2, "refill": 2}, {"order": 3, "refill": {"error": "Incorrect order ID"}}]

Get refill status

  • key: Your API key
  • action: refill_status
  • refill: Refill ID

Example response

{"status": "Completed"}

Get multiple refill status

  • key: Your API key
  • action: refill_status
  • refills: Refill IDs (separated by a comma, up to 100 IDs)

Example response

[{"refill": 1, "status": "Completed"}, {"refill": 2, "status": "Rejected"}, {"refill": 3, "status": {"error": "Refill not found"}}]

Cancel

Sends a cancel request for up to 100 orders. Available for services that show cancel as true in the service list.

Parameters

  • key: Your API key
  • action: cancel
  • orders: Order IDs (separated by a comma, up to 100 IDs)

Example response

[{"order": 9, "cancel": {"error": "Incorrect order ID"}}, {"order": 2, "cancel": 1}]

Note: a cancel is a request, not an instant stop. An order can complete before the request is processed.

Balance

Returns your current balance and its currency.

Parameters

  • key: Your API key
  • action: balance

Example response

{"balance": "100.84292", "currency": "USD"}

Errors

When a request cannot be processed, the reply carries an error field with the reason in place of the usual data. Always check the JSON body for it. In batch requests the error is returned for that ID only, so the other IDs are still processed.

Example error

{"error": "Incorrect order ID"}

Code Examples

Replace YOUR_API_KEY with your own key. Any language that can send an HTTP POST request works the same way.

cURL: add an order

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"

Python: read your balance

import requests

reply = requests.post("https://smmkings.com/api/v2", data={

"key": "YOUR_API_KEY",

"action": "balance",

})

print(reply.json())

Node.js: check an order

const reply = await fetch("https://smmkings.com/api/v2", {

method: "POST",

body: new URLSearchParams({

key: "YOUR_API_KEY",

action: "status",

order: "23501",

}),

});

console.log(await reply.json());

PHP: ready-made class

Download the PHP example class

Connect Your Own Panel

The API follows the standard SMM panel format, so PerfectPanel and most panel scripts connect without custom code.

  1. Add SMMKings as a provider: In your panel admin, add a provider with the API URL above and your API key.
  2. Import services: Pick the services you want to resell and set your own prices on top of our rates.
  3. Fund your balance once: Orders from your customers are sent through the API and delivered automatically.

White-label: service descriptions carry no SMMKings branding, so you can import them as they are. New to reselling? Read how to start an SMM panel.

Good to Know

  • Prices are per 1,000: Cost of an order = rate / 1,000 x quantity. Package services have a fixed price per order.
  • Batch your requests: Status, refill, refill status and cancel each accept up to 100 IDs in one call.
  • Check refill and cancel first: The service list tells you for every service whether refill and cancel are supported.
  • Keep your key private: Anyone with the key can spend your balance. Generating a new key replaces the old one.
  • Public links only: The API never needs a password. Send the public link to the post, profile, video or website.
  • One order per link at a time: Wait until an order is completed before ordering the same link again, so counts stay verifiable.

Frequently Asked Questions

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, so copy it right away. Generating a new key replaces the old one.

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.

Which panel scripts work with the API?

The API 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 price of an order calculated?

Each service has a rate, which is the price per 1,000 units. The cost of an order is the 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 a request failed?

The reply contains an error field with the reason, for example "Incorrect order ID". In batch requests the error is returned for that ID only, and the other IDs are still processed.

Start Building With the SMMKings API

Create a free account, generate your key and send your first request in minutes.

Get your API key Browse services

Questions about the API? Contact support.