Addresses
Reverse geocoding — the nearest address to a coordinate
Finds the nearest address to a coordinate. The search radius widens adaptively until there is a result, so a point in the middle of the Kattegat also gets an answer.
GET
Authentication
Authorizationstringheaderrequired
Your API key as a Bearer token.
Parameters
latnumberqueryrequired
Latitude in WGS84. y is also accepted.
54–58
lonnumberqueryrequired
Longitude in WGS84. x is also accepted.
7–16
radiusintegerquery
Search radius in metres (widened adaptively until there is a result).
default: 1001–5000
limitintegerquery
Maximum number of results. The limit is set per endpoint — see default and maximum.
default: 51–50
sridstringquery
Coordinate system as an EPSG code, e.g. 25832. Defaults to 4326 (WGS84).
xnumberquery
Alias for lon (DAWA parity). Use lon.
ynumberquery
Alias for lat (DAWA parity). Use lat.
Request
Response
application/json
Nearest access address
countintegerqueryobjectShow child attributes(4)
query.latnumberquery.lonnumberquery.sridintegerquery.radius_mintegerresultsobject[]Show child attributes(21)
results.idstring<uuid>results.doerstringresults.typeenum<string>Allowed values:
adresseadgangsadresseresults.etagestringresults.husnrstringresults.tekststringresults.wgs84number[][lat, lon].
max 2 items
results.postnrstringresults.statusintegerresults.vejkodestringresults.vejnavnstringresults.darstatusintegerresults.postnrnavnstringresults.similaritynumberresults.kommunekodestringresults.visningstekststringresults.adgangsadresseidstring<uuid>results.supplerendebynavnstring | nullresults.stormodtagerpostnrstring | nullresults.adresseringsvejnavnstringresults.stormodtagerpostnrnavnstring | nulltruncatedbooleantrue when there are probably more results than limit.
