Postcode & Geolocation API for the UK

Free, Open Source and based solely on Open Data


Open Source

MIT licensed. Maintained and freely available onGithub.Fork it, make a contribution or even set up your own


Regularly Updated

Updated with the latest data from Ordnance Survey and Office for National Statistics when it becomes available


Convenient Methods

Simple, useful and self-explanatory API methods like bulk reverse geocoding, autocomplete and validation

API Endpoint & Methods

Lookup a postcode

Bulk lookup postcodes

Get nearest postcodes for a given longitude & latitude

Bulk Reverse Geocoding

Get a random postcode

Validate a postcode

Nearest postcodes for postcode

Autocomplete a postcode partial

Query for postcode

Lookup terminated postcode

Lookup Outward Code

Nearest outward code for outward code

Get nearest outward codes for a given longitude & latitude