Postcodes

Search and list supplementary town names (v2)

Search for supplementary town names. Returns the supplementary town names that meet the criterion.

GET/supplerendebynavne2

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

dagi_idintegerquery

Finds the supplementary town name with the given DAGI ID

kommunekodeintegerquery

Finds the supplementary town names in the given municipality.

navnstringquery

Finds the supplementary town name with the given name. Case-sensitive.

sridintegerquery

Specifies the SRID of the coordinate system in which geospatial parameters are specified. The default is 4326 (WGS84 / geographic coordinates). For ETRS89 / UTM zone 32 North, use 25832

polygonstringquery

Find the supplementary town names that overlap the specified polygon. The polygon is specified as an array of coordinates in the same way as the coordinates are specified in GeoJSON's polygon. Note that polygons must be closed, i.e. the first and last coordinates must be identical. ETRS89/UTM32 or WGS84/geographic can be used as the coordinate system. This is specified using the srid parameter; see above. Example: polygon=[[[10.3,55.3],[10.4,55.3],[10.4,55.31],[10.4,55.31],[10.3,55.3]]].

cirkelstringquery

Find the supplementary town names that overlap the circle specified by the coordinate (x,y) and radius r. ETRS89/UTM32 or WGS84/geographic can be used as the coordinate system. The radius is specified in metres. cirkel={x},{y},{r}.

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.

Show all 19 parametersShow fewer
qstringquery

Text search. The name is searched. All words in the search text must match. The wildcard * is allowed at the end of each word. No more than 1000 results are returned when using the parameter.

autocompletestringquery

Performs the search as an autocomplete search.

xnumberquery

Reverse geocoding. Finds the supplementary town name for the given coordinate. The coordinate system given in the srid parameter is used (default WGS84).

ynumberquery

Reverse geocoding. Finds the supplementary town name for the given coordinate. The coordinate system given in the srid parameter is used (default WGS84).

nærmestestringquery

If this parameter is given together with the x and y parameters, the supplementary town name nearest the given point is returned.

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/supplerendebynavne2" \
  --header "Authorization: Bearer $API_KEY"
Try it
GET https://api.danskadresseapi.dk/dawa/supplerendebynavne2

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."
  }
}