OpenPostcodes
API by OpenPostcodes · rest
Look up any live UK postcode - its location, administrative areas, census geographies, nearest points of interest, utilities and approximate boundary. Currently serving ONSPD May 2026, refreshed quarterly. Every postcode has one URL: /{postcode} is an HTML page for people, and the same path ending .json or .md is the same data for machines. There's no key or sign-up, and every response sends access-control-allow-origin: *. The .json response is also described on its own, as a JSON Schema, at [/schema.json](https://openpostcodes.uk/schema.json).
Endpoint: https://openpostcodes.uk/
Verification: observed. Source: crawl.
Capabilities (2)
- Look up a postcode as JSON
- Look up a postcode as Markdown