{"uid":"cap_n4Z8sWnPxJmW8mkLtppcG","slug":"api-strale-io-a5b21121","name":"Postal Code / ZIP Code Location Lookup","description":"Look up location information from a postal/ZIP code. Returns city, region/state, and approximate coordinates. Covers 60+ countries via Zippopotam.us.","url":"https://api.strale.io/x402/postal-code-lookup","method":"GET","headers":{},"bodySchema":{"type":"object","required":["postal_code"],"properties":{"postal_code":{"type":"string","description":"Postal/ZIP code to look up"},"country_code":{"type":"string","description":"ISO 2-letter country code (default US)"}}},"responseSchema":{"valid":{"type":"boolean"},"places":{"type":"array"},"postal_code":{"type":"string"},"country_code":{"type":"string"},"country_name":{"type":"string"}},"example":{"request":{"postal_code":"90210","country_code":"US"},"response":{"_meta":{"payment":{"method":"x402","price_usd":0.0216,"settlement_id":"0xeb0b21707f2a8158e4f7982e8c4f18fc1d8314bcd05b615427f133b277c83ea0"},"capability":"postal-code-lookup","latency_ms":27,"provenance":{"source":"zippopotam.us","fetched_at":"2026-06-13T04:25:17.359Z"}},"valid":true,"places":[{"name":"Beverly Hills","state":"California","latitude":34.0901,"longitude":-118.4065,"state_abbreviation":"CA"}],"postal_code":"90210","country_code":"US","country_name":"United States"}},"exampleRequest":{"postal_code":"90210","country_code":"US"},"tags":["x402"],"displayCostAmount":"0.0216","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0216/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ym_6d3z0UNBRtPoaj4vuJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0216","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns city, region/state, and approximate coordinates for a given postal or ZIP code, covering 60+ countries.","exampleAgentPrompt":"What city and state does ZIP code 90210 belong to in the US, and what are its approximate coordinates?","exampleUseCases":null,"resultDescription":"Returns the city name, region or state, country, and approximate geographic coordinates (latitude/longitude) associated with the given postal code. Covers postal systems across 60+ countries via Zippopotam.us.","failureModes":["Invalid or non-existent postal code returns an error or empty result","Country code not supported returns no data","Missing required postal_code parameter returns validation error","Postal code format mismatch for the given country (e.g. wrong length) may return no results","Payment failure (x402) results in 402 response blocking the lookup"],"whenToPreferThis":"Use this endpoint when you need to resolve a postal or ZIP code to human-readable location data (city, region) and/or approximate coordinates, especially for international addresses across 60+ countries. Prefer this over full geocoding APIs when you only have a postal code and need fast, lightweight enrichment without a full street address.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:45:08.324Z","isFirstParty":false}