get getTariffs

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

This request will provide you Onlinesim tariff list for single-service activations.

It is actually a representation of a service list ("Buy a number" section) located on the main page.

Service list

Servers

https://onlinesim.io
Onlinesim server

Parameters

locale_price
Price charged for the service in the currency of your profile (USD by default)
In: query
Schema:
  • string
country
Country for which you want to get a tariff list for single-service activations
In: query
Schema:
  • string
filter_country
Filter for country
In: query
Schema:
  • string
filter_service
Filter for service
In: query
Schema:
  • string
count
Filter for count
In: query
Schema:
  • string
page
Page of the tariff list (pagination navigation)
In: query
Schema:
  • string
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

OK
Content Type:
application/json
  • Schema
  • object
    Properties:
    • response
      mixed
      1, if the request has been completed successfully, or an error message
      Example: 1
      One Of:
      • integer
      • string
    • countries
      object
    • services
      object
    • favorite_countries
      object
      List of favorite countries (based on recent purchases)
    • favorite_services
      array
      Items:
      • object
        List of favorite services (based on recent purchases)
    • page
      integer
      Pagination index (for navigation)
    • country
      integer
      Selected country
    • filter
      string
      List of enabled filters
    • end
      boolean
      Check if this page is the last one (for pagination)
    • favorites
      object
      Favorites list