---
title: "Search voice termination rates by destination prefix"
method: GET
path: "/rates/{id}/search"
tags: ["Rates"]
---

# Search voice termination rates by destination prefix

`GET /rates/{id}/search`

## Request

- Base URL: `https://api.commpeak.com/portal`
- URL: `https://api.commpeak.com/portal/rates/{id}/search`
- Auth: API key in header `Authorization`

Returns the voice termination rates from the latest call plan of the given 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. Use `current` as the id to refer to the customer's default tech prefix; returns 404 when the tech prefix is not assigned to the account.

## Path parameters

- `id` string, required: Tech prefix (or "current" for the customer's default prefix).

## Query parameters

- `prefix` string, required: Destination prefix to filter rates by (begins with).

## Response `200`

Successful Response

- VoiceRatesResponse: Voice rates wrapper returned by `/portal/rates/*` endpoints.
  - `rates` VoiceRateItem[], required
    - `prefix` string, required: Destination dial prefix (E.164 without "+").
    - `destination` string, required: Human-readable destination name (country + network).
    - `price` number, required: Price per minute in customer currency.
    - `block` string, nullable: Billing increment as "initial/subsequent" seconds, e.g. "60/1" or "6/6".

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/commpeak/apis/commpeak-portal-api.md) - [All operations](https://skmtc.dev/commpeak/apis/commpeak-portal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/commpeak/apis/commpeak-portal-api/revisions/df57b0c16367?raw)
