Join our Slack community to connect with other developers and kickstart your Loqate journey.
cURL
curl --request GET \ --url https://api.addressy.com/GovernmentData/Postzon/RetrieveByPostcodeOrPlace/v1.00/json6.ws
200
Success
{ "Items": [ { "Location": "", "Easting": "517200", "Northing": "208200", "Latitude": "51.7602", "Longitude": "-0.3032", "OsGrid": "TL 17200 08200", "CountryCode": "064", "CountryName": "England", "CountyCode": "26", "CountyName": "Hertfordshire", "DistrictCode": "26UG", "DistrictName": "St Albans", "WardCode": "26UGGH", "WardName": "Marshalswick North", "NhsShaCode": "Y51", "NhsShaName": "North, Midlands and the East Programme for IT (NMEPFiT)", "NhsPctCode": "5P4", "NhsPctName": "West Hertfordshire PCT", "LeaCode": "919", "LeaName": "Hertfordshire", "GovernmentOfficeCode": "G", "GovernmentOfficeName": "East of England", "WestminsterConstituencyCode": "218", "WestminsterConstituencyName": "Hitchin and Harpenden", "WestminsterMP": "Rt Hon Peter Lilley", "WestminsterParty": "Conservative", "WestminsterConstituencyCode2010": "382", "WestminsterConstituencyName2010": "St Albans" } ]}
Search UK government data by postcode or place name. Returns coordinates, ONS codes, NHS areas, constituencies, and local authority information.
The key to use to authenticate to the service.
The postcode or place name to use to search with.
The username associated with the Royal Mail license (not required for click licenses).
Show child attributes
Was this page helpful?