SMM Panel Reseller API v2 Documentation

Integrate your panel, storefront, or automation scripts with SMM Panel over standard SMM API v2 POST requests with USD 8-decimal precision and optional idempotency.

SMM API v2Base URL https://smm.kdanish.com/api/v2

Overview

All SMM Panel Reseller API v2 actions are sent as HTTP POST requests to the single /api/v2 endpoint. Both application/x-www-form-urlencoded (standard SMM panel format) and application/json request bodies are accepted.

HTTP MethodPOST
Content Typesapplication/x-www-form-urlencoded · application/json
Response FormatJSON · HTTP 200 OK
Currency & PrecisionUSD (8 decimals)

Authentication

Every /api/v2 request must include your API key in the key parameter inside the POST body.

  • Pass your secret API key as the key parameter in the form or JSON body.
  • Keys use the 69-character format smmp_<64 lowercase hex characters>. Store keys securely and never embed them in client-side code.
  • Keys are verified via SHA-256 constant-time hash comparison. Revoked keys immediately return "Invalid API key".
  • Only active customer and reseller accounts may use /api/v2; suspended or staff accounts are rejected with "Invalid API key".
Create, rotate, or revoke API keys in Account Settings ->

Rate Limits

Requests are rate-limited per API key over a 60-second window according to your reseller tier or custom override.

Default limit
60 / min
per key
Platinum tier
600 / min
per key
Status batch
100
order IDs per call
  • Default limit for standard and Bronze accounts: 60 requests per minute.
  • Wholesale reseller tiers scale limits up to 120 (Silver), 300 (Gold), and 600 (Platinum) requests per minute.
  • Authenticated responses include X-RateLimit-Limit and X-RateLimit-Remaining headers.
  • Exceeding your per-minute quota returns HTTP 200 with {"error": "Rate limit exceeded"}.

IP Allowlist

Restrict each API key to approved server IP addresses or CIDR subnets for defense in depth.

  • Supports individual IPv4 and IPv6 addresses as well as CIDR ranges (for example 203.0.113.5, 198.51.100.0/24, or 2001:db8::/32).
  • Leave the allowlist empty to permit requests from any IP. When one or more entries are configured, unmatched or missing client IPs fail closed with "IP address is not allowed".
  • Up to 20 allowlist entries per key by default (configurable up to 100).
Configure per-key IP allowlists in Account Settings ->

Errors Reference

Per standard SMM API v2 convention, API errors return HTTP 200 OK with a JSON object containing an error string.

{
  "error": "Invalid API key"
}
Error String
HTTP Status
When Returned
Invalid API key200Key is missing, malformed, unknown, revoked, or belongs to a suspended or staff account.
IP address is not allowed200Client IP does not match any entry in the API key's configured IP/CIDR allowlist.
Rate limit exceeded200Per-key requests-per-minute quota exhausted.
Invalid action200Missing or unrecognized action parameter, or malformed request body.
Incorrect order ID200Order UUID is malformed, does not exist, or belongs to another user.
Incorrect refill ID200Refill UUID is malformed, does not exist, or belongs to another user.
Incorrect service ID200Service UUID is malformed, inactive, missing, or unmapped.
Not enough balance200Wallet balance is insufficient to cover the calculated order charge.
Too many order IDs (maximum 100)200More than 100 comma-separated IDs passed in orders.
Invalid <field>: must be an integer / Invalid idempotency_key200Numeric parameter (quantity, runs, interval, min, max, posts, delay, answer_number) is invalid, or idempotency_key exceeds 128 characters.
This service does not support refills.200The service has refill disabled (refillDays <= 0).
Only completed or partial orders are eligible for refill.200Order status is not Completed or Partial.
The refill eligibility window for this order has expired.200Order completion timestamp plus refill window has elapsed.
A refill request is already open for this order.200A Pending or Processing refill already exists for this order.
Cancellation is not allowed for this service.200The service does not allow cancellation.
Order is not in a cancellable status.200Order has already reached In progress, Completed, Partial, Canceled, or Failed.
Internal error200Unexpected server error while processing the request.
Invalid API key
HTTP Status200
When ReturnedKey is missing, malformed, unknown, revoked, or belongs to a suspended or staff account.
IP address is not allowed
HTTP Status200
When ReturnedClient IP does not match any entry in the API key's configured IP/CIDR allowlist.
Rate limit exceeded
HTTP Status200
When ReturnedPer-key requests-per-minute quota exhausted.
Invalid action
HTTP Status200
When ReturnedMissing or unrecognized action parameter, or malformed request body.
Incorrect order ID
HTTP Status200
When ReturnedOrder UUID is malformed, does not exist, or belongs to another user.
Incorrect refill ID
HTTP Status200
When ReturnedRefill UUID is malformed, does not exist, or belongs to another user.
Incorrect service ID
HTTP Status200
When ReturnedService UUID is malformed, inactive, missing, or unmapped.
Not enough balance
HTTP Status200
When ReturnedWallet balance is insufficient to cover the calculated order charge.
Too many order IDs (maximum 100)
HTTP Status200
When ReturnedMore than 100 comma-separated IDs passed in orders.
Invalid <field>: must be an integer / Invalid idempotency_key
HTTP Status200
When ReturnedNumeric parameter (quantity, runs, interval, min, max, posts, delay, answer_number) is invalid, or idempotency_key exceeds 128 characters.
This service does not support refills.
HTTP Status200
When ReturnedThe service has refill disabled (refillDays <= 0).
Only completed or partial orders are eligible for refill.
HTTP Status200
When ReturnedOrder status is not Completed or Partial.
The refill eligibility window for this order has expired.
HTTP Status200
When ReturnedOrder completion timestamp plus refill window has elapsed.
A refill request is already open for this order.
HTTP Status200
When ReturnedA Pending or Processing refill already exists for this order.
Cancellation is not allowed for this service.
HTTP Status200
When ReturnedThe service does not allow cancellation.
Order is not in a cancellable status.
HTTP Status200
When ReturnedOrder has already reached In progress, Completed, Partial, Canceled, or Failed.
Internal error
HTTP Status200
When ReturnedUnexpected server error while processing the request.
POST

Services List

action=services

Returns all active services with your effective reseller rate per 1,000 in USD (formatted as an 8-decimal string), limits, and refill/cancel flags.

Parameter
Type
Required
Description
keystringRequiredYour API key (smmp_<64 hex>).
actionstring ("services")RequiredSet to "services".
key
Typestring
RequiredRequired
DescriptionYour API key (smmp_<64 hex>).
action
Typestring ("services")
RequiredRequired
DescriptionSet to "services".
Example request (application/x-www-form-urlencoded)
curl -X POST 'https://smm.kdanish.com/api/v2' \
  -d 'key=YOUR_RESELLER_API_KEY' \
  -d 'action=services'
Example JSON response (200 OK) 200
[
  {
    "service": "01950000-0000-7000-8000-000000000001",
    "name": "Instagram Followers [Real]",
    "type": "Default",
    "category": "Instagram - Followers",
    "rate": "2.40000000",
    "min": 100,
    "max": 50000,
    "refill": true,
    "cancel": true
  }
]
POST

Add Order

action=add

Places a new order using the service's configured order type. Charges are debited atomically from your USD wallet.

Parameters by Order Type

The required parameters depend on the selected service's type field from action=services.

Standard link + quantity order for followers, likes, views, or subscribers.

  • DefaultRequired: service, link, quantity
  • Custom CommentsRequired: service, link, comments
  • MentionsRequired: service, link, usernames
  • PollRequired: service, link, quantity, answer_number
  • PackageRequired: service, link
  • SubscriptionsRequired: service, username, min, max (optional: posts, delay, expiry)
  • Drip-feedRequired: service, link, quantity, runs, interval
Parameter
Type
Required
Description
keystringRequiredYour API key (smmp_<64 hex>).
actionstring ("add")RequiredSet to "add".
serviceUUIDRequiredService UUID returned by action=services.
linkstringRequiredTarget URL or handle required by the service.
quantityintegerRequiredInteger quantity within the service min/max bounds and step.
idempotency_keystring (<= 128)OptionalOptional per-user key (max 128 chars) to safely deduplicate retries. Without it, duplicate calls create separate orders.
key
Typestring
RequiredRequired
DescriptionYour API key (smmp_<64 hex>).
action
Typestring ("add")
RequiredRequired
DescriptionSet to "add".
service
TypeUUID
RequiredRequired
DescriptionService UUID returned by action=services.
link
Typestring
RequiredRequired
DescriptionTarget URL or handle required by the service.
quantity
Typeinteger
RequiredRequired
DescriptionInteger quantity within the service min/max bounds and step.
idempotency_key
Typestring (<= 128)
RequiredOptional
DescriptionOptional per-user key (max 128 chars) to safely deduplicate retries. Without it, duplicate calls create separate orders.
Example request (application/x-www-form-urlencoded)
curl -X POST 'https://smm.kdanish.com/api/v2' \
  -d 'key=YOUR_RESELLER_API_KEY' \
  -d 'action=add' \
  -d 'service=01950000-0000-7000-8000-000000000001' \
  -d 'link=https://instagram.com/example_profile' \
  -d 'quantity=1000'
Example JSON response (200 OK) 200
{
  "order": "01950000-0000-7000-8000-000000000042"
}
POST

Order Status

action=status

Retrieves charge, start_count, status (Pending, Processing, In progress, Completed, Partial, Canceled, Failed), remains, and currency for a single order.

Parameter
Type
Required
Description
keystringRequiredYour API key (smmp_<64 hex>).
actionstring ("status")RequiredSet to "status".
orderUUIDRequiredOrder UUID returned by action=add.
key
Typestring
RequiredRequired
DescriptionYour API key (smmp_<64 hex>).
action
Typestring ("status")
RequiredRequired
DescriptionSet to "status".
order
TypeUUID
RequiredRequired
DescriptionOrder UUID returned by action=add.
  • Pending"Pending"
  • Processing"Processing"
  • In progress"In progress"
  • Completed"Completed"
  • Partial"Partial"
  • Canceled"Canceled"
  • Failed"Failed"
Example request (application/x-www-form-urlencoded)
curl -X POST 'https://smm.kdanish.com/api/v2' \
  -d 'key=YOUR_RESELLER_API_KEY' \
  -d 'action=status' \
  -d 'order=01950000-0000-7000-8000-000000000042'
Example JSON response (200 OK) 200
{
  "charge": "2.40000000",
  "start_count": "1250",
  "status": "In progress",
  "remains": "400",
  "currency": "USD"
}
POST

Multi-Order Status

action=status

Batch status lookup for up to 100 comma-separated order UUIDs via the orders parameter. Missing or unauthorized IDs return per-entry {"error": "Incorrect order ID"}.

Parameter
Type
Required
Description
keystringRequiredYour API key (smmp_<64 hex>).
actionstring ("status")RequiredSet to "status".
ordersstring (comma-separated UUIDs, 1-100)RequiredComma-separated list of 1 to 100 order UUIDs.
key
Typestring
RequiredRequired
DescriptionYour API key (smmp_<64 hex>).
action
Typestring ("status")
RequiredRequired
DescriptionSet to "status".
orders
Typestring (comma-separated UUIDs, 1-100)
RequiredRequired
DescriptionComma-separated list of 1 to 100 order UUIDs.
Example request (application/x-www-form-urlencoded)
curl -X POST 'https://smm.kdanish.com/api/v2' \
  -d 'key=YOUR_RESELLER_API_KEY' \
  -d 'action=status' \
  -d 'orders=01950000-0000-7000-8000-000000000042,01950000-0000-7000-8000-000000000043'
Example JSON response (200 OK) 200
{
  "01950000-0000-7000-8000-000000000042": {
    "charge": "2.40000000",
    "start_count": "1250",
    "status": "Completed",
    "remains": "0",
    "currency": "USD"
  },
  "01950000-0000-7000-8000-000000000043": {
    "error": "Incorrect order ID"
  }
}
POST

Cancel Orders

action=cancel

Requests cancellation for 1 to 100 orders. Pending orders are refunded locally at once; submitted orders are queued for upstream cancellation and return per-order status.

Parameter
Type
Required
Description
keystringRequiredYour API key (smmp_<64 hex>).
actionstring ("cancel")RequiredSet to "cancel".
ordersstring (comma-separated UUIDs, 1-100)OptionalComma-separated list of 1 to 100 order UUIDs to cancel (takes precedence over order).
orderUUIDOptionalSingle order UUID to cancel when orders is omitted.
key
Typestring
RequiredRequired
DescriptionYour API key (smmp_<64 hex>).
action
Typestring ("cancel")
RequiredRequired
DescriptionSet to "cancel".
orders
Typestring (comma-separated UUIDs, 1-100)
RequiredOptional
DescriptionComma-separated list of 1 to 100 order UUIDs to cancel (takes precedence over order).
order
TypeUUID
RequiredOptional
DescriptionSingle order UUID to cancel when orders is omitted.
Example request (application/x-www-form-urlencoded)
curl -X POST 'https://smm.kdanish.com/api/v2' \
  -d 'key=YOUR_RESELLER_API_KEY' \
  -d 'action=cancel' \
  -d 'orders=01950000-0000-7000-8000-000000000042,01950000-0000-7000-8000-000000000043'
Example JSON response (200 OK) 200
[
  {
    "order": "01950000-0000-7000-8000-000000000042",
    "cancel": 1
  },
  {
    "order": "01950000-0000-7000-8000-000000000043",
    "cancel": {
      "error": "Order is not in a cancellable status."
    }
  }
]
POST

Request Refill

action=refill

Submits a refill request for a Completed or Partial order within the service's refill window when no refill is already open.

Parameter
Type
Required
Description
keystringRequiredYour API key (smmp_<64 hex>).
actionstring ("refill")RequiredSet to "refill".
orderUUIDRequiredCompleted or partial order UUID eligible for refill.
key
Typestring
RequiredRequired
DescriptionYour API key (smmp_<64 hex>).
action
Typestring ("refill")
RequiredRequired
DescriptionSet to "refill".
order
TypeUUID
RequiredRequired
DescriptionCompleted or partial order UUID eligible for refill.
Example request (application/x-www-form-urlencoded)
curl -X POST 'https://smm.kdanish.com/api/v2' \
  -d 'key=YOUR_RESELLER_API_KEY' \
  -d 'action=refill' \
  -d 'order=01950000-0000-7000-8000-000000000042'
Example JSON response (200 OK) 200
{
  "refill": "01950000-0000-7000-8000-000000000099"
}
POST

Refill Status

action=refill_status

Returns the current status of a refill request: Pending, Processing, Completed, Rejected, or Failed.

Parameter
Type
Required
Description
keystringRequiredYour API key (smmp_<64 hex>).
actionstring ("refill_status")RequiredSet to "refill_status".
refillUUIDRequiredRefill UUID returned by action=refill.
key
Typestring
RequiredRequired
DescriptionYour API key (smmp_<64 hex>).
action
Typestring ("refill_status")
RequiredRequired
DescriptionSet to "refill_status".
refill
TypeUUID
RequiredRequired
DescriptionRefill UUID returned by action=refill.
Example request (application/x-www-form-urlencoded)
curl -X POST 'https://smm.kdanish.com/api/v2' \
  -d 'key=YOUR_RESELLER_API_KEY' \
  -d 'action=refill_status' \
  -d 'refill=01950000-0000-7000-8000-000000000099'
Example JSON response (200 OK) 200
{
  "status": "Completed"
}
POST

Account Balance

action=balance

Returns your current wallet balance as an 8-decimal USD string.

Parameter
Type
Required
Description
keystringRequiredYour API key (smmp_<64 hex>).
actionstring ("balance")RequiredSet to "balance".
key
Typestring
RequiredRequired
DescriptionYour API key (smmp_<64 hex>).
action
Typestring ("balance")
RequiredRequired
DescriptionSet to "balance".
Example request (application/x-www-form-urlencoded)
curl -X POST 'https://smm.kdanish.com/api/v2' \
  -d 'key=YOUR_RESELLER_API_KEY' \
  -d 'action=balance'
Example JSON response (200 OK) 200
{
  "balance": "125.50000000",
  "currency": "USD"
}
GET

Reseller Price List CSV

Resellers can download their personalized catalog with tier discounts and custom rates in JSON or UTF-8 BOM CSV.

https://smm.kdanish.com/backend/resellers/me/price-list.csvDownload CSV
  • Authenticated with your logged-in reseller session or Bearer token (reseller account required).
  • Optional query parameters: platform (slug or UUID), category (slug or UUID), and locale (en, fa, or ps).
  • CSV columns: ID, Name, Platform, Category, Type, Rate (USD), Min, Max, Refill, Cancel, Avg Time (s).
Open Reseller Portal & Price List ->
Back to top