GET
/
GovernmentData
/
Postzon
/
RetrieveByPostcodeOrPlace
/
v1.00
/
json6.ws
cURL
curl --request GET \
  --url https://api.addressy.com/GovernmentData/Postzon/RetrieveByPostcodeOrPlace/v1.00/json6.ws
{
"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"
}
]
}
This method will consume credit.

Query Parameters

Key
string
required

The key to use to authenticate to the service.

PostcodeOrPlace
string
required

The postcode or place name to use to search with.

UserName
string

The username associated with the Royal Mail license (not required for click licenses).

Response

200
application/json

Success

The response is of type object.