This is a free API. Postcodes.io is aimed at developers who want a resource to lookup and (reverse) geocode UK Postcodes.

Community API Libraries


postcodes_io by Deepak Sunanda Prabhakar


postcodes-io-bundle by the people at Box UK. Read the blog post
(adityamenon) postcodes-io laravel package by Aditya Menon
PHP Class for Postcodes.io by Ryan
(jabranr) postcodes-io by Jabran Rafique


postcodes_io by James Ruston uk_postcodes_io by Rob Nichols (M&S Venture Labs)


postcodesio-client-node by @billinghamj


PythonPostcodesWrapper by Gokhan Karadas
postcodes_io_api by Rohit Deshmukh (Python Package)


MarkEmbling.PostcodesIO by Mark Embling


PostcodesioR by Eryk Walczak. Read the blog post


HackPostcodes by Matt Barber

Wolfram Language

postcode by Arnoud Buzing

Google Sheets Addon

UK Postcode Geocoder by Ed Patrick


Perl example provided by digdilem

Noticeboard for 2019

Any updates or disruptions will be listed below.

  • No issues to date


Leave your email with us to receive critical service information for Postcodes.io


Chat: chat.ideal-postcodes.co.uk

Email: support@ideal-postcodes.co.uk

Twitter: @IdealPostcodes


For bugs and feature requests use our GitHub issue tracker.


  ONS Postcode Directory OS Open Names
Release Date February 2019 January 2019
Data Points 1,762,257 (-0.2%) 42,930 (+726)

Beyond the dates listed above, please be aware that the real world dataset may change. Existing postcodes and places may be amended or discontinued. This information will not be captured until the next available update.


Postcodes.io is available under the MIT Licence

Great Britain postcode data may be used under the terms of the OS OpenData licence

Northern Ireland postcode data (i.e. beginning "BT") may be used under the terms of the ONSPD licence. Non-commercial use is free. Commercial use requires a licence from NI Land & Property Services

Contains Ordnance Survey data © Crown copyright and database right 2019

Contains Royal Mail data © Royal Mail copyright and database right 2019

Contains National Statistics data © Crown copyright and database right 2019