Area code & phone number API

A free, no-key JSON API for North American (NANP) area codes and phone numbers — region, cities, time zone, carrier, overlays, and scam/spoofing context. Sourced from the official NANPA database; built for developers and AI agents.

Quick start

Base URL https://areacode.fyi/api/v1 — no key, CORS-enabled.

curl https://areacode.fyi/api/v1/area-code/702

Endpoints

  • GET /api/v1/area-code/{npa} — region, cities, time zone, overlays, carrier summary. example
  • GET /api/v1/phone/{number} — parse & validate a NANP number. example
  • GET /api/v1/carrier/{number} — assigned carrier & line type (block allocation, not live). example
  • GET /api/v1/area-codes?city= or ?state= — codes for a city or state. example
  • GET /api/v1/scam/{npa}, /explain/{topic}, /reputation/{number}

Every response includes source, canonical_url, and data_date. Area-code-level reference only — not caller identity or live carrier.

MCP server for AI agents

Sourced from the official NANPA (North American Numbering Plan Administrator) numbering database, current as of June 20, 2026. Refreshed monthly.