get getNumbersStats
https://onlinesim.io/api/getNumbersStats.php
This request retrieves detailed information on quantity of numbers in terms of countries and services from Onlinesim server.
You can use this request to monitor prices for a certain service to gain more benefit of its purchase or keep track on when numbers of particular countries will be available again (if they were disabled previously or ran out of stock).
It is actually a representation of a service list ("Buy a number" section) located on the main page.
Security
Parameters
country
Country code (Е.164 standard, without "+" sign), see getNumbersStats
query
- integerExample:
46
>= 1
lang
Response language: fr
- French, de
- German, ru
- Russian, en
- English, zh
- Chinese
query
- stringExample:
"en"
Enum:fr
de
ru
en
zh
Responses
200
DEPRECATED, use getTariffs instead. Successful response for
getNumbersStats
request: the server returns lists of available numbers by countries and services or throws an exception.
- Schema
- Examples
- objectgetNumbersStats modelExample:
{"name":"sweden","position":1,"code":46,"other":7.5,"new":true,"enabled":true,"services":{"service_#name#":{"count":281,"popular":true,"code":46,"price":14,"id":4,"service":"Вконтакте","slug":"vkcom"}}}
Properties:name
stringRequiredCountry name, to which mobile number belongsExample:"sweden"
position
integerRequiredPosition of a country in the list of our websiteExample:1
>= 0
code
integerRequiredCountry code (Е.164 standard, without "+" sign)Example:46
>= 1
other
numberRequiredPrice for "Other sites" serviceExample:7.5
new
booleanRequiredCountry was recently added to the listExample:true
enabled
booleanRequiredAvailability of virtual numbers of a countryExample:true
services
objectList of services available for order on numbers of the current countryExample:{"service_#name#":{"count":281,"popular":true,"code":46,"price":14,"id":4,"service":"Вконтакте","slug":"vkcom"}}