Zippopotam.us
Postal-code lookup across 60+ countries returning place name, state, latitude, and longitude. The lightest way to turn a ZIP into coordinates without a geocoding key.
🟢 Online · 56 ms
100%
Unlimited, no key, no credit card
No key required
Is Zippopotam.us down right now?
No — Zippopotam.us was up at our last check (Sun, 29 Nov 2026 07:41 UTC): HTTP 200 in 56 ms. It answered 100% of our hourly checks over the last 30 days.
We check every tracked API hourly from Cloudflare's network; this page is rebuilt every few hours. For the value right now, query the public JSON API or the MCP server.
Free alternatives (live ranking)
- USGS Earthquake Catalog — 🟢 Online · Unlimited, no key, no credit card
- Postcodes.io — 🟢 Online · Unlimited, no key, no credit card
- REST Countries — 🟢 Online · Unlimited, no key, no credit card
Frequently Asked Questions
Does Zippopotam.us require an API key?
No, Zippopotam.us is freely accessible without registration or an API key.
What is Zippopotam.us's free tier?
Unlimited, no key, no credit card
Is Zippopotam.us down right now?
At our last check (Sun, 29 Nov 2026 07:41 UTC) Zippopotam.us was up, with HTTP 200 in 56 ms. We check it every hour, and it answered 100% of checks over the last 30 days.
Implementation notes
When to use Zippopotam.us
Zippopotam.us turns a postal code into a place name, administrative region and approximate latitude and longitude across 60-plus countries, with one keyless GET such as /us/90210. It also works in reverse for some countries: /us/ma/belmont returns every postal code for that town. Responses are tiny, CORS is open, and they are cached at the edge for hours, so it is fast enough to call on blur from a checkout or signup form. Use it to autofill city and state from a ZIP, to check that a postal code exists before accepting an address, to get rough coordinates for a store locator or weather lookup without a geocoding key, and in teaching examples where Nominatim's 1-request-per-second limit and usage policy are more ceremony than the task needs. It is not an address geocoder: coordinates are centroids for a whole code area, and for several countries only the first part of the code is supported. For UK work, Postcodes.io is far richer.
Common pitfalls
- JSON keys contain spaces: post code, place name, country abbreviation and state abbreviation. Dot access fails, so use bracket notation such as place['place name'], or map the response into your own shape at the fetch boundary.
- Latitude and longitude are strings, not numbers. Convert them explicitly before any arithmetic — JavaScript will concatenate rather than add — and remember they mark the middle of a whole postal area, not a street address.
- ZIP codes must stay strings. 02134 resolves to Allston, Massachusetts; 2134 is a 404, because the leading zero is significant. Any pipeline that stored ZIPs as integers, as spreadsheets do by default, silently breaks every code in New England, New Jersey and Puerto Rico.
- Some countries accept only part of the code. Great Britain answers for the outward code (SW1A) and 404s on a full postcode like SW1A 1AA; Canada takes only the first three characters (M5V) and the Netherlands the four digits. Trim input to the supported prefix per country, and expect coarse centroids — the point returned for SW1A sat several kilometres from the area it names.
- Every miss is a 404 with an empty JSON object and no reason, so a malformed code, an unsupported country and a code that does not exist look identical. Validate the format per country client-side so you can tell users what is actually wrong.
Quick start (bash)
# keys contain spaces and coordinates are strings
curl -s 'https://api.zippopotam.us/us/02134' | jq '.places[0] | {city: .["place name"], state: .["state abbreviation"], lat: (.latitude | tonumber), lon: (.longitude | tonumber)}'
# reverse lookup: every postal code for a town
curl -s 'https://api.zippopotam.us/us/ma/belmont' | jq '[.places[]["post code"]]'
# GB and CA accept only the first part of the code
curl -s 'https://api.zippopotam.us/ca/M5V' | jq '.places[0]["place name"]' Embed this badge
Add a live status badge to your README, docs, or website.
Markdown
[](https://freeapi.watch/zippopotam) HTML
<a href="https://freeapi.watch/zippopotam"><img src="https://api.freeapi.watch/badge/zippopotam.svg" alt="Zippopotam.us Status"/></a>