API Docs – SMM Panel API v2

HTTP Method POST
API URL https://kingofsmm.com/api/v2
Response format JSON
Download Examples .php

Quick start

1 · Get your keyYour API key is shown above when you are logged in.
2 · Pick a serviceCall services once and cache the list. Use the service ID in your orders.
3 · Place and trackCall add, save the returned order ID, then check it with status.

Common errors

ResponseWhat it means / what to do
{"error":"Invalid API key"}The key is missing, wrong or was regenerated. Copy it again from this page and send it as the key parameter in a POST request.
{"error":"Incorrect request"}The action value or a required parameter is missing or misspelled. Check the parameter names below and use POST, not GET.
{"error":"…"} on addUsually a low balance, a disabled service or a quantity outside the service min/max. Check balance, refresh your services list and use its min / max values.

Good practice

  • Cache the services list and refresh it a few times a day. Prices, min/max and availability can change.
  • Check order status every 5–10 minutes at most. Use the multiple status action to check many orders in one request.
  • Always save the order ID returned by add and include it when you contact support.
  • For long-running setups, look for the Stable and Fixed API Services categories on the services page.

Action: Service List

Parameters Description
key Your API key
action Services

Example response

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

Action: Add Order

Example response

{
    "order": 23501
}

Action: Order Status

Parameters Description
key Your API key
action Status
order Order ID

Example response

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

Action: Multiple Orders Status

Parameters Description
key Your API key
action Status
orders Order IDs separated by comma

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"
    }
}

Action: User Balance

Parameters Description
key Your API key
action Balance

Example response

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