Description

This function gives you our destination price list.

URL

This is a public API, no login information is needed for this.

Complete list: /routings/index[/csv]
List grouped by destination name: /routings/index/name[/csv]
List of flat rate destinations: /routings/index/flat[/csv]
CSV with only 1 price column: /routings/index/merged
This CSV file will show the national price if one is set, otherwise the international price.

Parameters

You may add /csv to the URL to get the list in a CSV file instead of a JSON string. The last URL always gives a CSV file.

Return

All prices returned by this API are in €cents.
If you opt for a CSV output, you’ll get a table with these headers: Prefix, Name, Price, Homeprice, Faxprice, Mobile, Special (refer to table below for descriptions of these fields).
Otherwise you’ll get a JSON encoded array in the form of:
{"A":[destination1,destination2,...],"B":[destination1,destination2,...],...}
The data is grouped by the first letter of the destination name. Each letter contains an array of destinations which are arrays with these keys:

KeyDescription
idDestination’s unique ID.
nameDestination’s name.
prefixDestination’s number prefix.
priceInternational price.
homepriceNational price. If value is null, there is no national pricing.
faxpriceFax price, no matter if national or international.
smspriceSMS price for messages sent from our user interface or Mail2Sms service, no matter if national or international.
mobileWhether or not this is a mobile destination.
specialWhether or not this is a special destination (e.g. shared cost destinations).
en_USEnglish