get_exchange
Look up a single NANP NPA-NXX exchange/prefix. Use when the user has an area code plus exchange such as 425-555, or when deriving the prefix from a phone number is unnecessary. Set include_blocks=true when the user needs portability/pooling detail, the responsible carrier may vary by thousands digit, or the answer should show all block-level assignments. TelcoData fields commonly include npa, exchange/NXX, thousands, state, country, ratecenter, company, ocn, lata, switch CLLI, and tandem CLLI. A thousands value of -1 represents the whole prefix/default aggregate; 0-9 are individual thousand-number pooling blocks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npa | Yes | 3-digit NANP area code. | |
| nxx | Yes | 3-digit NANP central-office/exchange code. | |
| api_key | No | TelcoData API key. Optional if TELCODATA_MCP_API_KEY is set or the HTTP MCP request provides Authorization/X-API-Key. | |
| include_blocks | No | Include individual thousands-block rows for number-pooling detail. |