ideal-postcodes/postcodes.io
UK postcode & geolocation API, serving up open data observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 94
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 11.5
- age_days: 4612
- days_rel: 84
- days_push: 37
- n_releases_24m: 23
Adoption not part of the score
1401 stars · 282 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Postcodes.io is a free, open-source UK postcode lookup and geocoding API serving ONS Postcode Directory, Ordnance Survey Open Names, and Scottish Postcode Directory data over HTTP. It can be used via the public API or self-hosted with Docker using a pre-seeded PostgreSQL/PostGIS database.
Use cases
- look up a UK postcode and get administrative and geographic data
- reverse geocode lat/long coordinates to the nearest postcode
- autocomplete and search UK postcodes from partial input
- find nearest postcodes to a given location
- validate UK postcodes in a form
- bulk postcode lookup and reverse geocoding
- self-host a free UK postcode API with Docker
When to choose
- you need free UK postcode lookup, validation, or geocoding without authentication
- you want to self-host postcode data with Docker and PostGIS
- you need bulk reverse geocoding or nearest-postcode queries
- you want open data with administrative, electoral, and NHS region details
When to avoid
- you need rooftop-level or property-level address precision (use a commercial geocoder)
- you need non-UK or international postcode coverage
- you need daily Royal Mail-fresh address data or dedicated support
- commercial use of Northern Ireland (BT) postcode data without a licence from NI Land & Property Services
Facets
service · maturity active
http-server search-engine geospatial api-framework self-hosted apis self-hosted developer-tools self-hosted uk-postcodes geocoding reverse-geocoding postcode-lookup open-data postgis rest-api autocomplete maps geospatial docker web-server nodejs linux macos
8 sources
- readme: https://github.com/ideal-postcodes/postcodes.io · fetched 2026-08-28 · 73b5a5646f83
- homepage: https://postcodes.io · fetched 2026-08-29 · 2df78df388e2
- site_page: https://postcodes.io/docs/overview · fetched 2026-08-29 · c12d58fc760e
- site_page: https://postcodes.io/docs/api · fetched 2026-08-29 · c6af98e48536
- site_page: https://postcodes.io/docs/postcode/lookup · fetched 2026-08-29 · 661bbcf73ef5
- site_page: https://postcodes.io/docs/self-host · fetched 2026-08-29 · c56591807372
- site_page: https://postcodes.io/docs/licences · fetched 2026-08-29 · 2b16c13cdd9c
- site_page: https://postcodes.io/docs/libraries · fetched 2026-08-29 · 43e6cabdc0b6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ideal-postcodes/postcodes.io | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="ideal-postcodes/postcodes.io")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem