Suggest Belgium Postal code Responses
Suggest a Belgium address field.
Note: This is the documentation for the v2 API which is still in beta.
GET Example request:
https://api.pro6pp.nl/v2/suggest/be/postalCode?postalCode=1&authKey=YOUR_AUTH_KEY
This application gives the following result:
200: Postal code suggestion(s) available
[
{
"country": "Belgium",
"countryCode": "BE",
"lat": 50.84562,
"lng": 4.35884,
"municipality": "Brussel",
"municipalityTranslations": [
{
"lang": "nl",
"name": "Brussel"
},
{
"lang": "fr",
"name": "Bruxelles"
},
{
"lang": "de",
"name": "Brüssel"
}
],
"postalCode": "1000",
"province": "Brussel",
"provinceTranslations": [
{
"lang": "nl",
"name": "Brussel"
},
{
"lang": "fr",
"name": "Bruxelles"
},
{
"lang": "de",
"name": "Brüssel"
}
],
"region": "Brussel",
"regionTranslations": [
{
"lang": "nl",
"name": "Brussel"
},
{
"lang": "fr",
"name": "Bruxelles"
},
{
"lang": "de",
"name": "Brüssel"
}
],
"settlements": [
"Brussel"
],
"settlementsTranslations": [
[
{
"lang": "nl",
"name": "Brussel"
},
{
"lang": "fr",
"name": "Bruxelles"
},
{
"lang": "de",
"name": "Brüssel"
}
]
]
}
]
Error responses
401: Not authenticated
404: No results found