Areas (DAGI)

Autocomplete for nomination districts

Autocomplete for nomination districts. The same parameters as for search can be used, but note that the q parameter is interpreted differently. Read more under autocomplete.

GET/opstillingskredse/autocomplete

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

dagi_idintegerquery

Finds the nomination district with the given DAGI ID.

nummerintegerquery

Find opstillingskredse (nomination districts) with the specified number. The number is unique within an opstillingskreds (nomination district).

kodeintegerquery

Deprecated. Use the nummer parameter instead.

navnstringquery

Finds the nomination district with the given name. Case-sensitive.

kredskommunekodeintegerquery

Finds the nomination districts with the given constituency municipality.

regionskodeintegerquery

Find the opstillingskredse (nomination districts) in the region with the specified region code.

storkredsnummerintegerquery

Finds the nomination districts in the given multi-member constituency.

valglandsdelsbogstavstringquery

Finds the nomination districts in the given electoral province.

Show all 17 parametersShow fewer
kommunekodeintegerquery

Find opstillingskredse (nomination districts) where at least one of the polling districts in the opstillingskreds (nomination district) is located in the specified municipality.

qstringquery

See the description under autocomplete

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/opstillingskredse/autocomplete" \
  --header "Authorization: Bearer $API_KEY"
Try it
GET https://api.danskadresseapi.dk/dawa/opstillingskredse/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."
  }
}
Autocomplete for nomination districts — DanskAdresseAPI