DanskAdresseAPIv1
Veje

Search / list named roads

Searches and lists named roads. A named road can span several municipalities and therefore several street segments.

GET/v1/navngivneveje

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/navngivneveje" \
  --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."
  }
}
DanskAdresseAPI