Postcodes

Search and list supplementary town names

(DEPRECATED) Search for supplementary town names. Returns the supplementary town names that meet the criterion.

GET/supplerendebynavne

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

navnstringquery

The name of the supplementary town name, e.g. Holeby

kommunekodeintegerquery

Municipality code. 4 digits. Example: 0101 for the City of Copenhagen.

postnrintegerquery

Postcode. 4 digits.

qstringquery

Search text. The vejnavn field is searched. All words in the search text must match the supplementary town name. The wildcard * is allowed at the end of each word. A maximum of 1000 results is returned when using the parameter.

autocompletestringquery

Performs the search as an autocomplete search.

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

sideintegerquery

Which page to return. See Pagination.

per_sideintegerquery

Number of results per page. See Pagination.

Request

curl --request GET \
  --url "https://api.danskadresseapi.dk/dawa/supplerendebynavne" \
  --header "Authorization: Bearer $API_KEY"
Try it
GET https://api.danskadresseapi.dk/dawa/supplerendebynavne

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."
  }
}
Search and list supplementary town names — DanskAdresseAPI