AddressBase Core
An address from Ordnance Survey's AddressBase Core, a flat cut of the approved addresses in Great Britain. Each record is one UPRN drawn from the local authority gazetteers: the National Land and Property Gazetteer for England and Wales, the One Scotland Address Gazetteer for Scotland. It carries the Royal Mail delivery point where one has been matched, property level coordinates, a classification (classification_code), the key identifiers (uprn, parent_uprn, udprn, usrn, toid), the contributing authority (gss_code), coordinate quality (rpc) and the change the latest supply applied (change_code). Ordnance Survey publishes around 35 million records and refreshes them weekly.
How it differs from the neighbouring datasets:
- AddressBase Premium (
abp) is the full gazetteer: around 40 million UPRNs including historic and provisional records, the local authority address breakdown (pao_*,sao_*), lifecycle (logical_status,blpu_state), Welsh alternatives, the street record and cross references to the Valuation Office Agency and ONS, refreshed every six weeks. AddressBase Core carries none of these. Use it when one approved address per UPRN, with coordinates and a classification, is enough. - Royal Mail PAF (
paf) lists delivery points only, keyed by UDPRN. AddressBase Core keys on UPRN and also holds non-postal objects (substations, car parks, land parcels, parent shells) with no delivery point. On those recordsudprnis0anddelivery_point_suffixis empty. Where a record matches PAF,abrenders the sameline_1toline_3aspaffor that UDPRN, bar a handful of records with a trailing range in the building name, which AddressBase Core keeps whole. - The Ordnance Survey end of life notice for autumn 2027 covers AddressBase and AddressBase Plus, not AddressBase Core.
Example Record
{"id": "ab_10070014461","country_iso": "GBR","dataset": "ab","language": "en","line_1": "Flat 27","line_2": "Henry House","line_3": "Ringers Road","premise": "Flat 27, Henry House","uprn": "10070014461","udprn": 53705246,"parent_uprn": "10070014435","usrn": 20301384,"toid": "osgb5000005186746874","classification_code": "RD","eastings": 540291,"northings": 168873,"latitude": 51.4015451,"longitude": 0.0154405,"single_address_line": "Flat 27, Henry House, Ringers Road, Bromley, BR1 1AA","street_name": "Ringers Road","locality": "","town_name": "Bromley","delivery_point_suffix": "2H","post_town": "Bromley","gss_code": "E09000006","rpc": 2,"last_update_date": "2020-01-06T00:00:00.000Z","island": "","change_code": "I","building_name": "Henry House","building_number": "","sub_building": "Flat 27","postcode": "BR1 1AA","po_box": "","organisation": "","country": "England","county": "Kent","district": "Bromley","ward": "Bromley Town","traditional_county": "Kent","administrative_county": "","postal_county": "Kent"}Every field is documented below.
Essential Elements
idstring- ID
Global unique internally generated identifier for an address
datasetstring- Dataset
Indicates the provenance of an address
Enum- "ab"
languagestring- Language
Language represented by 2 letter ISO Code (639-1)
Enum64 possible values
- "en"
- "ar"
- "as"
- "az"
- "be"
- "bg"
- "bn"
- "bs"
- "ca"
- "cs"
- "cy"
- "da"
- "de"
- "el"
- "es"
- "et"
- "eu"
- "fi"
- "fo"
- "fr"
- "ga"
- "gl"
- "gn"
- "he"
- "hi"
- "hr"
- "hu"
- "hy"
- "id"
- "is"
- "it"
- "ja"
- "ka"
- "kk"
- "km"
- "kn"
- "ko"
- "lt"
- "lv"
- "mk"
- "mn"
- "ms"
- "mt"
- "my"
- "nl"
- "no"
- "pl"
- "pt"
- "rm"
- "ro"
- "ru"
- "sk"
- "sl"
- "sq"
- "sr"
- "sv"
- "ta"
- "th"
- "tr"
- "uk"
- "uz"
- "vi"
- "wa"
- "zh"
line_1string- Address Line 1
First address line. Often contains premise and thoroughfare information. For a commercial premise the first line is the full name of the registered organisation. Never empty.
line_2string- Address Line 2
Second address line. Often contains thoroughfare and locality information. May be empty.
line_3string- Address Line 3
Third address line. Takes the address elements left after
line_1andline_2are filled; where the address needs more than three lines the remaining elements are joined intoline_3, comma separated. May be empty. premisestring- Premise
A pre-computed string which sensibly combines building_number, building_name and sub_building_name. Those three fields hold raw dataset values and can be difficult to parse if you are unaware of how they work together, so we also provide this single, simple premise string. Ideal if you want to pull premise information and thoroughfare information separately instead of using our address lines data.
uprnstring- UPRN
Unique Property Reference Number (UPRN) assigned by the LLPG Custodian or Ordnance Survey.
udprnnumber- UDPRN
Royal Mail's Unique Delivery Point Reference Number (UDPRN).
parent_uprnstring- PARENT_UPRN
UPRN of the parent Record if a parent-child relationship exists.
usrnnumber- USRN
Unique Street Reference Number assigned by the Street Name and Numbering Custodian OR Ordnance Survey depending on the address record.
toidstring- TOID
The Topographic Identifier taken from OS MasterMap Topography Layer. This TOID is assigned to the UPRN by performing a spatial intersection between the two identifiers. It consists of the letters 'osgb' and is followed by up to sixteen digits.
classification_codestring- Classification Code
A code that describes the classification of the address record to a maximum of a secondary level.
eastingsnumber- Easting
A value in metres defining the x location in accordance with the British National Grid.
northingsnumber- Northing
A value in metres defining the y location in accordance with the British National Grid.
latitudenumber- Latitude
A value in metres defining the y location in accordance with the British National Grid.
longitudenumber- Longitude
A value defining the Longitude location in accordance with the ETRS89 coordinate reference system.
single_address_linestring- Single Line Address
A single attribute containing text concatenation of the address elements separated by a comma.
street_namestring- Street Name
Street / Road name for the address record.
localitystring- Locality
A locality defines an area or geographical identifier within a town, village, or hamlet. Locality represents the lower level geographical area. The locality field should be used in conjunction with the town name and street description fields to uniquely identify geographic area where there may be more than one within an administrative area.
town_namestring- Town Name
Geographical town name assigned by the Local Authority. Please note this can be different from the Post Town value assigned by Royal Mail.
delivery_point_suffixstring- Delivery Point Suffix
A two-character code uniquely identifying an individual delivery point within a postcode, assigned by Royal Mail.
post_townstring- Post Town
The town or city in which the Royal Mail sorting office is located which services this address record.
Condition: POST_TOWN is not populated if this is the same as TOWN_NAME.
gss_codestring- Governmental Statistical Service
The Office for National Statistics Governmental Statistical Service (GSS) code representing the contributing Local Authority.
rpcnumber- Representative Point Code
Representative Point Code describes the accuracy of the coordinate that has been allocated to the UPRN as indicated by the Local Authority and enhanced using large scale OS data.
last_update_datestring- Last Update Date
The latest date on which any of the attributes on this record were last changed.
islandstring- Island
Third level of geographic area name to record island names where appropriate.
change_codestring- Change Code
This enumeration is used in association with the attribute “CHANGE_CODE”. This enumeration identifies the type of change that has been made to a feature. The change type must be set when a feature is inserted, updated, or deleted. Please see section 3 for more information. Example I = Insert, U = Update, D = Delete
Enum- "I"
- "U"
- "D"
building_namestring- Building Name
The building name is a description applied to a single address or a group of addresses.
building_numberstring- Building Number
The building number is a number or range of numbers given to a single address or a group of addresses.
sub_buildingstring- Sub-building
The sub-building name and/or number for the address record.
postcodestring- Postcode
A postcode assigned by Royal Mail for the address record.
po_boxstring- PO Box
Text concatenation of 'PO BOX' and the Post Office Box (PO Box) number or 'BFPO' and the British Forces Post Office number.
organisationstring- Organisation
The organisation name is the business name given, when appropriate, to an address record.
countrystring- Country
country_isostring- Country ISO
countystring- County
Whatever county data is available for the address. Normally the postal county. If that is not present it falls back to the administrative county, then to the traditional county. May be empty where none of the three is present.
districtstring- District
A district is a type of administrative division that is managed by the local authorities.
wardstring- Ward
The current administrative/electoral area to which the postcode has been assigned. May be empty for a small number of addresses.
traditional_countystring- Traditional County
Traditional counties are provided by the Association of British Counties. It is historical data, and can date from the 1800s. May be empty.
postal_countystring- Postal County
Postal counties were used for the distribution of mail before the Postcode system was introduced in the 1970s. The Former Postal County was the Administrative County at the time. This data rarely changes. May be empty.