c0mm0.com — the continuously verified register of European data

Register record·DATASET·GBVERIFIED · checked 3h ago
N

National Statistics Postcode Lookup UK

rows.xml·Published by London Borough of Camden

DatasetJoinable5/7Official: from its catalogueQuery nowOpen workbenchSubscribe🇬🇧United Kingdom

This dataset provides the National Statistics Postcode Lookup (NSPL) for the United Kingdom, linking current postcodes to a range of statutory administrative, electoral, health and other statistical geographies through 'best-fit' allocation based on 2021 Census output areas. It enables the production of area-based statistics from postcoded data, supporting analysis across administrative and statistical boundaries. The NSPL is produced by ONS Geography, the unit that provides geographic support to the Office for National Statistics and geographic services used by other public bodies. The dataset is published here by the London Borough of Camden, with national geographic scope and free, unauthenticated access.This dataset contains the National Statistics Postcode Lookup (NSPL) for the United Kingdom. The NSPL relates current postcodes to a range of current statutory administrative, electoral, health and other statistical geographies via ‘-fit’ allocation from the 2021 Census output areas. It supports the production of area based statistics from postcoded data. The NSPL is produced by ONS Geography, which provides geographic support to the Office for National Statistics (ONS) and geographic services used by other organisations.

geospatial
36
poor

Weighted across five axes. Tap a ring for what it measures.

Data quality

Data schema (36 fields)

Dictionary: 36 of 36 labelled · 31 described · 0 with a unit · 36 with example values

Filterable via the API (36)
postcode_1postcode_2postcode_3date_introduceduser_typeeastingnorthingpositional_qualitycounty_codecounty_namelocal_authority_codelocal_authority_nameward_codeward_namecountry_codecountry_nameregion_coderegion_nameparliamentary_constituency_codeparliamentary_constituency_nameeuropean_electoral_region_codeeuropean_electoral_region_nameprimary_care_trust_codeprimary_care_trust_namelsoa_codelower_super_output_areamsoa_codemiddle_super_output_areaoutput_area_classification_codeoutput_area_classification_namelongitudelatitudespatial_accuracylast_uploadedlocationsocrata_id

Click a field to see example values.

FieldTypeDescription
postcode_1Filterable via the APIstringCurrent or terminated UK, Channel Islands, and Isle of Man postcodes.All current ('live') postcodes within the United Kingdom, the Channel Islands and the Isle of Man, received monthly from Royal Mail. Also, all terminated ('closed') postcodes that have not been subsequently re-used by Royal Mail within the United Kingdom and by the postal administrations in the Ch
postcode_2Filterable via the APIstringPostcode with fixed-width outward and inward parts and padding spaces.As above, except: 2, 3 or 4-character outward code - left aligned; 3-character inward code - right aligned; 5th character always blank and 3rd and 4th characters may be blank
postcode_3Filterable via the APIstringPostcode with outward code, single space, and inward code.2, 3 or 4-character outward code; Single space; 3-character inward code
date_introducedFilterable via the APIstringMost recent date the postcode was introduced.The most recent occurrence of the postcode's date of introduction.
user_typeFilterable via the APInumberIndicates whether the postcode is a small or large user.Shows whether the postcode is a small or large user. 0 = small user; 1 = large user
eastingFilterable via the APInumberOS grid easting to one metre resolution, with regional grid variations.The OS grid reference Easting to 1 metre resolution; blank for postcodes in the Channel Islands and the Isle of Man. Grid references for postcodes in Northern Ireland relate to the Irish National Grid.
northingFilterable via the APInumberOS grid northing to one metre resolution, with regional grid variations.The OS grid reference Northing to 1 metre resolution; blank for postcodes in the Channel Islands and the Isle of Man. Grid references for postcodes in Northern Ireland relate to the Irish National Grid.
positional_qualityFilterable via the APInumberStatus of assigned grid reference accuracy for the postcode.Shows the status of the assigned grid reference. 1 = within the building of the matched address closest to the postcode mean; 2 = as for status value 1, except by visual inspection of Landline maps (Scotland only); 3 = approximate to within 50 metres; 4 = postcode unit mean (mean of matched addresse
county_codeFilterable via the APIstringCurrent county code assigned to the postcode, including pseudo codes.The current county to which the postcode has been assigned. Pseudo codes are included for English UAs, Wales, Scotland, Northern Ireland, Channel Islands and Isle of Man. The field will otherwise be blank for postcodes with no OA code
county_nameFilterable via the APIstring—
local_authority_codeFilterable via the APIstringThe current district/UA to which the postcode has been assigned. Pseudo codes are included for Channel Islands and Isle of Man. The field will otherwise be blank for postcodes with no OA code.
local_authority_nameFilterable via the APIstring—
ward_codeFilterable via the APIstringThe current administrative/electoral area to which the postcode has been assigned. Pseudo codes are included for Channel Islands and Isle of Man. The field will otherwise be blank for postcodes with no OA code.
ward_nameFilterable via the APIstring—
country_codeFilterable via the APIstringThe code for the appropriate country (i.e. one of the four constituent countries of the UK or Crown dependencies - the Channel Islands or the Isle of Man) to which each postcode is assigned.
country_nameFilterable via the APIstring—
region_codeFilterable via the APIstringThe region code for each postcode. Pseudo codes are included for Wales, Scotland, Northern Ireland, Channel Island and Isle of Man. The field will otherwise be blank for postcodes with no OA code.
region_nameFilterable via the APIstring—
parliamentary_constituency_codeFilterable via the APIstringWestminster parliamentary constituency code for each postcode, with pseudo codes for Crown Dependencies.The Westminster parliamentary constituency code for each postcode. Pseudo codes are included for Channel Islands and Isle of Man. The field will otherwise be blank for postcodes with no OA code.
parliamentary_constituency_nameFilterable via the APIstringName of the Westminster parliamentary constituency for each postcode.Name of the Westminster parliamentary constituency for each postcode.
european_electoral_region_codeFilterable via the APIstringEuropean electoral region code for each postcode, with pseudo codes for Crown Dependencies.The European Electoral Region code for each postcode. A pseudo code is included for Channel Islands and Isle of Man. The field will otherwise be blank for postcodes with no OA code.
european_electoral_region_nameFilterable via the APIstringName of the European electoral region for each postcode.Name of the European electoral region for each postcode.
primary_care_trust_codeFilterable via the APIstringPrimary care trust or equivalent health area code for each postcode.The code for the PCT/CT areas in England, LHBs in Wales, CHPs in Scotland, LCG in Northern Ireland and PHD in the Isle of Man. A pseudo code is included for Channel Islands. The field will otherwise be blank for postcodes with no OA code.
primary_care_trust_nameFilterable via the APIstringName of the primary care trust or equivalent health area.Name of the primary care trust or equivalent health area.
lsoa_codeFilterable via the APILower Super Output Area CodestringLower super output area or equivalent small area code for each postcode.The 2011 Census LSOA code for England and Wales, SOA code for Northern Ireland and DZ code for Scotland. Pseudo codes are included for Channel Islands and Isle of Man. The field will otherwise be blank for postcodes with no OA code. N.B. NI SOAs remain unchanged from 2001.
lower_super_output_areaFilterable via the APILower Super Output Area NamestringName of the lower super output area or equivalent small area.Name of the lower super output area or equivalent small area.
msoa_codeFilterable via the APIMiddle Super Output Area CodestringMiddle super output area or equivalent medium area code for each postcode.The 2011 Census MSOA code for England and Wales and IZ code for Scotland. Pseudo codes are included for Northern Ireland, Channel Islands and Isle of Man. The field will otherwise be blank for postcodes with no OA code.
middle_super_output_areaFilterable via the APIMiddle Super Output Area NamestringName of the middle super output area associated with the postcode.Name of the middle super output area associated with the postcode.
output_area_classification_codeFilterable via the APIstringCode identifying the output area classification for the postcode.Code identifying the output area classification for the postcode.
output_area_classification_nameFilterable via the APIstringName of the output area classification for the postcode.Name of the output area classification for the postcode.
longitudeFilterable via the APInumberDegrees longitude for the postcode; zero indicates missing grid reference or offshore postcodes.The postcode coordinates in degrees longitude to six decimal places; 0.000000 for postcodes in the Channel Islands and the Isle of Man, and for postcodes with no grid reference.
latitudeFilterable via the APInumberDegrees latitude for the postcode; 99.999999 indicates missing grid reference or offshore postcodes.The postcode coordinates in degrees latitude to six decimal places; 99.999999 for postcodes in the Channel Islands and the Isle of Man, and for postcodes with no grid reference.
spatial_accuracyFilterable via the APIstringSpatial accuracy level of the postcode location.Spatial accuracy level of the postcode location.
last_uploadedFilterable via the APIdateDate the postcode record was last uploaded.Date the postcode record was last uploaded.
locationFilterable via the APIpointGeographic point location of the postcode.Geographic point location of the postcode.
socrata_idFilterable via the APInumberUnique Socrata platform identifier for the record.Unique Socrata platform identifier for the record.

Schema captured from socrata 4 days ago.

Query the data

Pick columns and a sort, then fetch a live preview straight from the source. Choose an API-filterable column (marked ▾) under “Where” to pick from its list of values.

=

Sample data (5 records)

Record 1easting: 407611 · latitude: 52.571443
{
  "easting": "407611",
  "latitude": "52.571443",
  "location": {
    "type": "Point",
    "coordinates": [
      -1.889128,
      52.571443
    ]
  },
  "northing": "297073",
  "longitude": "-1.889128",
  "lsoa_code": "E01010391",
  "msoa_code": "E02002141",
  "user_type": "0",
  "ward_code": "E05016451",
  "ward_name": "Streetly",
  "postcode_1": "B74 2AE",
  "postcode_2": "B74  2AE",
  "postcode_3": "B74 2AE",
  "socrata_id": "55811",
  "county_code": "E11000005",
  "county_name": "West Midlands",
  "region_code": "E12000005",
  "region_name": "West Midlands",
  "country_code": "E92000001",
  "country_name": "England",
  "last_uploaded": "2026-09-08T10:25:10.000",
  "date_introduced": "200502",
  "spatial_accuracy": "Postcode Level",
  "positional_quality": "1",
  "local_authority_code": "E08000030",
  "local_authority_name": "Walsall",
  "lower_super_output_area": "Walsall 032D",
  "primary_care_trust_code": "obsolete",
  "primary_care_trust_name": "obsolete",
  "middle_super_output_area": "Walsall 032",
  "european_electoral_region_code": "obsolete",
  "european_electoral_region_name": "obsolete",
  "output_area_classification_code": "5a3",
  "output_area_classification_name": "currently unavailable",
  "parliamentary_constituency_code": "E14001064",
  "parliamentary_constituency_name": "Aldridge-Brownhills"
}
Record 2easting: 408446 · latitude: 52.578973
{
  "easting": "408446",
  "latitude": "52.578973",
  "location": {
    "type": "Point",
    "coordinates": [
      -1.876786,
      52.578973
    ]
  },
  "northing": "297912",
  "longitude": "-1.876786",
  "lsoa_code": "E01010385",
  "msoa_code": "E02002137",
  "user_type": "0",
  "ward_code": "E05016451",
  "ward_name": "Streetly",
  "postcode_1": "B74 2LU",
  "postcode_2": "B74  2LU",
  "postcode_3": "B74 2LU",
  "socrata_id": "55935",
  "county_code": "E11000005",
  "county_name": "West Midlands",
  "region_code": "E12000005",
  "region_name": "West Midlands",
  "country_code": "E92000001",
  "country_name": "England",
  "last_uploaded": "2026-09-08T10:25:10.000",
  "date_introduced": "199912",
  "spatial_accuracy": "Postcode Level",
  "positional_quality": "1",
  "local_authority_code": "E08000030",
  "local_authority_name": "Walsall",
  "lower_super_output_area": "Walsall 028A",
  "primary_care_trust_code": "obsolete",
  "primary_care_trust_name": "obsolete",
  "middle_super_output_area": "Walsall 028",
  "european_electoral_region_code": "obsolete",
  "european_electoral_region_name": "obsolete",
  "output_area_classification_code": "5a2",
  "output_area_classification_name": "currently unavailable",
  "parliamentary_constituency_code": "E14001064",
  "parliamentary_constituency_name": "Aldridge-Brownhills"
}
Record 3easting: 407279 · latitude: 52.495968
{
  "easting": "407279",
  "latitude": "52.495968",
  "location": {
    "type": "Point",
    "coordinates": [
      -1.894209,
      52.495968
    ]
  },
  "northing": "288677",
  "longitude": "-1.894209",
  "lsoa_code": "E01008910",
  "msoa_code": "E02001876",
  "user_type": "1",
  "ward_code": "E05011156",
  "ward_name": "Newtown",
  "postcode_1": "B99 1DN",
  "postcode_2": "B99  1DN",
  "postcode_3": "B99 1DN",
  "socrata_id": "67045",
  "county_code": "E11000005",
  "county_name": "West Midlands",
  "region_code": "E12000005",
  "region_name": "West Midlands",
  "country_code": "E92000001",
  "country_name": "England",
  "last_uploaded": "2026-09-08T10:25:11.000",
  "date_introduced": "200710",
  "spatial_accuracy": "Postcode Level",
  "positional_quality": "1",
  "local_authority_code": "E08000025",
  "local_authority_name": "Birmingham",
  "lower_super_output_area": "Birmingham 050A",
  "primary_care_trust_code": "obsolete",
  "primary_care_trust_name": "obsolete",
  "middle_super_output_area": "Birmingham 050",
  "european_electoral_region_code": "obsolete",
  "european_electoral_region_name": "obsolete",
  "output_area_classification_code": "4c1",
  "output_area_classification_name": "currently unavailable",
  "parliamentary_constituency_code": "E14001096",
  "parliamentary_constituency_name": "Birmingham Ladywood"
}
Record 4easting: 383082 · latitude: 53.789075
{
  "easting": "383082",
  "latitude": "53.789075",
  "location": {
    "type": "Point",
    "coordinates": [
      -2.258273,
      53.789075
    ]
  },
  "northing": "432558",
  "longitude": "-2.258273",
  "lsoa_code": "E01024907",
  "msoa_code": "E02005185",
  "user_type": "0",
  "ward_code": "E05005163",
  "ward_name": "Trinity",
  "postcode_1": "BB114BD",
  "postcode_2": "BB11 4BD",
  "postcode_3": "BB11 4BD",
  "socrata_id": "85200",
  "county_code": "E10000017",
  "county_name": "Lancashire",
  "region_code": "E12000002",
  "region_name": "North West",
  "country_code": "E92000001",
  "country_name": "England",
  "last_uploaded": "2026-09-08T10:25:13.000",
  "date_introduced": "201505",
  "spatial_accuracy": "Postcode Level",
  "positional_quality": "1",
  "local_authority_code": "E07000117",
  "local_authority_name": "Burnley",
  "lower_super_output_area": "Burnley 010D",
  "primary_care_trust_code": "obsolete",
  "primary_care_trust_name": "obsolete",
  "middle_super_output_area": "Burnley 010",
  "european_electoral_region_code": "obsolete",
  "european_electoral_region_name": "obsolete",
  "output_area_classification_code": "6b3",
  "output_area_classification_name": "currently unavailable",
  "parliamentary_constituency_code": "E14001142",
  "parliamentary_constituency_name": "Burnley"
}
Record 5easting: 376459 · latitude: 53.752560
{
  "easting": "376459",
  "latitude": "53.752560",
  "location": {
    "type": "Point",
    "coordinates": [
      -2.358488,
      53.75256
    ]
  },
  "northing": "428524",
  "longitude": "-2.358488",
  "lsoa_code": "E01025068",
  "msoa_code": "E02005215",
  "user_type": "0",
  "ward_code": "E05005217",
  "ward_name": "Peel",
  "postcode_1": "BB5 6RS",
  "postcode_2": "BB5  6RS",
  "postcode_3": "BB5 6RS",
  "socrata_id": "92310",
  "county_code": "E10000017",
  "county_name": "Lancashire",
  "region_code": "E12000002",
  "region_name": "North West",
  "country_code": "E92000001",
  "country_name": "England",
  "last_uploaded": "2026-09-08T10:25:13.000",
  "date_introduced": "198001",
  "spatial_accuracy": "Postcode Level",
  "positional_quality": "1",
  "local_authority_code": "E07000120",
  "local_authority_name": "Hyndburn",
  "lower_super_output_area": "Hyndburn 004G",
  "primary_care_trust_code": "obsolete",
  "primary_care_trust_name": "obsolete",
  "middle_super_output_area": "Hyndburn 004",
  "european_electoral_region_code": "obsolete",
  "european_electoral_region_name": "obsolete",
  "output_area_classification_code": "6b3",
  "output_area_classification_name": "currently unavailable",
  "parliamentary_constituency_code": "E14001299",
  "parliamentary_constituency_name": "Hyndburn"
}

Live sample captured at profiling time — values may have changed upstream.

Verification Status

Requests to opendata.camden.gov.uk through this register, last 30 days

Day by day on the status page

Using the API

Query examples

curl -s 'https://opendata.camden.gov.uk/resource/tr8t-gqz7.json?$limit=20' -H 'Accept: application/json'

Rows of the dataset as JSON; filter with $where (SoQL), sort with $order, page with $limit and $offset.

Dataset

Volume & freshness

Records
1.8M
1810364
Last upstream update
3 months ago
2026-09-08

Coverage

First published
2025-12-30

License

No license declared upstream.

○ Documentation○ Data dictionary○ Versioning

Source: socrata

Machine-readable & source

National Statistics Postcode Lookup UK — live verification badge

Embed this badge in a README or wiki — it always shows the latest verification state and ranking tier.