lookup_postal_code
Look 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, 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. Covers United States (ZIP), France, Algeria, Tunisia and Morocco.
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 |