{"uid":"cap_wYANEuDlxq7n6GzIOjQNK","slug":"agenttools-us-area-code-lookup-35d16f78","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://agenttools-hub.vercel.app/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.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AR3AnjKcbCHRxsgKn69yS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 served by a telephone area code, or list all area codes for a given state, covering all 404 NANP codes including overlays.","exampleAgentPrompt":"What US state does area code 312 belong to? And can you also list all the area codes assigned to Illinois?","exampleUseCases":[{"title":"Identify caller's home state","prompt":"I just got a call from a number starting with 808 — what US state or territory does that area code belong to?"},{"title":"List all area codes for a state","prompt":"Can you give me a complete list of all telephone area codes assigned to Florida, including any overlay codes?"},{"title":"Enrich CRM records with state data","prompt":"I have a phone number with area code 617 — can you tell me what state that area code is in so I can tag the contact's location?"}],"resultDescription":"Returns the US state or territory associated with a given area code, or a list of all area codes (with state associations) for a specified state. Covers all 404 active NANP codes including overlay codes.","failureModes":["Invalid or non-existent area code returns empty or error response","Non-US/NANP codes (e.g. international numbers) are not covered","Missing required query parameters may return a 400 error","Rate limits or payment failures return 402 or 429 errors"],"whenToPreferThis":"Use this endpoint when you need a fast, comprehensive NANP area code to US state mapping or reverse listing. Prefer this over general-purpose geocoding APIs when the input is specifically a telephone area code prefix and the output needed is state/territory identity rather than city-level or coordinate data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:42:53.742Z","isFirstParty":false,"canonicalSlug":"agenttools-us-area-code-lookup-35d16f78"}