Skip to content

API Reference

Sviatoslav Gusev edited this page May 22, 2026 · 1 revision

API Reference

Full reseller API documentation. For quickstart see the repo docs/api.md.

Endpoint: https://api-stars.ros.media/api

Authentication

Every action except services requires key — the API key issued in the web cabinet.

curl -X POST https://api-stars.ros.media/api \
  -d "key=YOUR_API_KEY" -d "action=balance"

Actions

action params what
services (none) List services with current rates. Public.
balance key Your USD balance.
add key, service, link, quantity Create an order. Returns {order}.
status key, order or key, orders=1,2,3 Order status (single or multi, up to 100).
cancel key, orders=1,2,3 Cancel orders, refund unfilled slots.

Response format

Success — JSON object. Errors — JSON {"error": "Message"} with HTTP 200 (SMM-Panel convention).

Rate limits

  • 60 requests / minute / key. 429 on overrun.
  • Order idempotency: same service + link + quantity from one key within 120 s returns the same order id (safe retry).

Compatibility

Drop-in with JustAnotherPanel, SocPanel, AliPanel. Swap URL + key and the rest of your integration works unchanged. Same statuses (Pending / In progress / Partial / Completed / Canceled), same shape (charge / start_count / remains / currency).

Clone this wiki locally