SMM Panel API

Create Order

Create a new SMM order.

POST /api/v1/smm/orders/ Live

Place an SMM order. Wallet balance is checked and debited before the provider order is submitted. On provider failure the charge is refunded.

Authentication
Bearer API key required
Permission
smm
Rate limit
Per-key default 60 req/min
Notes
  • Insufficient balance → HTTP 402, VALIDATION_ERROR with details.code = insufficient_balance.
  • Price changed vs expected_* → HTTP 409, details.code = price_changed.
  • Provider failure after debit → order failed and wallet refunded (may surface as HTTP 502).

Body fields

NameTypeRequiredDescription
service_id integer Yes Service ID from the catalog.
quantity integer Yes Within service min/max.
link string Yes Target URL / username link for the service.
expected_charge decimal string No Optional price guard — rejects if charge changed (HTTP 409, details.code=price_changed).
expected_sell_price decimal string No Optional sell-price guard (same price-change protection).

Headers

HTTP
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

Request body

JSON
{
  "service_id": 1,
  "link": "https://example.com/post",
  "quantity": 1000
}

Examples

cURL
curl -X POST "https://YOUR-DOMAIN/api/v1/smm/orders/" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"service_id":1,"link":"https://example.com","quantity":1000}'

Response example

JSON
{
  "success": true,
  "request_id": "req_...",
  "data": {
    "order": {
      "id": 1,
      "public_id": "ord_...",
      "display_id": "#1001",
      "link": "https://example.com/post",
      "charge": "1.50",
      "quantity": 1000,
      "service_id": 1,
      "status": "pending",
      "cancellable": true
    }
  }
}

Status codes

StatusMeaning
201Order created
400Validation error
401Invalid API key
402Insufficient balance
403Permission or plan restriction
404Service not found
409Price changed vs expected_*
429Rate limit exceeded
502Provider failure (refunded)

Try it

Paste your API key locally. It is sent only to this site’s API and is never saved.

Create API Key →

Errors

  • INVALID_API_KEY — missing/invalid Bearer token
  • SERVICE_ACCESS_DENIED — key lacks smm
  • VALIDATION_ERROR — invalid payload or domain validation
  • RESOURCE_NOT_FOUND — unknown resource
  • RATE_LIMIT_EXCEEDED — too many requests

Full error reference →