Addresses

Exact address lookup by street name, house number and postal code

Matching tolerates accents and repeated spaces: "Skólegade " hits the same address as "Skolegade". Responds with the matching address in the same shape as GET /v1/addresses/{id}; the Content-Location header points to the canonical path of the address.

GET/v1/addresses/lookup

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

vejnavnstringqueryrequired

Filter by street name.

max 160 characters
husnrstringqueryrequired

Filter by house number, e.g. 12 or 12A.

max 8 characters
postnrstringqueryrequired

Filter by postal code.

etagestringquery

Omit for access-address level.

max 4 characters
doerstringquery

Both doer and dør are accepted.

max 4 characters

Request

curl --request GET \
  --url "https://api.danskadresseapi.dk/v1/addresses/lookup" \
  --url-query "vejnavn=<vejnavn>" \
  --url-query "husnr=<husnr>" \
  --url-query "postnr=<postnr>" \
  --header "Authorization: Bearer $API_KEY"
Try it
GET https://api.danskadresseapi.dk/v1/addresses/lookup

Response

application/json

Address

xnumber | null

Longitude (WGS84).

ynumber | null

Latitude (WGS84).

idstring<uuid>required

DAR id (Adresse — unit address).

dørstring | null
hrefstring<uri>required
etagestring | null
husnrstringrequired
postnrstringrequired
Show all 22 fieldsShow fewer
statusintegerrequired

DAWA status: 1 = current, 3 = provisional.

forslagboolean

true when the address is a fuzzy suggestion (not in DAWA; omitted with ?dawa=1).

vejkodestring | null
vejnavnstringrequired
darstatusintegerrequired

DAR status: 2 = provisional, 3 = current.

confidenceinteger

Confidence 0–100 (not in DAWA; omitted with ?dawa=1).

postnrnavnstringrequired
similaritynumber

Similarity 0–1 of the street name on a fuzzy match (not in DAWA; omitted with ?dawa=1).

kommunekodestringrequired
adgangsadresseidstring<uuid>required

The adgangsadresse's (access address) DAR id.

supplerendebynavnstring | null
stormodtagerpostnrstring | null
adresseringsvejnavnstring
stormodtagerpostnrnavnstring | null
200Eksempel
{
  "x": 12.5683,
  "y": 55.6761,
  "id": "00000000-0000-0000-0000-000000000000",
  "dør": "tv",
  "href": "…",
  "etage": "2",
  "husnr": "1",
  "postnr": "1550",
  "status": 1,
  "forslag": false,
  "vejkode": "0006152",
  "vejnavn": "Rådhuspladsen"
}
401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}
Exact address lookup by street name, house number and postal code — DanskAdresseAPI