Tools
Add data to a CSV with a column of postcode data. Information includes latitude/longitude and areas.
Combine GeoJSON files into one merged file.
Use the API
The API provides programmatic access to the postcode data, using the JSON api specification.
Use the API
Browse by area type
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 |