data api · United Kingdom
Government / regulator
ONS Postcode Directory (August 2025) for the UK (Hosted Table)
<p>This is the ONS Postcode Directory (ONSPD) for the United Kingdom as at August 2025 in Comma Separated Variable (CSV). This is a new hosted table so can be accessed via API. The ONSPD relates both current and terminated postcodes in the United Kingdom to a range of current statutory administrative, electoral, health and other area geographies. It also links postcodes to 2001 Census Output Areas (OA) and Super Output Areas (SOA) for England and Wales, 2001 Census OAs and SOAs for Norther
Feature or claim this listing
Feature this listing — founding Featured slots are 50% off for 6 monthsRepresent ONS Postcode Directory (August 2025) for the UK (Hosted Table)? Send a claim for review so we can discuss listing updates. Claims do not automatically grant ownership or verification.
What's in it
- Data offered docs-verified
- UK postcode to statutory administrative, electoral and health area geographies · postcode to 2001 Census Output Areas and Super Output Areas (England, Wales, Northern Ireland) · postcode to 2001 Census Data Zones (Scotland) · postcode to 2021 Census OAs and SOAs (England, Wales, Northern Ireland) · postcode to 2022 Census Data Zones and Intermediate Zones (Scotland) · current and terminated postcodes
- Coverage docs-verified
- United Kingdom · as at August 2025
- Resolution llm-inferred
- Postcode-level lookup table (no coordinates or spatial precision stated in docs)
- Update frequency docs-verified
- Quarterly
- Formats docs-verified
- CSV · XLSX · GPKG · GEOJSON · KML · Shapefile (ZIP) · File Geodatabase (ZIP) · SQLite Geodatabase (GDB) · ArcGIS GeoService REST API · hosted table (API access)
- Access docs-verified
- Free and open; no authentication (ENTRY auth null); licence: Open Government Licence v3.0 except where otherwise stated, and the product contains Royal Mail, Gridlink, LPS (Northern Ireland), Ordnance Survey and ONS Intellectual Property Rights
Useful for
- Use cases llm-inferred
- Convert client or site postcodes to ward, local authority and electoral areas for planning or consultation mapping · Join postcoded survey or flood-risk records to 2021 Census OAs/SOAs for socio-economic vulnerability screening · Produce area-based statistics from postcoded datasets for community or social impact assessments
- Audience llm-inferred
- GIS analysts · planners · flood risk consultants · environmental and social impact consultants · data analysts
Limitations
- Constraints llm-inferred
- Large file (about 2.31 GB CSV) may be heavy to load without a database · Contains third-party IP (Royal Mail, Ordnance Survey, LPS) that may carry attribution or terms beyond OGL · Quarterly release, so postcode changes lag real time · Mixed Census vintages (2001, 2021, 2022) need care when comparing areas · Hosted table API is newly introduced; query limits and stability not stated in docs
- Licence
- not stated
- Authentication
- Unknown — review source docs
- GitHub stars
- Unknown
- Last commit
- Unknown
- Last successful page check
- 16/10/2026
- Page health
- page reachable
- Package
- Not recorded
- Verification
- Not independently verified
Provenance & evidence
Listed in data.gov.uk public catalogue API on 2026-10-16; relevance/value screened (haiku).
Metadata observed 14/10/2026 · research sweep: sweep-2026-10-16 (data.gov.uk)