Connecting the SMM API to Your Site or Bot

Connecting the SMM API to Your Site or Bot

If you have a website or a bot and you want orders to go through automatically, the API is the answer. You do not need to be an expert programmer, the calls are simple.

The core calls

  • Fetch the service list with prices.
  • Add a new order with a link and a quantity.
  • Check the status of an order.
  • Read your account balance.

Practical tips

Store the order ID in your own database, and do not poll the status every second. Once every few minutes is plenty. Handle the out-of-balance response in your code so orders are never lost.

Security

Your API key must stay on the server. Never put it in page code that a visitor can see.

Copied