Top Countries By Service
Returns provider countries available for the requested service. Data is refreshed every 5 minutes and includes only countries where rate is 100 or higher.
GET http://privatesms.vip/stubs/handler_api.php?api_key={apikey}&action=getTopCountriesByService&service=lf
Request Parameters
| Name | Description |
|---|---|
api_key | Personal API key from the client account. |
action | Must be getTopCountriesByService. |
service | Provider service code. For TikTok use lf. |
Response Examples
200 OK
{
"0": {
"country": "GB",
"rate": 5050,
"price": 0.004,
"count": 999
},
"1": {
"country": "IT",
"rate": 1746,
"price": 0.004,
"count": 999
},
"10": {
"country": "PH",
"rate": 538,
"price": 0.004,
"count": 999
},
"11": {
"country": "UG",
"rate": 360,
"price": 0.004,
"count": 999
},
"12": {
"country": "BO",
"rate": 327,
"price": 0.004,
"count": 999
},
"13": {
"country": "GE",
"rate": 147,
"price": 0.004,
"count": 999
},
"14": {
"country": "IL",
"rate": 122,
"price": 0.004,
"count": 999
},
"15": {
"country": "LY",
"rate": 100,
"price": 0.004,
"count": 999
},
"2": {
"country": "DE",
"rate": 1712,
"price": 0.004,
"count": 999
},
"3": {
"country": "GN",
"rate": 1299,
"price": 0.004,
"count": 999
},
"4": {
"country": "US",
"rate": 1156,
"price": 0.004,
"count": 999
},
"5": {
"country": "ID",
"rate": 959,
"price": 0.004,
"count": 999
},
"6": {
"country": "MM",
"rate": 951,
"price": 0.004,
"count": 999
},
"7": {
"country": "DZ",
"rate": 873,
"price": 0.004,
"count": 999
},
"8": {
"country": "FR",
"rate": 861,
"price": 0.004,
"count": 999
},
"9": {
"country": "QA",
"rate": 610,
"price": 0.004,
"count": 999
}
}
Notes
Data is synchronized every 5 minutes.
Only countries with rate 100 or higher are returned.
Current Lucky TIKTOK TikTok service code is lf.
Error Responses
| Status | Server response | Description |
|---|---|---|
| 401 | BAD_KEY | The API key is invalid. |
| 400 | BAD_ACTION | The action value is invalid. |
| 500 | SERVER ERROR | Unexpected internal server error. |
| 403 | BANNED | The account is disabled. |
| 404 | BAD_SERVICE | Service code is missing or invalid. |