SMS verification API
Order numbers and read verification texts from your own software. Both protocols use the same balance, prices and order rules as the website, and API orders are marked as API in your order list.
Get access
- Create an account and top up your balance once. API access opens after the first top-up.
- Open the API page in your account and create a key. The key is shown only once, so store it safely.
- Send requests with the key. Your API page shows whether API prices for your account differ from website prices.
SMS-Activate compatible protocol
Software that supports SMS-Activate can switch by changing the server address to the endpoint below and entering your API key. Pass api_key and action as query or form parameters. Responses are plain text or JSON, as in the original protocol; activation IDs are numbers.
https://chirusms.com/stubs/handler_api.php| getBalance | current balance in USD |
|---|---|
| getServicesList | service codes and names |
| getCountries | country IDs in SMS-Activate numbering |
| getPrices | current prices and stock, optionally for one service or country |
| getChannels | available channel IDs |
| getNumber | get a number; optional maxPrice in USD and channelId |
| getNumberV2 | get a number with a JSON response |
| getStatus | waiting state or the received code |
| setStatus | 3 = another SMS, 6 = finish, 8 = cancel and refund |
| getActiveActivations | your active numbers |
GET https://chirusms.com/stubs/handler_api.php?api_key=YOUR_API_KEY&action=getNumber&service=tg&country=6Response: ACCESS_NUMBER:<activation id>:<phone number>
JSON REST API
Send the key as Authorization: Bearer <key>. Amounts are in USD. Errors come back as {"error": "CODE"} with an HTTP status. Reuse the same Idempotency-Key when retrying a purchase; if an order is pending, poll it instead of buying again.
https://chirusms.com/api/v1| GET /api/v1/balance | account balance |
|---|---|
| GET /api/v1/services | available apps |
| GET /api/v1/countries | country IDs |
| GET /api/v1/channels | available channel IDs |
| GET /api/v1/prices | current per-country selling prices |
| GET /api/v1/orders | your API orders |
| POST /api/v1/orders | buy a number for a service and country |
| GET /api/v1/orders/{id} | order status; received codes are in codes[] |
| POST /api/v1/orders/{id}/{action} | cancel and refund, finish, or request another SMS |
Buy a Telegram number in Indonesia:
curl -X POST https://chirusms.com/api/v1/orders \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 4f1c2a7e-order-1" \
-d '{"service":"tg","country":6}'Download the OpenAPI specificationRules
- No code before the number expires: the order is refunded to your balance automatically. A delivered text is billable.
- The number of active numbers per account is limited. Finish or cancel numbers you no longer need.
- Requests are rate limited per account (1,200 per minute).
- Keep the key secret: anyone with it can spend your balance. Reset it on the API page if it leaks.