{"api":{"id":"api_3d430ec8ff85c51945bd09cb","slug":"phone-prefix-carrier-lookup","name":"Phone Prefix Carrier & Rate Center API","description":"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.","kind":"ready_made","visibility":"public","domain":"localcallingguide.com","source_url":"https://localcallingguide.com/xmlprefix.php","category":"developer","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":14,"created_at":"2026-12-06T03:57:27.698Z","updated_at":"2026-12-06T03:57:27.698Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"npa","type":"string","description":"Area code.","required":false,"coverage":1,"example":"416"},{"name":"nxx","type":"string","description":"Exchange (the next three digits).","required":false,"coverage":1,"example":"979"},{"name":"block","type":"string","description":"Block letter within the exchange, when the exchange is split; A when not.","required":false,"coverage":1,"example":"A"},{"name":"carrier","type":"string","description":"Name of the carrier the block was assigned to.","required":false,"coverage":1,"example":"BELL ONTARIO"},{"name":"ocn","type":"string","description":"Operating company number of that carrier.","required":false,"coverage":1,"example":"8051"},{"name":"carrier_type","type":"string","description":"Carrier type: ILEC, CLEC, wireless or the source's own code.","required":false,"coverage":1,"example":"ILEC"},{"name":"ilec","type":"string","description":"Name of the incumbent local exchange carrier in that area.","required":false,"coverage":1,"example":"BELL ONTARIO"},{"name":"rate_center","type":"string","description":"Rate centre name.","required":false,"coverage":1,"example":"Toronto"},{"name":"region","type":"string","description":"State or province code.","required":false,"coverage":1,"example":"ON"},{"name":"lata","type":"string","description":"LATA code.","required":false,"coverage":1,"example":"888"},{"name":"switch","type":"string","description":"Switch identifier (CLLI code).","required":false,"coverage":1,"example":"TOROON63DS9"},{"name":"latitude","type":"number","description":"Latitude of the rate centre.","required":false,"coverage":1,"example":43.651804},{"name":"longitude","type":"number","description":"Longitude of the rate centre.","required":false,"coverage":1,"example":-79.382535},{"name":"updated","type":"datetime","description":"When the source last updated this block (UTC).","required":false,"coverage":1,"example":"2024-01-14T02:49:04.000Z"}],"inputs":[{"name":"prefixes","type":"array","description":"North American area code and exchange (NPA-NXX), such as 416-979, or full phone numbers: only the first 6 digits are used.","example":["416-979"],"required":true}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"block":{"description":"Block letter within the exchange, when the exchange is split; A when not.","type":"string"},"carrier":{"description":"Name of the carrier the block was assigned to.","type":"string"},"carrier_type":{"description":"Carrier type: ILEC, CLEC, wireless or the source's own code.","type":"string"},"ilec":{"description":"Name of the incumbent local exchange carrier in that area.","type":"string"},"lata":{"description":"LATA code.","type":"string"},"latitude":{"description":"Latitude of the rate centre.","type":"number"},"longitude":{"description":"Longitude of the rate centre.","type":"number"},"npa":{"description":"Area code.","type":"string"},"nxx":{"description":"Exchange (the next three digits).","type":"string"},"ocn":{"description":"Operating company number of that carrier.","type":"string"},"rate_center":{"description":"Rate centre name.","type":"string"},"region":{"description":"State or province code.","type":"string"},"switch":{"description":"Switch identifier (CLLI code).","type":"string"},"updated":{"description":"When the source last updated this block (UTC).","format":"date-time","type":"string"}},"required":[],"title":"Phone Prefix Carrier & Rate Center API","type":"object"},"samples":[{"npa":"416","nxx":"979","block":"A","carrier":"BELL ONTARIO","ocn":"8051","carrier_type":"ILEC","ilec":"BELL ONTARIO","rate_center":"Toronto","region":"ON","lata":"888","switch":"TOROON63DS9","latitude":43.651804,"longitude":-79.382535,"updated":"2024-01-14T02:49:04.000Z"},{"npa":"212","nxx":"221","block":"A","carrier":"VERIZON NEW YORK, INC.","ocn":"9104","carrier_type":"ILEC","ilec":"VERIZON NEW YORK, INC.","rate_center":"New York City Zone 01","region":"NY","lata":"132","switch":"NYCMNY42RP1","latitude":40.739362,"longitude":-73.991043,"updated":"2024-01-14T02:49:04.000Z"},{"npa":"905","nxx":"272","block":"A","carrier":"BELL ONTARIO","ocn":"8051","carrier_type":"ILEC","ilec":"BELL ONTARIO","rate_center":"Cooksville","region":"ON","lata":"888","switch":"CKVLON17DS2","latitude":43.581316,"longitude":-79.614484,"updated":"2024-01-14T02:49:04.000Z"}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"block":1,"carrier":1,"carrier_type":1,"ilec":1,"lata":1,"latitude":1,"longitude":1,"npa":1,"nxx":1,"ocn":1,"rate_center":1,"region":1,"switch":1,"updated":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_3d430ec8ff85c51945bd09cb/run","openapi":"https://pullrow.dev/v1/apis/api_3d430ec8ff85c51945bd09cb/openapi.json","contract":"https://pullrow.dev/v1/apis/api_3d430ec8ff85c51945bd09cb/contract.json","page":"https://pullrow.dev/catalog/phone-prefix-carrier-lookup"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["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."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"npa","label":"Npa","description":"Area code.","group":"Basics","shown":true,"written":false},{"name":"nxx","label":"Nxx","description":"Exchange (the next three digits).","group":"Basics","shown":true,"written":false},{"name":"block","label":"Block","description":"Block letter within the exchange, when the exchange is split; A when not.","group":"Basics","shown":true,"written":false},{"name":"carrier","label":"Carrier","description":"Name of the carrier the block was assigned to.","group":"Basics","shown":true,"written":false},{"name":"ocn","label":"Ocn","description":"Operating company number of that carrier.","group":"Basics","shown":true,"written":false},{"name":"carrier_type","label":"Carrier type","description":"Carrier type: ILEC, CLEC, wireless or the source's own code.","group":"Basics","shown":true,"written":false},{"name":"ilec","label":"Ilec","description":"Name of the incumbent local exchange carrier in that area.","group":"Basics","shown":true,"written":false},{"name":"rate_center","label":"Rate center","description":"Rate centre name.","group":"Basics","shown":true,"written":false},{"name":"region","label":"Region","description":"State or province code.","group":"Location","shown":true,"written":false},{"name":"lata","label":"LATA code","description":"","group":"Basics","shown":true,"written":false},{"name":"switch","label":"Switch identifier","description":"","group":"Basics","shown":true,"written":false},{"name":"latitude","label":"Latitude","description":"Latitude of the rate centre.","group":"Location","shown":true,"written":false},{"name":"longitude","label":"Longitude","description":"Longitude of the rate centre.","group":"Location","shown":true,"written":false},{"name":"updated","label":"Updated","description":"When the source last updated this block (UTC).","group":"Dates","shown":true,"written":false}],"inputs":[{"name":"prefixes","label":"Prefixes","help":"North American area code and exchange (NPA-NXX), such as 416-979, or full phone numbers: only the first 6 digits are used.","example":"416-979","written":false}]}},"incidents":[]}