Postcodes.io is an open-source HTTP API for querying UK postcode and geolocation data. It serves information derived from datasets including the ONS Postcode Directory, Ordnance Survey Open Names, and the Scottish Postcode Directory. Developers can retrieve administrative and geographic details for individual postcodes and outward codes. The API also supports postcode search, autocomplete, reverse geocoding, nearest-postcode queries, and lookups for terminated postcodes. Bulk endpoints allow multiple postcode or coordinate queries to be processed together. The service runs against a prebuilt PostgreSQL/PostGIS database supplied by a separate data pipeline. It can be used through the public API or self-hosted locally with Docker.

Features

  • Individual postcode and outward code lookup
  • Postcode search and autocomplete
  • Reverse postcode geocoding
  • Nearest postcode discovery
  • Terminated postcode lookup
  • Bulk postcode lookup and reverse geocoding

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Postcodes.io

Postcodes.io Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Postcodes.io!

Additional Project Details

Programming Language

TypeScript

Registered

2026-09-10