Addresses

Autocomplete for addresses

Autocomplete for addresses. The same parameters as for search can be used, but note that the q parameter is interpreted differently. Read more under autocomplete. DAWA offers a combined autocomplete that provides a better user experience than autocomplete directly for addresses.

GET/adresser/autocomplete

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

idstringquery

The unique ID of the address, e.g. 0a3f5095-45ec-32b8-e044-0003ba298018.

statusintegerquery

Find addresses with the specified status. "1" indicates a final address and "3" indicates a provisional address. Addresses with status "2" or "4" are not included in DAWA.

vejkodeintegerquery

The street code. 4 digits.

vejnavnstringquery

Street name. Case-insensitive: engvej also finds «Engvej». (In the original DAWA, upper and lower case had to match exactly.)

husnrstringquery

House number. Max. 3 digits, optionally followed by a letter.

supplerendebynavnstringquery

The supplementary town name.

postnrintegerquery

Postcode. 4 digits.

kommunekodeintegerquery

The municipality code of the municipality in which the address must be located. 4 digits.

Show all 52 parametersShow fewer
regionskodeintegerquery

Finds the addresses located within the region given by its code.

sognekodeintegerquery

Finds the addresses located within the parish given by its code.

retskredskodeintegerquery

Finds the addresses located within the judicial district given by its code.

politikredskodeintegerquery

Finds the addresses located within the police district given by its code.

opstillingskredskodeintegerquery

Finds the addresses located within the nomination district given by its code.

esrejendomsnrintegerquery

ESR property number. Up to 7 digits. Searches by the ESR property number of the associated cadastral parcel.

nøjagtighedstringquery

Find addresses where the access point has the specified accuracy. Possible values are "A", "B" and "U"

stedidstringquery

Find the addresses located within the place with the specified ID

stednavnidstringquery

Deprecated, use the stedid parameter instead. Find the addresses located within the place with the specified ID

bebyggelsesidstringquery

Find the addresses located within the settlement with the specified ID

bebyggelsestypestringquery

Find the addresses located in a settlement of the specified type. Possible values: "by", "bydel", "spredtBebyggelse", "sommerhusområde", "sommerhusområdedel", "industriområde", "kolonihave", "storby".

ejerlavkodeintegerquery

The code of the cadastral district (ejerlav) the address must lie in.

matrikelnrstringquery

Cadastral number. Unique within a cadastral district (ejerlav).

afstemningsområdenummerintegerquery

Find the addresses located in a polling district with the specified number. Usually combined with the kommunekode parameter.

storkredsnummerintegerquery

Find the addresses located in the storkreds (multi-member constituency) with the specified number.

valglandsdelsbogstavstringquery

Finds the addresses located in the given electoral province.

zonestringquery

The address's zone status. Possible values: "Byzone", "Sommerhusområde" or "Landzone"

zonekodeintegerquery

The integer code for the zone in which the address must be located. Possible values are 1 for an urban zone, 2 for a rural zone and 3 for a holiday home area.

adgangspunktidstringquery

Finds the address with the given access point ID

vejpunkt_idstringquery

Finds the address with the given street point ID

navngivenvej_idstringquery

Finds the addresses on the named road with the given ID

landsdelsnuts3stringquery

Finds the addresses in the province with the given NUTS3 code.

etagestringquery

Floor designation. If a value is specified, it can have the following values: numbers from 1 to 99, st, kl, k2 up to k9.

dørstringquery

Door designation. Numbers from 1 to 9999, lowercase letters, and the characters / and -.

adgangsadresseidstringquery

Id of the access address the address belongs to. UUID.

husnrfrastringquery

Return only addresses where husnr is greater than or equal to the specified value.

husnrtilstringquery

Return only addresses where husnr is less than or equal to the specified value. Note that if, for example, husnrtil=20 is specified, 20A is not included in the result.

medtagugyldigestringquery

Include invalid addresses in the response (addresses without a street name, postcode or house number).

medtagnedlagtestringquery

Includes discontinued or abandoned addresses in the response.

polygonstringquery

Finds the addresses located within the given polygon. The polygon is given as an array of coordinates, in the same way as coordinates are given in GeoJSON's polygon. Note that polygons must be closed, i.e. the first and last coordinate must be identical. Either (ETRS89/UTM32 or) WGS84/geographic may be used as the coordinate system. This is set with 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

Finds the addresses that are located within the circle given by the coordinate (x,y) and radius r. (ETRS89/UTM32 or) WGS84/geographic may be used as the coordinate system. The radius is given in metres. cirkel={x},{y},{r}.

qstringquery

See the description under autocomplete

autocompletestringquery

Performs the search as an autocomplete search.

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

fuzzystringquery

Enables fuzzy search

stednavnafstandnumberquery

Deprecated, use the stedafstand parameter instead. Used together with stedid. Find the addresses where the distance to the place specified by stedid is less than the specified value. The distance is specified in metres.

stedafstandnumberquery

Used together with stedid. Find the addresses where the distance to the place specified by stedid is less than the specified value. The distance is specified in metres.

geometristringquery

If the GeoJSON format is used, the parameter specifies whether the access point or the road point is used. Possible values: "adgangspunkt" or "vejpunkt"

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

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