API

Using the API

Automate buying numbers and fetching codes with the developer API.

Animated walkthrough
bash β€” xthon api
$ curl https://xthonvirtual.store/api/v2/balance \
-H "X-API-Key: YOUR_API_KEY"

What you'll learn

  • Get your API key
  • Call the endpoints
  • Handle the JSON responses