Validate a complete Belgian address
Send the fields your form already holds and learn whether the address exists, how confident the match is and what the official version of it looks like.
EndpointPOST https://addrly.be/api/v1/validate/address
When to use it
- Checking an address before an order ships or a contract is signed.
- Flagging the records of a database that no longer match a real address.
- Replacing a typed address with its official spelling and coordinates.
- Cost
- 1 request per call
- Authentication
- X-API-Key header
- Coverage
- Every official address in Belgium
JSON body
| Parameter | Type | Description |
|---|---|---|
street_froptional |
string |
The street name in French. |
street_nloptional |
string |
The street name in Dutch. Send either language, or both. |
house_numberoptional |
string |
The house number, with its suffix if any (12A, 12 bis). |
box_numberoptional |
string |
The box number, without the bte or bus prefix. |
postcodeoptional |
string |
The four-digit Belgian postcode. |
municipality_froptional |
string |
The municipality or postal locality in French. |
municipality_nloptional |
string |
The municipality or postal locality in Dutch. |
curl -X POST "https://addrly.be/api/v1/validate/address" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"street_fr": "Rue de la Loi", "house_number": "16", "postcode": "1000"}'
{
"valid": true,
"confidence": 1.0,
"canonical": {
"street_fr": "Rue de la Loi",
"street_nl": "Wetstraat",
"house_number": "16",
"postcode": "1000",
"municipality_fr": "Bruxelles",
"municipality_nl": "Brussel",
"lat": 50.8467,
"lon": 4.3499
},
"suggestions": []
}
The other address endpoints
Autocomplete
Suggestions while the user types, from the first characters of a street, a number or a postcode.
Read the referenceNormalization
One line of free text in, the official structured address and a similarity score out.
Read the referenceField validation
Field by field: which part of the address is wrong, and its official spelling.
Read the referenceReverse geocoding
GPS coordinates in, the nearest official addresses and their distance out.
Read the reference