Pricing API

Version 1

The API to retrieve pricing information. Please note the Pricing API is rate limited to one request per second.

Download OpenAPI Specification

Retrieve outbound pricing for a specific country.

Retrieves the pricing information based on the specified country.

gethttps://rest.nexmo.com/account/get-pricing/outbound/:type

Path Parameters

type
string
Required

The type of service you wish to retrieve data about: either sms, sms-transit or voice.

Query Parameters

api_key
string

Your Nexmo API key.

api_secret
string

Your Nexmo API secret.

country
string

A two letter country code. For example, CA.

Responses
Content Type
application/json

Pricing information for a specific country.

countryCode
string
exampleCA

Two letter country code.

countryName
string
exampleCanada

Readable country name.

countryDisplayName
string
exampleCanada

Readable country name.

currency
string
exampleEUR

The currency that your account is being billed in (by default Euros—EUR).

defaultPrice
string
example0.00620000

The default price.

dialingPrefix
string
example1

The dialling prefix.

networks
array

An array of network objects

type
string
examplemobile

The type of network: mobile or landline.

price
string
example0.00590000

The cost to send a message or make a call to this network

currency
string
exampleEUR

The currency used for prices for this network.

mcc
string
example302

The Mobile Country Code of the operator.

mnc
string
example530

The Mobile Network Code of the operator.

networkCode
string
example302530

The Mobile Country Code and Mobile Network Code combined to give a unique reference for the operator.

networkName
string
exampleKeewaytinook Okimakanak

The company/organisational name of the operator.

Example Response

{
   "countryCode": "CA",
   "countryName": "Canada",
   "countryDisplayName": "Canada",
   "currency": "EUR",
   "defaultPrice": "0.00620000",
   "dialingPrefix": "1",
   "networks": [
      {
         "type": "mobile",
         "price": "0.00590000",
         "currency": "EUR",
         "mcc": "302",
         "mnc": "530",
         "networkCode": "302530",
         "networkName": "Keewaytinook Okimakanak"
      }
   ]
}

Retrieve outbound pricing for all countries.

Retrieves the pricing information for all countries.

gethttps://rest.nexmo.com/account/get-full-pricing/outbound/:type

Path Parameters

type
string
Required

The type of service you wish to retrieve data about: either sms, sms-transit or voice.

Query Parameters

api_key
string

Your Nexmo API key.

api_secret
string

Your Nexmo API secret.

Responses
Content Type
application/json

Pricing response

count
string
example243

The number of countries retrieved.

countries
array

A list of countries.

countryName
string
exampleCanada

Readable country name.

countryDisplayName
string
exampleCanada

Readable country name.

currency
string
exampleEUR

The currency that your account is being billed in (by default Euros—EUR).

defaultPrice
string
example0.00620000

The default price.

dialingPrefix
string
example1

The dialling prefix.

networks
array

An array of network objects

type
string
examplemobile

The type of network: mobile or landline.

price
string
example0.00590000

The cost to send a message or make a call to this network

currency
string
exampleEUR

The currency used for prices for this network.

mcc
string
example302

The Mobile Country Code of the operator.

mnc
string
example530

The Mobile Network Code of the operator.

networkCode
string
example302530

The Mobile Country Code and Mobile Network Code combined to give a unique reference for the operator.

networkName
string
exampleKeewaytinook Okimakanak

The company/organisational name of the operator.

Example Response

{
   "count": "243",
   "countries": [
      {
         "countryName": "Canada",
         "countryDisplayName": "Canada",
         "currency": "EUR",
         "defaultPrice": "0.00620000",
         "dialingPrefix": "1",
         "networks": [
            {
               "type": "mobile",
               "price": "0.00590000",
               "currency": "EUR",
               "mcc": "302",
               "mnc": "530",
               "networkCode": "302530",
               "networkName": "Keewaytinook Okimakanak"
            }
         ]
      }
   ]
}

Retrieve outbound pricing for a specific dialing prefix.

Retrieves the pricing information based on the dialing prefix.

gethttps://rest.nexmo.com/account/get-prefix-pricing/outbound/:type

Path Parameters

type
string
Required

The type of service you wish to retrieve data about: either sms, sms-transit or voice.

Query Parameters

api_key
string

Your Nexmo API key.

api_secret
string

Your Nexmo API secret.

prefix
string

The numerical dialing prefix to look up pricing for. Examples include 44, 1 and so on.

Responses
Content Type
application/json

Pricing countries response

count
string
example243

The number of countries retrieved.

countries
array

A list of countries.

countryName
string
exampleCanada

Readable country name.

countryDisplayName
string
exampleCanada

Readable country name.

currency
string
exampleEUR

The currency that your account is being billed in (by default Euros—EUR).

defaultPrice
string
example0.00620000

The default price.

dialingPrefix
string
example1

The dialling prefix.

networks
array

An array of network objects

type
string
examplemobile

The type of network: mobile or landline.

price
string
example0.00590000

The cost to send a message or make a call to this network

currency
string
exampleEUR

The currency used for prices for this network.

mcc
string
example302

The Mobile Country Code of the operator.

mnc
string
example530

The Mobile Network Code of the operator.

networkCode
string
example302530

The Mobile Country Code and Mobile Network Code combined to give a unique reference for the operator.

networkName
string
exampleKeewaytinook Okimakanak

The company/organisational name of the operator.

Example Response

{
   "count": "243",
   "countries": [
      {
         "countryName": "Canada",
         "countryDisplayName": "Canada",
         "currency": "EUR",
         "defaultPrice": "0.00620000",
         "dialingPrefix": "1",
         "networks": [
            {
               "type": "mobile",
               "price": "0.00590000",
               "currency": "EUR",
               "mcc": "302",
               "mnc": "530",
               "networkCode": "302530",
               "networkName": "Keewaytinook Okimakanak"
            }
         ]
      }
   ]
}