geonames.postal.lookup
mock data$0.001 / callGeoNames Postal Code Lookup
Look up postal / ZIP codes and their place names across 100+ countries using the GeoNames database. Search by postal code (e.g. "10001" for NYC, "SW1A 1AA" for London, "75001" for Paris) or by place name. Returns matching postal codes with lat/lng, admin area names, and ISO-3166-2 subdivision codes. Use the country filter (ISO-3166 2-letter) to narrow results. Covers US, UK, Germany, France, Australia, Canada, Japan, India, Brazil, and 90+ more. CC BY 4.0 open data, no upstream cost.
Input schema
ISO-3166 2-letter country code to restrict the postal code search (e.g. "US", "GB", "DE")
Maximum number of results to return (default 10, max 1000)
Place or city name to search postal codes for (e.g. "Berlin", "Sydney"). Use with country for best results.
Postal / ZIP code to look up (e.g. "10001" for New York, "SW1A 1AA" for London)
Call via REST
curl -X POST https://unifyapi.pro/api/call/geonames.postal.lookup \
-H "Authorization: Bearer uak_live_..." \
-H "Content-Type: application/json" \
-d '{"country":"<country>","max_rows":0,"place_name":"<place_name>","postal_code":"<postal_code>"}'