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

NameDescription
api_keyPersonal API key from the client account.
actionMust be getTopCountriesByService.
serviceProvider service code. For TikTok use lf.

Response Examples

200 OK

{
  "0": {
    "country": "GB",
    "rate": 4994,
    "price": 0.004,
    "count": 999
  },
  "1": {
    "country": "IT",
    "rate": 1738,
    "price": 0.004,
    "count": 999
  },
  "10": {
    "country": "PH",
    "rate": 550,
    "price": 0.004,
    "count": 999
  },
  "11": {
    "country": "UG",
    "rate": 362,
    "price": 0.004,
    "count": 999
  },
  "12": {
    "country": "BO",
    "rate": 328,
    "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": "NG",
    "rate": 102,
    "price": 0.004,
    "count": 999
  },
  "16": {
    "country": "LY",
    "rate": 100,
    "price": 0.004,
    "count": 999
  },
  "2": {
    "country": "DE",
    "rate": 1665,
    "price": 0.004,
    "count": 999
  },
  "3": {
    "country": "GN",
    "rate": 1389,
    "price": 0.004,
    "count": 999
  },
  "4": {
    "country": "MM",
    "rate": 1189,
    "price": 0.004,
    "count": 999
  },
  "5": {
    "country": "US",
    "rate": 1150,
    "price": 0.004,
    "count": 999
  },
  "6": {
    "country": "ID",
    "rate": 912,
    "price": 0.004,
    "count": 999
  },
  "7": {
    "country": "DZ",
    "rate": 864,
    "price": 0.004,
    "count": 999
  },
  "8": {
    "country": "FR",
    "rate": 848,
    "price": 0.004,
    "count": 999
  },
  "9": {
    "country": "QA",
    "rate": 641,
    "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

StatusServer responseDescription
401BAD_KEYThe API key is invalid.
400BAD_ACTIONThe action value is invalid.
500SERVER ERRORUnexpected internal server error.
403BANNEDThe account is disabled.
404BAD_SERVICEService code is missing or invalid.
RUEN