API
Connect SMM RED to your panel, bot or website
/api/v2
Perfect Panel format
JSON responses
Up to 5000 requests per minute
- 1Create an API token on the Account page
- 2Get the service list:
action=services. It has the ID, price and limits of every service - 3Create an order:
action=addwith the service ID, link and quantity
The examples use real services. Take the IDs for your orders from action=services.
POST is the recommended method. GET is supported for compatibility. Your API token is generated on the Account page.
Limit: 5000 requests per minute per IP. Above it the API answers with code 429.
key parameter in every requestIf the key is missing or invalid: {"error": "Invalid API key"}
rate: price per 1000 in USD, your discount included
| Parameter | Description | |
|---|---|---|
| service | optional | One service ID |
| services | optional | IDs separated by commas, up to 100. Without them you get every service |
| Field | Description |
|---|---|
| speed_per_day | How much the service completes per day. null if there is no data yet |
| speed_fresh | true if the speed is seen from orders in the last 24 hours |
| delay_hours | Hours new orders already wait to start. 0: no delay, null: no data |
| time_minutes | Average completion time in minutes by order size. null: data is still being collected |
| updated_at | When the data was updated, in UTC. Updated every 5 minutes |
The same data as in the services catalog. Unknown and switched off IDs are skipped.
Default
| Parameter | Description | |
|---|---|---|
| service | required | Service ID from action=services |
| link | required | Target URL |
| quantity | required | Order quantity (within service min/max) |
| delay | optional | Minutes until the order should start. Minimum 1. If omitted, the order starts immediately. |
| idempotency_key | optional | Optional duplicate protection key, 1-128 characters: Latin letters, digits, dots, hyphens, underscores and colons. Case-sensitive. |
Custom Comments
For services with type=Custom Comments. Quantity is calculated from the number of comment lines. Max comment length: 500 characters.
| Parameter | Description | |
|---|---|---|
| service | required | Service ID from action=services |
| link | required | Target URL |
| comments | required | Comments list separated by \r\n or \n. Max 500 characters per comment. |
| delay | optional | Minutes until the order should start. Minimum 1. If omitted, the order starts immediately. |
| idempotency_key | optional | Optional duplicate protection key, 1-128 characters: Latin letters, digits, dots, hyphens, underscores and colons. Case-sensitive. |
Poll
For services with type=Poll. Specify which poll answer to vote for.
| Parameter | Description | |
|---|---|---|
| service | required | Service ID from action=services |
| link | required | Target URL |
| quantity | required | Number of votes |
| answer_number | required | Answer number of the poll, starting from 0 |
| delay | optional | Minutes until the order should start. Minimum 1. If omitted, the order starts immediately. |
| idempotency_key | optional | Optional duplicate protection key, 1-128 characters: Latin letters, digits, dots, hyphens, underscores and colons. Case-sensitive. |
Use a new idempotency_key for each new order. Retry with the same key and parameters to receive the original order ID without another charge. Reusing a key with different parameters returns an error. Keys belong to your account and are retained with the order, including completed and canceled orders. An error before order creation does not consume the key. Without a key, or with an empty value, each request creates a separate order.
| Parameter | Description | |
|---|---|---|
| order | or orders | Single order ID |
| orders | or order | Comma-separated IDs, max 100 |
| Status | Description |
|---|---|
| Pending | The order is waiting to be processed |
| Processing | The order is being processed |
| Delayed | An order with delay: it waits for its start time, the money is already charged |
| In progress | The order is in progress |
| Completed | The order is fully completed |
| Partial | Part of the order was completed, the money for the rest (remains) went back to the balance |
| Canceled | The order is canceled, the money went back to the balance |
Completed, Partial and Canceled are final, the status will not change. charge always shows the final charge after refunds.
If the order was created with delay=, its status stays Delayed until the scheduled time arrives. While Delayed, the response also includes scheduled_at (UTC, ISO-8601) and delay_remaining (minutes left, never negative). These two fields are only present for Delayed orders - every other status keeps the response shape shown above.
| Parameter | Description | |
|---|---|---|
| order | or orders | Order ID to refill |
| orders | or order | Comma-separated IDs, max 100 |
Value 1 means the request was accepted and queued. Only available for completed orders with refill support.
| Parameter | Description | |
|---|---|---|
| order | or orders | Order ID to cancel |
| orders | or order | Comma-separated IDs, max 100 |
Value 1 means the request was accepted and queued. Only available for services with cancel support.
error key| "Invalid API key" | Token missing or incorrect |
| "Incorrect request" | Unknown action or invalid parameters |
| "Incorrect idempotency key" | Invalid idempotency_key format |
| "Idempotency key already used with different parameters" | The key was already used with different parameters. Use a new key for a new order. |
| "Could not process request. Retry with the same idempotency key" | The request result could not be confirmed. Retry with the same key and parameters. |
| "Incorrect service ID" | Service not found or inactive |
| "Service not available" | Service cannot be ordered via API |
| "Quantity must be between X and Y" | Quantity outside service min/max |
| "Comments are required for this service" | Comments parameter is missing or empty |
| "Comments count must be between X and Y" | Number of comments is outside service min/max |
| "Comment is too long" | One comment exceeds 500 characters |
| "Answer number is required for this service" | Poll answer_number parameter is missing |
| "Incorrect answer number" | answer_number must be 0 or greater |
| "Insufficient balance" | Not enough funds |
| "Incorrect order ID" | Order not found or belongs to another user |
| "Refill not available" | Refill conditions not met |
| "Cancel not available" | Cancel conditions not met |