Areas (DAGI)

Search and list electoral provinces

Search for electoral provinces. Returns the electoral provinces that match the criteria.

GET/valglandsdele

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

navnstringquery

The name of the electoral province. Case-sensitive.

bogstavstringquery

The electoral province's letter.

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

Finds the electoral provinces that overlap 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 electoral provinces that overlap 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}.

strukturstringquery

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

qstringquery

Search text. The search covers kode and navn. 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.

Show all 17 parametersShow fewer
xnumberquery

Reverse geocoding. Finds the electoral province for the given coordinate. The coordinate system given in the srid parameter is used (default WGS84).

ynumberquery

Reverse geocoding. Finds the electoral province 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 electoral province 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/valglandsdele" \
  --header "Authorization: Bearer $API_KEY"
Try it
GET https://api.danskadresseapi.dk/dawa/valglandsdele

Response

application/json

Success response. The MIME type of the response depends on the format parameter.

bboxnumber[]

The smallest rectangle containing the geometry.

max 4 items
hrefstring

The theme's unique URL.

kodestring

The official code for the area.

navnstring

The official name of the area.

sognobject

The parish (parish council polling districts only).

nuts2string

The NUTS2 code (regions only).

nuts3string

The NUTS3 code (provinces only).

nummerstring

The area number — used instead of kode by multi-member constituencies, nomination districts and polling districts.

Show all 25 fieldsShow fewer
regionobject

The region the area lies in.

bogstavstring

The electoral region letter (electoral regions only).

dagi_idstring

The area's ID in the DAGI register.

kommuneobject

The municipality the area lies in.

ændretstring<date-time>

When any attribute of the area was last changed. **Frozen as of 1 October 2026:** After 1 October 2026: the time the change was loaded by us. DAWA’s value was not the source timestamp either, but DAWA’s own load time, and it remains unchanged on older rows.

kommunerobject[]

The municipalities in the nomination district.

storkredsobject

The multi-member constituency the area lies in.

geo_versioninteger

Incremented each time the geometry changes. Use it to detect that a map needs to be redrawn.

geo_ændretstring<date-time>

When the geometry was last changed. **Frozen as of 1 October 2026:** After 1 October 2026: set only when Datafordeleren (DAGI) actually moves a boundary. Timestamps from before the shutdown are DAWA’s own.

regionskodestring

The region code (municipalities only).

kredskommuneobject

The district municipality (nomination districts only).

valglandsdelobject

The electoral region the area lies in.

visueltcenternumber[]

Coordinates for label placement on maps — a point guaranteed to lie within the area, which a centroid does not for concave shapes.

max 2 items
afstemningsstedobject

The polling station with name and access address (polling districts only).

valgkredsnummerstring

The electoral district number (nomination districts only).

opstillingskredsobject

The nomination district the polling district lies in.

udenforkommuneinddelingboolean

Whether the area lies outside the municipal division (municipalities only).

200Eksempel
[
  {
    "bbox": [
      0
    ],
    "href": "…",
    "kode": "…",
    "navn": "…",
    "sogn": {},
    "nuts2": "…",
    "nuts3": "…",
    "nummer": "…",
    "region": {},
    "bogstav": "…",
    "dagi_id": "…",
    "kommune": {}
  }
]
401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}
Search and list electoral provinces — DanskAdresseAPI