- Preparation
- FAQ
- V3
- Customer API
- Phones API
- Statistics API
- V2(Deprecated)
- Warning: V2 API is deprecated
- Account
- Lookup
- Manage phone numbers
Get the country stats with success rates
GET
https://api.smsonline.cloud/cs/getBetterChoices
Request
Query Params
userId
string
required
Example:
{{userid}}
key
string
required
Example:
{{APIKey}}
service
string
required
Example:
WhatsApp
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api.smsonline.cloud/cs/getBetterChoices?userId={{userid}}&key={{APIKey}}&service=WhatsApp'
Responses
🟢200Success
application/json
Body
error
boolean
required
body
array [object {5}]
required
country
string
required
completed
integer
required
failed
integer
required
complete_ratio
string
required
cc
string
required
Example
{
"error": false,
"body": [
{
"country": "Nigeria",
"completed": 5,
"failed": 4,
"complete_ratio": "55.6",
"cc": "19"
},
{
"country": "Spain",
"completed": 7,
"failed": 7,
"complete_ratio": "50.0",
"cc": "56"
},
{
"country": "Canada",
"completed": 44,
"failed": 75,
"complete_ratio": "37.0",
"cc": "36"
},
{
"country": "Philippines",
"completed": 27,
"failed": 54,
"complete_ratio": "33.3",
"cc": "4"
},
{
"country": "Indonesia",
"completed": 103,
"failed": 238,
"complete_ratio": "30.2",
"cc": "6"
},
{
"country": "Hong Kong",
"completed": 30,
"failed": 70,
"complete_ratio": "30.0",
"cc": "14"
},
{
"country": "Brazil",
"completed": 9,
"failed": 28,
"complete_ratio": "24.3",
"cc": "73"
},
{
"country": "Sweden",
"completed": 4,
"failed": 13,
"complete_ratio": "23.5",
"cc": "46"
},
{
"country": "United Kingdom",
"completed": 12,
"failed": 52,
"complete_ratio": "18.8",
"cc": "16"
},
{
"country": "India",
"completed": 4,
"failed": 35,
"complete_ratio": "10.3",
"cc": "22"
}
]
}
🟠401Unauthorized
🟠403Forbidden
Modified at 2025-04-20 14:22:26