How to use an SMM panel API to automate orders

If you resell services or run your own system, the API lets you send orders without going through the panel. The standard is quite similar between panels, which makes integration easier.
The basics
Calls are made by POST to a single address, with your key and the desired action. The response comes as JSON.
- key: your API key, found on the account page.
- action: what you want to do.
Most used actions
- services — lists all services, with id, price, minimum and maximum.
- add — creates an order. Requires service, link and quantity.
- status — checks an order by id.
- orders — checks several orders at once.
- refill — requests a refill for an order.
- balance — checks the account balance.
Good practices
- Cache the service list. It changes rarely and fetching it on every order is wasteful.
- Check statuses in batches. Use the multiple-orders action instead of one by one.
- Validate the link before sending. A wrong link consumes balance with no refund.
- Handle balance errors separately. It is the most common error in production.
- Never expose the key in the browser. It belongs on your server.
Common mistakes
Sending a quantity outside the service minimum or maximum; using a service id from another panel; repeating the same order for lack of idempotency control; and polling status every few seconds, which usually triggers a temporary block.
Polling rhythm
To track orders, a check every few minutes is enough. Orders take minutes to hours, so polling every second only burns requests.
Summary
The API solves scale: automatic orders, batch status and refills without manual work. Keep the key on the server, respect each service's limits and poll at a rhythm that matches real delivery time.
Ready to put it into practice? Pick a service and place your order in the panel.
See services