Postal code lookup
lookup_postal_codeLook up a postal code or US ZIP code. Returns every locality that carries the code with its city, county/administrative division, region (state, département, wilaya…), coordinates, IANA time zone, US telephone area codes, USDA 2023 plant hardiness / planting zone (e.g. 7b with its temperature band), and US Census demographics (population, density and land area, median household and per-capita income, median age, households, housing units, median home value, median gross rent — measured for the ZCTA, the Census approximation of the ZIP area). Each record lists its sources and a verification status (cross-checked | source-single | conflict | unverified); on conflict, alternate_codes gives the competing values and their sources — never pick one silently; tell the user both. Curated coverage (full records): United States (ZIP), Germany, Austria, Spain, France, Algeria, Tunisia, Morocco. All other countries (~115 more: GB, CA, IN, JP, MX, BR…) return bulk-tier records — place name, admin areas and coordinates from GeoNames, marked tier: "bulk" and single-source, without demographics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The postal / ZIP code exactly as written, e.g. "90210", "75001", "16000" | |
| country | Yes | ISO 3166-1 alpha-2 code: US, FR, DZ, TN or MA |