Rates

List PAYG retail rates for a market

Retrieves the pay-as-you-go retail price list for a market — international calling and messaging per destination, or roaming data per visited country.

Pass a market (an ISO 3166-1 alpha-2 country code — the home-plan market) and a rate type. The provider that prices the market is resolved internally, so the response is provider-agnostic: it carries only the country, the per-unit price, its unit, the currency and when it took effect. Prices are your organization's: any rate negotiated for it replaces the list price. They are in the provider's native currency; convert as needed.

Calling and messaging are priced from the country the subscriber is in. That is the market by default — a subscriber at home. Add servingCountry to price the same market's plan while roaming: market=DE&servingCountry=DK is a German plan used in Denmark, and the response echoes the servingCountry it priced from. ROAMING_DATA has no single serving country — it returns a per-MB price for every visited country — so it ignores the parameter and answers with servingCountry: null.

Calls and messages are priced outbound by default — what the subscriber pays to reach each destination. Add direction=inbound for the other leg: what the subscriber pays when someone in each country reaches them, which is chargeable while roaming. The response echoes the direction it priced; ROAMING_DATA has none and answers with direction: null.

Every country is listed, and a country that costs the subscriber nothing carries ratePerUnit: 0 rather than being left out. That covers both a route priced free — calls inside the EU/EEA, under roam-like-at-home — and one we publish no pay-as-you-go price for, such as a roaming-data country included in the plan. For calling and messaging the serving country itself is not listed, since a call that stays inside it is not an international one.

Prices are those in effect today. Add asOfDate (YYYY-MM-DD) to read the list for another day — for instance, a price change scheduled to take effect next month. The response echoes the asOfDate it priced. The provider is always the one serving the market today.

A market no provider serves answers 403 COUNTRY_NOT_SUPPORTED.

Scope: rates:read.

get/v1/rates

Request

  • Base URL
    https://api.telgea.com
  • Auth
    API key in header x-api-key

Query parameters

marketstring required

The home-plan market to price, as an ISO 3166-1 alpha-2 country code. The provider is resolved internally.

Example:DK
type'INTL_VOICE' | 'INTL_SMS' | 'INTL_MMS' | 'ROAMING_DATA' required

The rate type to price: INTL_VOICE (per minute), INTL_SMS / INTL_MMS (per message), or ROAMING_DATA (per MB)

Example:INTL_VOICE
servingCountrystring

The country the subscriber is calling from, when it differs from the market (roaming). Defaults to the market, which prices calls placed at home. Ignored for ROAMING_DATA, which prices every visited country in one list.

Example:DK
direction'outbound' | 'inbound'

Which leg of a call or message to price: outbound — the subscriber calls or texts the destination — or inbound — someone in that country reaches the subscriber, which is chargeable while roaming. Defaults to outbound. Ignored for ROAMING_DATA.

Example:outbound
asOfDatestring date

The day to price (YYYY-MM-DD): the rates in effect then. Defaults to today, so a price scheduled to take effect later is never quoted early. The provider is the one serving the market today.

Example:2026-10-01

Response

Successfully retrieved the retail rates for the market.

marketstring required

The market that was priced.

servingCountrystring nullable required

The country the calls were priced from — the requested one, or the market when none was sent. Null for ROAMING_DATA, which prices each visited country in rates.

direction'outbound' | 'inbound' | 'null' nullable required

The direction the list was priced for — the requested one, or outbound when none was sent. Null for ROAMING_DATA, which has no direction.

asOfDatestring date required

The day the list was priced for — the requested one, or today when none was sent.

Example response

{
  "market": "DE",
  "servingCountry": "DE",
  "direction": "outbound",
  "asOfDate": "2026-09-18",
  "rates": [
    {
      "country": "DE",
      "ratePerUnit": 0.12,
      "unit": "minutes",
      "currency": "EUR",
      "validFrom": "2026-01-01"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.