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

  1. Create an account and top up your balance once. API access opens after the first top-up.
  2. Open the API page in your account and create a key. The key is shown only once, so store it safely.
  3. 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
getBalancecurrent balance in USD
getServicesListservice codes and names
getCountriescountry IDs in SMS-Activate numbering
getPricescurrent prices and stock, optionally for one service or country
getChannelsavailable channel IDs
getNumberget a number; optional maxPrice in USD and channelId
getNumberV2get a number with a JSON response
getStatuswaiting state or the received code
setStatus3 = another SMS, 6 = finish, 8 = cancel and refund
getActiveActivationsyour active numbers
GET https://chirusms.com/stubs/handler_api.php?api_key=YOUR_API_KEY&action=getNumber&service=tg&country=6

Response: 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/balanceaccount balance
GET /api/v1/servicesavailable apps
GET /api/v1/countriescountry IDs
GET /api/v1/channelsavailable channel IDs
GET /api/v1/pricescurrent per-country selling prices
GET /api/v1/ordersyour API orders
POST /api/v1/ordersbuy 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 specification

Rules

  • 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.