Glossary
UK postcode data, field by field
What every area and measure in a postcode answer means, where it comes from and how to read it.
Every field in a postcode answer
| Field | Type | Meaning |
|---|---|---|
| postcode | string | Canonical form, e.g. "SW1A 1AA". |
| status | "live" | "terminated" | Live postcodes are in use; terminated ones have been retired by Royal Mail. |
| outcode, incode, sector, district, area | string | The parts: SW1A, 1AA, SW1A 1, SW1A, SW. |
| introduced, terminated | YYYY-MM | null | When the postcode came into use and, if terminated, when it ended. |
| replaced_by | string | null | For a terminated postcode: the nearest live postcode in the same sector (or district). |
| user_type | "small" | "large" | Large-user postcodes belong to one organisation that receives a lot of post. |
| location | object | latitude, longitude (WGS84), easting, northing (British National Grid), positional_quality 1 to 9 and its meaning. Null coordinates for the Channel Islands and the Isle of Man. |
| country, region, county, local_authority, ward, parish | {code, name} | Administrative areas with their GSS codes. |
| county_electoral_division | {code, name} | County council electoral division (England, two-tier areas). |
| constituency | {code, name} | Westminster parliamentary constituency (2024 boundaries). |
| police_force, nhs_region, icb, sub_icb | {code, name} | Police force area and NHS geographies. |
| national_park, built_up_area, travel_to_work_area | {code, name} | National park (if any), built-up area and travel-to-work area. |
| lsoa, msoa, output_area | {code, name} / string | 2021 census statistical areas. |
| rural_urban | {code, name, urban} | 2021 rural-urban classification, and whether that counts as urban. |
| area_classification | string | null | 2021 Output Area Classification code. |
| deprivation | {index, rank, of, decile} | null | The area's rank in its nation's deprivation index (1 = most deprived) and its decile (1 to 10). |