Phone Prefix Carrier & Rate Center API
For North American phone number blocks (area code plus exchange), the original carrier, carrier type, local exchange carrier, rate centre, region, LATA, switch and rate-centre coordinates.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from localcallingguide.com/xmlprefix.php
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/phone-prefix-carrier-lookup/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"prefixes":["416-979"]},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
14 fields.
Basics
- Npa
Area code.
Example 416
- Nxx
Exchange (the next three digits).
Example 979
- Block
Block letter within the exchange, when the exchange is split; A when not.
Example A
- Carrier
Name of the carrier the block was assigned to.
Example BELL ONTARIO
- Ocn
Operating company number of that carrier.
Example 8051
- Carrier type
Carrier type: ILEC, CLEC, wireless or the source's own code.
Example ILEC
- Ilec
Name of the incumbent local exchange carrier in that area.
Example BELL ONTARIO
- Rate center
Rate centre name.
Example Toronto
- LATA code
Example 888
- Switch identifier
Example TOROON63DS9
Location
- Region
State or province code.
Example ON
- Latitude
Latitude of the rate centre.
Example 43.651804
- Longitude
Longitude of the rate centre.
Example -79.382535
Dates
- Updated
When the source last updated this block (UTC).
Example Jan 14, 2024
Technical detailsField names and types for developers
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
npa | text | Npa | 3 of 3 |
nxx | text | Nxx | 3 of 3 |
block | text | Block | 3 of 3 |
carrier | text | Carrier | 3 of 3 |
ocn | text | Ocn | 3 of 3 |
carrier_type | text | Carrier type | 3 of 3 |
ilec | text | Ilec | 3 of 3 |
rate_center | text | Rate center | 3 of 3 |
region | text | Region | 3 of 3 |
lata | text | LATA code | 3 of 3 |
switch | text | Switch identifier | 3 of 3 |
latitude | number | Latitude | 3 of 3 |
longitude | number | Longitude | 3 of 3 |
updated | date and time | Updated | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Npa | Nxx | Block | Carrier | Ocn | Carrier type | Ilec | Rate center | LATA code | Switch identifier | Region | Latitude | Longitude | Updated |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 416 | 979 | A | BELL ONTARIO | 8051 | ILEC | BELL ONTARIO | Toronto | 888 | TOROON63DS9 | ON | 43.651804 | -79.382535 | Jan 14, 2024 |
| 2 | 212 | 221 | A | VERIZON NEW YORK, INC. | 9104 | ILEC | VERIZON NEW YORK, INC. | New York City Zone 01 | 132 | NYCMNY42RP1 | NY | 40.739362 | -73.991043 | Jan 14, 2024 |
| 3 | 905 | 272 | A | BELL ONTARIO | 8051 | ILEC | BELL ONTARIO | Cooksville | 888 | CKVLON17DS2 | ON | 43.581316 | -79.614484 | Jan 14, 2024 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Gives the carrier a block was originally assigned to, not the carrier a number is on today: ported numbers are not reflected.
- One block is one record; an exchange split into several blocks returns several records. Unassigned exchanges return no record.
- Only North American (NANP) numbers are covered. Only the first 6 digits (area code and exchange) of each entry are used, and at most 500 prefixes are read per run.
- Carrier type is shown as ILEC, CLEC, wireless or other as the source labels it, and may be empty for some blocks. Rate centre coordinates are for the rate centre, not for a street address.
- The source is a volunteer-run site with no published API terms. We keep to one request per second across all runs, so 500 prefixes take about 9 minutes; results are as the source last updated them (see the updated field).
- Not affiliated with or endorsed by the Local Calling Guide.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.