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 modelProperties:
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 listenabled
booleanRequiredAvailability of virtual numbers of a countryservices
objectList of services available for order on numbers of the current country