Rates

Search voice termination rates of the default tech prefix by destination prefix

Returns the voice termination rates from the latest call plan of the customer's default tech prefix whose destination prefix begins with prefix — e.g. 1212 returns New York City destinations. Use it to look up the price of a specific country or number range without fetching the whole plan.

get/rates/current/search

Request

  • Base URL
    https://api.commpeak.com/portal
  • URL
    https://api.commpeak.com/portal/rates/current/search
  • Auth
    API key in header Authorization

Query parameters

prefixstring required

Destination prefix to filter rates by (begins with).

Response

Successful Response

Example response

{
  "rates": [
    {
      "block": "6/6",
      "destination": "United States - Fixed - USA Fixed/mobile",
      "prefix": "1",
      "price": 0.00675
    },
    {
      "block": "6/6",
      "destination": "United States - Fixed - New York",
      "prefix": "1212",
      "price": 0.00675
    }
  ]
}

Changes

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