DanskAdresseAPIv1
Postnumre og bynavne

Search / list supplementary town names

Searches and lists supplementary town names — the place names that appear as an extra line in an address.

GET/v1/supplerendebynavne

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

qstringquery

Free-text/prefix search.

limitintegerquery

Maximum number of results. The limit is set per endpoint — see default and maximum.

kommunekodestringquery

Filter by municipality code.

postnrstringquery

Filter by postal code.

Request

curl --request GET \
  --url "https://api.danskadresseapi.dk/v1/supplerendebynavne" \
  --header "Authorization: Bearer $API_NOEGLE"

Response

application/json

Liste

countinteger
resultsobject[]
200Eksempel
{
  "count": 0,
  "results": [
    {}
  ]
}
401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}