Postcode lookup & Geolocation for the UK.
Postcodes.io is an open-source API for validating, searching, and geolocating UK postcodes. It provides administrative and geospatial data tied to postcodes, including region and boundary details, and supports methods such as postcode validation, nearest-postcode lookup, outward code lookup, autocomplete, and bulk reverse geocoding of latitude/longitude coordinates into nearest postcode areas. Data is updated with information from Ordnance Survey and the Office for National Statistics as it becomes available.
The project is MIT licensed and maintained on GitHub, where it can be forked, self-hosted, or contributed to. It is aimed at developers building applications that need UK postcode lookup and geocoding functionality.
For applications requiring broader coverage across the whole UK and its territories, international datasets, rooftop geocodes, UPRNs, property-level precision, daily data updates from Royal Mail and other providers, or dedicated support, the page points to a related paid service, Ideal Postcodes.
Yes, Postcodes.io is described as a free and reliable tool for UK postcode lookup and geocoding.
Yes, it is open source under the MIT license and maintained on GitHub, where it can be forked or self-hosted.
It is regularly updated with the latest data from Ordnance Survey and the Office for National Statistics when it becomes available.
Ideal Postcodes, from the same maintainers, offers whole-UK and international datasets, rooftop geocodes, UPRNs, daily updates, and dedicated support for high-demand applications.
It offers convenient methods such as postcode validation, bulk reverse geocoding, and autocomplete.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
A crowdsourced map of public pinball machines.
Pointpin is a simple yet powerful API designed for high traffic websites to deliver fast and reliable IP geolocation for your websites and applications.
Mexico Zip Codes API.
Proweblook lookup & Geolocation.
Get information about countries via a RESTful API.
Cities content & photos API.