Raw
{ "status": 1, "output": [ { "postcode": "L4 0TH", "latitude": "53.431267", "longitude": "-2.961584" } ] }
Formatted
“status”:1
Indicates a successful query/response
If status is -3 this means the postcode was not found
“output”.“postcode”:L4 0TH
Confirmation of the postcode found
“output”.“latitude”:57.081937
The latitude, formatted to 6 decimal places
“output”.“longitude”:-2.246567
The longitude, formatted to 6 decimal places
Status Code | Reason | Description |
---|---|---|
1 | Postcode Found | The postcode input has been found and a latitude/longitude are available |
0 | No Postcode Input | The postcode parameter was not found or had an empty value |
-1 | Wrong Credentials | Any issue authenticating the user |
-2 | Invalid Request | A general issue with the request |
-3 | Postcode Not Found | The postcode has not been found on our system |
Source data is updated four times per year.