{"uid":"cap_inS-71nck2Gox7422Od9Z","slug":"bizintel-api-postal-code-lookup-54dcf12e","name":"BizIntel API – Postal Code Lookup","description":"Resolves city, state, and coordinates for a postal/zip code using the Zippopotam registry.","url":"https://bizintel-api.hahavoid0.workers.dev/geography/postal-code","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["country","zip"],"properties":{"zip":{"type":"string","description":"Postal or ZIP code"},"country":{"type":"string","default":"US","description":"2-character country code (e.g. US, CA, DE)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{"city":"Beverly Hills","state":"California"},"warnings":[],"supported":true,"confidence":"high","data_as_of":"2026-06","disclaimer":"Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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_KWnNYUg9mtCiMeMNNvIm1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves a postal/ZIP code and country into city and state/region information with confidence scoring","exampleAgentPrompt":"What city and state does the ZIP code 90210 belong to in the US?","exampleUseCases":[{"title":"Address form auto-fill","prompt":"I have a customer who entered ZIP code 10001 — can you look up what city and state that corresponds to so I can pre-fill their shipping form?"},{"title":"Lead enrichment by postal code","prompt":"I have a list of B2B leads with only their ZIP codes. Can you look up the city and state for ZIP code 94105 in the US?"},{"title":"Canadian postal code resolution","prompt":"What city does postal code M5V correspond to in Canada? I need to figure out where this office location is."}],"resultDescription":"Returns the resolved city name and state/region for the given postal code and country, along with a confidence level (e.g. 'high'), a supported flag indicating whether the postal code was recognized, optional warnings, and a data freshness date.","failureModes":["Unsupported postal code returns supported:false with empty city/state fields","Invalid or malformed ZIP/postal code may return low confidence or no result","Unsupported country codes may return supported:false","Network or worker errors may return HTTP 5xx","Payment failure via x402 if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call postal code to city/state lookup without managing an API key, especially within an agentic workflow already using x402 micropayments on Base. Ideal for lightweight address enrichment, lead data normalization, or shipping form auto-fill where full geocoding (lat/lon) is not required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:31:47.857Z","isFirstParty":false}