| |

Find that Postcode

About this site

This site presents data on UK postcodes and geographical areas, based on open data released by the Office for National Statistics and Ordnance Survey.

It is intended to help the process of enhancing existing data sets, for example by allowing someone to lookup which local authority a postcode is in.

Data sources

Postcode data from ONS used under Open Government License
Contains OS data © Crown copyright and database right 2020
Contains Royal Mail data © Royal Mail copyright and database right 2020
Contains National Statistics data © Crown copyright and database right 2020

Northern Ireland postcodes are included based on the Northern Ireland End User Licence. The licence covers internal use of the data. Commercial use may require additional permission.

Use the API

The API provides programmatic access to the postcode data, using the JSON api specification.

The .json at the end of the url is optional, requests will return json by default unless .html is added.

ONS GSS codes are used for area IDs.

Example requests

Get data on a postcode /postcodes/AB12+3CD.json Example Example HTML
Get data about a postcode nearest
to a latitude, longitude point
/points/51.501009,-0.141588.json Example Example HTML
Get data about an area
Includes 5 random postcodes from the area
/areas/E01000001.json Example Example HTML
Get an area's boundaries as geojson
NB not available for all areas
/areas/E01000001.geojson Example
Get data about a place
Includes 5 random postcodes from the area
/places/IPN0000001.json Example Example HTML
Search for areas containing a string /search/?q=search+term Example HTML
Get information about a type of area
(local authority, parliamentary constituency, etc)
/areatypes/pcon.json Example Example HTML
Get information about all types of area /areatypes/ HTML