We are announcing today our Get Pricing Developers API, which enables you to retrieve the Nexmo Outbound SMS pricing for a given country among the 200+ supported.
Why it is useful?
The new Get Pricing Developers API solves one of the toughest issues in the wholesale SMS industry: keep your cost base updated in REAL TIME and associate a price with a network, among the 800+ existing in the world. The challenge seems easy but most resellers and large senders of SMS struggle to maintain their cost updated, thus controlling their margins.
Here are some ways to use the API:
- Resellers can add their margins on top of Nexmo wholesale pricing, thus managing both their sales price and cost
- Replaces the heavy manual process of updating networks IDs i.e. MCC MNCs using Nexmo’s list based on the updated wikipedia list
- Integrate Nexmo’s pricing into apps - that can be used along side our Get Balance API
- Integrate Nexmo’s pricing into internal CRM and dashboards
How to?
Simply use the REST following format:
http://rest.nexmo.com/account/get-pricing/outbound/{key}/{secret}/{country-code}
Where {key} is your Nexmo Key, {secret} is your Nexmo Secret and {country-code} is the country code e.g. JE for Jersey
The response is either in XML or JSON and has the following results:
- Country name, e.g. UK
- Prefix, the international country calling code, e.g. 44
- Price, the Nexmo price per SMS in EUR, e.g. 0.035
- List of supported networks including their network ID following the wikipedia MCC MNC list
Here is an example of a JSON response:
{“mt”:”0.03500000”,”country”:”JE”,”name”:”Jersey”,”prefix”:”44”,”networks”:[{“code”:”23460”,”network”:”C&W Jersey”,”mtPrice”:”0.05”},{“code”:”23403”,”network”:”Airtel Jersey”,”mtPrice”:”0.03500000”},{“code”:”23450”,”network”:”Jersey Telecom”,”mtPrice”:”0.03500000”}]}
Enjoy the hack :)
