π³π± Netherlands
address-validation V6
- Improvement: address-validation V6 NL will return all address function metadata when the house
letter
validation is on and an empty house letter is supplied. The response will combine all address
function metadata information of
the address objects that start with the same house number.
Before the improvement with an empty house letter and house letter validation turned on:
https://api.postcodeservice.com/nl/v6/address-validation?street=Kabelweg&zipcode=1014BA&house_number=21&house_letter=&house_letter_validation=1&city=Amsterdam
{
"results": [
{
"street": "Kabelweg",
"street_language": "nl",
"street_id": "st_4876428982452",
"house_number": 21,
"house_letter": null,
"house_letter_validated": true,
"zipcode": "1014BA",
"city": "Amsterdam",
"municipality": "Amsterdam",
"province": "Noord-Holland",
"is_po_box": false,
"is_on_wadden_islands": false,
"address_function": [
"unknown"
],
"geo_precision": "rooftop",
"latitude": 52.390515085771,
"longitude": 4.8463724025161,
"postal_address": {
"line_1": "Kabelweg 21",
"line_2": "1014BA AMSTERDAM",
"line_3": "Netherlands"
}
}
],
"error_code": null,
"errors": [],
"pagination": {
"current_page": 1,
"per_page": 10,
"is_last_page": true
}
}
After this improvement:
{
"results": [
{
"street": "Kabelweg",
"street_language": "nl",
"street_id": "st_4876428982452",
"house_number": 21,
"house_letter": null,
"house_letter_validated": true,
"zipcode": "1014BA",
"city": "Amsterdam",
"municipality": "Amsterdam",
"province": "Noord-Holland",
"is_po_box": false,
"is_on_wadden_islands": false,
"address_function": [
"accommodation",
"multipurpose",
"office",
"storage"
],
"geo_precision": "rooftop",
"latitude": 52.390515085771,
"longitude": 4.8463724025161,
"postal_address": {
"line_1": "Kabelweg 21",
"line_2": "1014BA AMSTERDAM",
"line_3": "Netherlands"
}
}
],
"error_code": null,
"errors": [],
"pagination": {
"current_page": 1,
"per_page": 10,
"is_last_page": true
}
}