Request
https://api.sms-cheap.com/v1/balance?api_key=$api_key
$api_key: YOUR_API_KEY
Response
{
"status": "success",
"balance": {
"amount": "15.59",
"currency": "USD"
}
}
Request
https://api.sms-cheap.com/v1/services?api_key=$api_key
$api_key: YOUR_API_KEY
Response
{
"status": "success",
"services": [
{
"id": "wa",
"name": "WhatsApp",
"visible": 1
},
{
"id": "tg",
"name": "Telegram",
"visible": 1
},
{
...
}
]
}
Request
https://api.sms-cheap.com/v1/countries?api_key=$api_key
$api_key: YOUR_API_KEY
Response
{
"status": "success",
"countries": [
{
"id": "0",
"name": "Russia",
"visible": 1
},
{
"id": "6",
"name": "Indonesia",
"visible": 1
},
{
...
}
]
}
Request
https://api.sms-cheap.com/v1/prices?service=$service&country=$country&api_key=$api_key
$service: SERVICE_ID
$country: COUNTRY_ID
$options: TRUE (optional)
$api_key: YOUR_API_KEY
Response
{
"status": "success",
"prices": {
"wa": {
"0": {
"price": 0.56,
"stock": 1232
},
// With options=true, the response will be like this:
"6": {
"price": 0.15,
"stock": 5678,
"options": {
"0.15": 5678,
"0.12": 12345,
"0.42": 45678,
"0.16": 23456
}
},
...
},
"tg": {
"0": {
"price": 0.05,
"stock": 45678
},
...
}
}
}
Request
https://api.sms-cheap.com/v1/order?service=$service&country=$country&api_key=$api_key
$service: SERVICE_ID
$country: COUNTRY_ID
$price: PRICE_VALUE (optional)
$api_key: YOUR_API_KEY
Response
{
"status": "success",
"order": {
"id": "5124502796",
"phone_number": "79110123456",
"price": 0.16,
"currency": "USD",
"time": "2025-07-12 07:14:38"
}
}
Request
https://api.sms-cheap.com/v1/order/$order_id/status?api_key=$api_key
$order_id: ORDER_ID
$api_key: YOUR_API_KEY
Response
{
"status": "success",
"order": {
"id": "5124502796",
"phone_number": "79110123456",
"status": "completed",
"message": "123456",
"message_detail": "Your WhatsApp code is: 123456",
"price": 0.16,
"currency": "USD",
"time": "2025-07-12 07:14:38",
"expires_at": "2025-07-12 07:34:38"
}
}
Request
https://api.sms-cheap.com/v1/order/$order_id/cancel?api_key=$api_key
$order_id: ORDER_ID
$api_key: YOUR_API_KEY
Response
{
"status": "success",
"message": "Order cancelled successfully",
"order": {
"id": "5124502796",
"refund_amount": 0.16,
"currency": "USD"
}
}