Streets

Search and list street names

Search for street names. Returns the street names that match the criteria.

GET/vejnavne

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

navnstringquery

Street name. Case-sensitive.

postnrintegerquery

Postcode. 4 digits.

kommunekodeintegerquery

Municipality code. 4 digits. Example: 0101 for the Municipality of Copenhagen. For backward compatibility, the parameter also affects which postcodes are returned for each street name. Only postcodes within the specified municipality are included.

qstringquery

Search text. The vejnavn field is searched. All words in the search text must match vejnavn. The wildcard * is allowed at the end of each word. The search is case-insensitive.

autocompletestringquery

Performs the search as an autocomplete search.

fuzzystringquery

Enables fuzzy search

polygonstringquery

Find the street names where the street geometry overlaps 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. The coordinate reference system can be (ETRS89/UTM32 or) WGS84/geographic. 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 street names where the street geometry overlaps the circle specified by the coordinate (x,y) and radius r. The coordinate reference system can be (ETRS89/UTM32 or) WGS84/geographic. The radius is specified in metres. cirkel={x},{y},{r}.

Show all 15 parametersShow fewer
strukturstringquery

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

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

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