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.
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.
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".
Rate Limits
Requests are rate-limited per API key over a 60-second window according to your reseller tier or custom override.
- 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).
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 key | 200 | Key is missing, malformed, unknown, revoked, or belongs to a suspended or staff account. |
| IP address is not allowed | 200 | Client IP does not match any entry in the API key's configured IP/CIDR allowlist. |
| Rate limit exceeded | 200 | Per-key requests-per-minute quota exhausted. |
| Invalid action | 200 | Missing or unrecognized action parameter, or malformed request body. |
| Incorrect order ID | 200 | Order UUID is malformed, does not exist, or belongs to another user. |
| Incorrect refill ID | 200 | Refill UUID is malformed, does not exist, or belongs to another user. |
| Incorrect service ID | 200 | Service UUID is malformed, inactive, missing, or unmapped. |
| Not enough balance | 200 | Wallet balance is insufficient to cover the calculated order charge. |
| Too many order IDs (maximum 100) | 200 | More than 100 comma-separated IDs passed in orders. |
| Invalid <field>: must be an integer / Invalid idempotency_key | 200 | Numeric parameter (quantity, runs, interval, min, max, posts, delay, answer_number) is invalid, or idempotency_key exceeds 128 characters. |
| This service does not support refills. | 200 | The service has refill disabled (refillDays <= 0). |
| Only completed or partial orders are eligible for refill. | 200 | Order status is not Completed or Partial. |
| The refill eligibility window for this order has expired. | 200 | Order completion timestamp plus refill window has elapsed. |
| A refill request is already open for this order. | 200 | A Pending or Processing refill already exists for this order. |
| Cancellation is not allowed for this service. | 200 | The service does not allow cancellation. |
| Order is not in a cancellable status. | 200 | Order has already reached In progress, Completed, Partial, Canceled, or Failed. |
| Internal error | 200 | Unexpected server error while processing the request. |
Services List
action=servicesReturns 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 |
|---|---|---|---|
| key | string | Required | Your API key (smmp_<64 hex>). |
| action | string ("services") | Required | Set to "services". |
curl -X POST 'https://smm.kdanish.com/api/v2' \
-d 'key=YOUR_RESELLER_API_KEY' \
-d 'action=services'[
{
"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
}
]Add Order
action=addPlaces a new order using the service's configured order type. Charges are debited atomically from your USD wallet.
Parameters by Order Type
Standard link + quantity order for followers, likes, views, or subscribers.
- Default
- Custom Comments
- Mentions
- Poll
- Package
- Subscriptions
- Drip-feed
Parameter | Type | Required | Description |
|---|---|---|---|
| key | string | Required | Your API key (smmp_<64 hex>). |
| action | string ("add") | Required | Set to "add". |
| service | UUID | Required | Service UUID returned by action=services. |
| link | string | Required | Target URL or handle required by the service. |
| quantity | integer | Required | Integer quantity within the service min/max bounds and step. |
| idempotency_key | string (<= 128) | Optional per-user key (max 128 chars) to safely deduplicate retries. Without it, duplicate calls create separate orders. |
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'{
"order": "01950000-0000-7000-8000-000000000042"
}Order Status
action=statusRetrieves charge, start_count, status (Pending, Processing, In progress, Completed, Partial, Canceled, Failed), remains, and currency for a single order.
Parameter | Type | Required | Description |
|---|---|---|---|
| key | string | Required | Your API key (smmp_<64 hex>). |
| action | string ("status") | Required | Set to "status". |
| order | UUID | Required | Order UUID returned by action=add. |
- Pending"Pending"
- Processing"Processing"
- In progress"In progress"
- Completed"Completed"
- Partial"Partial"
- Canceled"Canceled"
- Failed"Failed"
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'{
"charge": "2.40000000",
"start_count": "1250",
"status": "In progress",
"remains": "400",
"currency": "USD"
}Multi-Order Status
action=statusBatch 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 |
|---|---|---|---|
| key | string | Required | Your API key (smmp_<64 hex>). |
| action | string ("status") | Required | Set to "status". |
| orders | string (comma-separated UUIDs, 1-100) | Required | Comma-separated list of 1 to 100 order UUIDs. |
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'{
"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"
}
}Cancel Orders
action=cancelRequests 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 |
|---|---|---|---|
| key | string | Required | Your API key (smmp_<64 hex>). |
| action | string ("cancel") | Required | Set to "cancel". |
| orders | string (comma-separated UUIDs, 1-100) | Comma-separated list of 1 to 100 order UUIDs to cancel (takes precedence over order). | |
| order | UUID | Single order UUID to cancel when orders is omitted. |
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'[
{
"order": "01950000-0000-7000-8000-000000000042",
"cancel": 1
},
{
"order": "01950000-0000-7000-8000-000000000043",
"cancel": {
"error": "Order is not in a cancellable status."
}
}
]Request Refill
action=refillSubmits 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 |
|---|---|---|---|
| key | string | Required | Your API key (smmp_<64 hex>). |
| action | string ("refill") | Required | Set to "refill". |
| order | UUID | Required | Completed or partial order UUID eligible for refill. |
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'{
"refill": "01950000-0000-7000-8000-000000000099"
}Refill Status
action=refill_statusReturns the current status of a refill request: Pending, Processing, Completed, Rejected, or Failed.
Parameter | Type | Required | Description |
|---|---|---|---|
| key | string | Required | Your API key (smmp_<64 hex>). |
| action | string ("refill_status") | Required | Set to "refill_status". |
| refill | UUID | Required | Refill UUID returned by action=refill. |
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'{
"status": "Completed"
}Account Balance
action=balanceReturns your current wallet balance as an 8-decimal USD string.
Parameter | Type | Required | Description |
|---|---|---|---|
| key | string | Required | Your API key (smmp_<64 hex>). |
| action | string ("balance") | Required | Set to "balance". |
curl -X POST 'https://smm.kdanish.com/api/v2' \
-d 'key=YOUR_RESELLER_API_KEY' \
-d 'action=balance'{
"balance": "125.50000000",
"currency": "USD"
}Reseller Price List CSV
Resellers can download their personalized catalog with tier discounts and custom rates in JSON or UTF-8 BOM 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).