get getNumbersStats

https://onlinesim.io/api/getNumbersStats.php
single-service activations

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.

Service list

Parameters

country

Country code (Е.164 standard, without "+" sign), see getNumbersStats

In: query
Schema:
  • integer
    Example: 46
    >= 1
lang

Response language: fr - French, de - German, ru - Russian, en - English, zh - Chinese

In: query
Schema:
  • string
    Example: "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.

Content Type:
application/json
  • Schema
  • Examples
  • object
    getNumbersStats model
    Example: {"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
      string
      Required
      Country name, to which mobile number belongs
      Example: "sweden"
    • position
      integer
      Required
      Position of a country in the list of our website
      Example: 1
      >= 0
    • code
      integer
      Required
      Country code (Е.164 standard, without "+" sign)
      Example: 46
      >= 1
    • other
      number
      Required
      Price for "Other sites" service
      Example: 7.5
    • new
      boolean
      Required
      Country was recently added to the list
      Example: true
    • enabled
      boolean
      Required
      Availability of virtual numbers of a country
      Example: true
    • services
      object
      List of services available for order on numbers of the current country
      Example: {"service_#name#":{"count":281,"popular":true,"code":46,"price":14,"id":4,"service":"Вконтакте","slug":"vkcom"}}