Postcodes

Get supplementary town name (v2)

Returns the supplementary town name by DAGI ID

GET/supplerendebynavne2/{dagi_id}

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

formatstringquery

Returns the output in a format other than JSON. See Data formats.

callbackstringquery

Returns the output as JSONP. See Data formats.

noformatstringquery

Omits whitespace formatting from the output

ndjsonstringquery

Returns the output as Newline Delimited JSON

sridintegerquery
strukturstringquery

The struktur parameter specifies whether a flad or nestet response structure is required. The default is nestet for JSON and flad for GeoJSON.

medtagnedlagtestringquery

Include discontinued supplementary town names. Note that discontinued supplementary town names do not have an associated geometry or municipality.

dagi_idintegerpathrequired

The unique DAGI ID of the supplementary town name.

Request

curl --request GET \
  --url "https://api.danskadresseapi.dk/dawa/supplerendebynavne2/<dagi_id>" \
  --header "Authorization: Bearer $API_KEY"
Try it
GET https://api.danskadresseapi.dk/dawa/supplerendebynavne2/%7Bdagi_id%7D

Response

application/json

Success response. The MIME type of the response depends on the format parameter.

—

401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}
Get supplementary town name (v2) — DanskAdresseAPI