Skip to content

GET /api/getTariffs.php

Get information about tariffs for "SMS receiving" service

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 in the user dashboard.

Service list

Security

  • apikey
  • BearerAuth
  • OAuth2 (Scopes: sms-scope)
    • sms-scope: grants access to manage numbers for the SMS receiving service from Onlinesim

Parameters

NameTypeDescription
locale_pricestring

Price charged for the service in the currency of your profile (USD by default)

countrystring

Country for which you want to get a tariff list for single-service activations

filter_countrystring

Filter for country

filter_servicestring

Filter for service

countstring

Filter for count

pagestring

Page of the tariff list (pagination navigation)

langstring

Response language:
fr - French,
de - German,
ru - Russian,
en - English,
zh - Chinese.
Please note that the translation applies only to string field values, such as service names or country names. Field names themselves, error messages, and standard values (for example, true/false for boolean fields) remain in English.

Enum:frderuenzhDefault:ruExample:en

Responses

200

OK

Code Samples