Find the nearest Belgian address to a GPS point
Send a latitude and a longitude and get the closest official addresses back, each with its distance in metres.
EndpointGET https://addrly.be/api/v1/geocode/reverse
When to use it
- Turning the position of a phone or a vehicle into a street address.
- Naming the place where a photo, an inspection or an incident was recorded.
- Checking that a point on a map falls on a real address.
- Cost
- 1 request per call
- Authentication
- X-API-Key header
- Coverage
- Every official address in Belgium
Query parameters
| Parameter | Type | Description |
|---|---|---|
latrequired |
number |
Latitude, in decimal degrees (WGS84).
From -90 to 90 |
lonrequired |
number |
Longitude, in decimal degrees (WGS84).
From -180 to 180 |
limitoptional |
integer |
How many addresses to return, nearest first.
From 1 to 5 Default: 1 |
curl "https://addrly.be/api/v1/geocode/reverse?lat=50.8467&lon=4.3499&limit=1" \ -H "X-API-Key: YOUR_API_KEY"
{
"count": 1,
"results": [
{
"distance_m": 12.4,
"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
}
]
}
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 referenceAddress validation
Does this address exist? A yes or no, a confidence score and the official version.
Read the referenceField validation
Field by field: which part of the address is wrong, and its official spelling.
Read the reference