{"uid":"cap_mzlSlY_rYiQTWbfUh2-Y3","slug":"agenttools-us-area-code-lookup-8eebbd0d","name":"AgentTools US Area Code Lookup","description":"Look up any US telephone area code to find the state or territory it serves, or list every area code in a given state. Covers all 404 NANP codes in use, including overlays. Use this when an agent needs to all 404 NANP area codes → state lookup.","url":"https://agentstoolshub.com/api/v1/databases/area-codes?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"code":{"type":"string","description":"Leave empty to list by state instead"},"limit":{"type":"number","description":"Max rows"},"state":{"type":"string","description":"State filter"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Rc_5hDO73l74Hmph-c0xs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Look up the US state or territory for a given telephone area code, or list all area codes for a given state, covering all 404 NANP codes including overlays.","exampleAgentPrompt":"What state is area code 415 in? Also, can you list all the area codes used in Texas?","exampleUseCases":[{"title":"Identify caller location by area code","prompt":"Someone just called me from a number starting with 617 — what state or region does that area code belong to?"},{"title":"List all area codes for a state","prompt":"Can you pull up every area code currently in use in California, including any overlays?"},{"title":"Validate phone number geographic origin","prompt":"I have a customer phone number with area code 939 — is that a valid US area code and what territory does it serve?"}],"resultDescription":"Returns the state or territory associated with a given area code, or a list of area codes (with their associated states) filtered by state. Covers all 404 active NANP area codes including overlay codes.","failureModes":["Invalid or non-existent area code returns empty result or error","State name misspelling or incorrect abbreviation may return no results","Requesting a Canadian or other NANP country code may return no match since coverage focuses on US territories","Exceeding the limit parameter may truncate results without warning"],"whenToPreferThis":"Choose this endpoint when you need authoritative US/territory area code to state mapping, especially if you need to handle overlay codes or enumerate all area codes for a given state. It covers all 404 active NANP US codes and is purpose-built for this lookup, making it more reliable than scraping or general-purpose geocoding APIs for phone number geography.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:47:24.054Z","isFirstParty":false,"canonicalSlug":"agenttools-us-area-code-lookup-8eebbd0d"}