DanskAdresseAPIv1
Postnumre og bynavne

Fetch a single supplementary town name

Fetches a single supplementary town name.

GET/v1/supplerendebynavne/{key}

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

keystringpathrequired

URL-encoded key (the name).

Request

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

Response

application/json

Supplerende bynavn

object

401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}