curl --request GET \
--url https://api.addressy.com/GovernmentData/Postzon/RetrieveByPostcode/v1.50/json6.ws{
"Items": [
{
"Easting": "517292",
"Northing": "208276",
"Latitude": "51.7608",
"Longitude": "-0.3019",
"OsGrid": "TL 17292 08276",
"CountryCode": "064",
"NewCountryCode": "E92000001",
"CountryName": "England",
"CountyCode": "26",
"NewCountyCode": "E10000015",
"CountyName": "Hertfordshire",
"DistrictCode": "26UG",
"NewDistrictCode": "E07000240",
"DistrictName": "St Albans",
"WardCode": "26UGGH",
"NewWardCode": "E05004795",
"WardName": "Marshalswick North",
"NhsShaCode": "",
"NewNhsShaCode": "E19000001",
"NhsShaName": "",
"NhsPctCode": "5P4",
"NewNhsPctCode": "E18000006",
"NhsPctName": "West Hertfordshire PCT",
"LeaCode": "919",
"LeaName": "Hertfordshire",
"GovernmentOfficeCode": "G",
"GovernmentOfficeName": "East of England",
"WestminsterConstituencyCode": "382",
"WestminsterConstituencyName": "St. Albans",
"WestminsterMP": "Anne Main",
"WestminsterParty": "Conservative",
"WestminsterConstituencyCode2010": "382",
"WestminsterConstituencyName2010": "St. Albans",
"LSOACode": "E01023712",
"LSOAName": "St Albans 008D",
"MSOACode": "E02004931",
"MSOAName": "St Albans 008",
"CCGCode": "06N",
"CCGName": "NHS Herts Valleys CCG",
"CCGAreaCode": "Q58",
"CCGAreaName": "Hertfordshire and the South Midlands Area Team",
"CCGRegionCode": "Y55",
"CCGRegionName": "Midlands and East of England Commissioning Region"
}
]
}Get comprehensive UK government data for any postcode. Returns coordinates, ONS codes, NHS areas, constituencies, wards, and council information.
curl --request GET \
--url https://api.addressy.com/GovernmentData/Postzon/RetrieveByPostcode/v1.50/json6.ws{
"Items": [
{
"Easting": "517292",
"Northing": "208276",
"Latitude": "51.7608",
"Longitude": "-0.3019",
"OsGrid": "TL 17292 08276",
"CountryCode": "064",
"NewCountryCode": "E92000001",
"CountryName": "England",
"CountyCode": "26",
"NewCountyCode": "E10000015",
"CountyName": "Hertfordshire",
"DistrictCode": "26UG",
"NewDistrictCode": "E07000240",
"DistrictName": "St Albans",
"WardCode": "26UGGH",
"NewWardCode": "E05004795",
"WardName": "Marshalswick North",
"NhsShaCode": "",
"NewNhsShaCode": "E19000001",
"NhsShaName": "",
"NhsPctCode": "5P4",
"NewNhsPctCode": "E18000006",
"NhsPctName": "West Hertfordshire PCT",
"LeaCode": "919",
"LeaName": "Hertfordshire",
"GovernmentOfficeCode": "G",
"GovernmentOfficeName": "East of England",
"WestminsterConstituencyCode": "382",
"WestminsterConstituencyName": "St. Albans",
"WestminsterMP": "Anne Main",
"WestminsterParty": "Conservative",
"WestminsterConstituencyCode2010": "382",
"WestminsterConstituencyName2010": "St. Albans",
"LSOACode": "E01023712",
"LSOAName": "St Albans 008D",
"MSOACode": "E02004931",
"MSOAName": "St Albans 008",
"CCGCode": "06N",
"CCGName": "NHS Herts Valleys CCG",
"CCGAreaCode": "Q58",
"CCGAreaName": "Hertfordshire and the South Midlands Area Team",
"CCGRegionCode": "Y55",
"CCGRegionName": "Midlands and East of England Commissioning Region"
}
]
}Was this page helpful?