We use cookies for authentication and — with your consent — for analytics. Read more.

Skip to content
KETL Data
DataAppsMCPSign in
  1. Home
  2. Data catalogue
  3. Valgdatabasen — Danish election results
PoliticsStandardCC0

Valgdatabasen — Danish election results

Danish election results via the Statistics Denmark StatBank. The connector exposes the five election types — parliamentary elections, municipal-council elections, regional-council elections, European Parliament elections and referendums — as a curated election domain rather than raw table extracts. Retrieves turnout (vote share, invalid-vote share, postal-vote share) for all election types, and party distribution (vote share per party) for parliamentary and EP elections, with data back to the 1970s. Built on the same upstream as the `dk-statbank` connector (api.statbank.dk/v1). CC0, no API key. Part of the Nordic election-data trio together with `valmyndigheten` (SE).

—

Data volume

Yearly

Updates

3

MCP tools

Example response — /api/connectors/valgdatabasen-dk/elections
{
  "data": "..."
}

MCP integration

Available MCP tools
valgdatabasen_list_elections
valgdatabasen_results
valgdatabasen_turnout
Configuration for Claude Desktop / Cursor
{
  "mcpServers": {
    "valgdatabasen-dk": {
      "url": "https://data.ketl.no/mcp/valgdatabasen-dk",
      "headers": {
        "Authorization": "Bearer $KETL_API_KEY"
      }
    }
  }
}

API endpoints

GET
/health

Tilgjengelighetssjekk + valgtype-metadata

deep optional
Sett `deep=1` for å få med det fulle probe-objektet (`deepProbe`). Enhver annen verdi gir samme svar som uten parameteren — verdimengden er IKKE lukket, så ruta avviser ingenting (MÅLT 2026-08-30). deep=1
Show curl example
# GET https://data.ketl.no/api/connectors/valgdatabasen-dk/health
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/valgdatabasen-dk/health"

Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.

GET
/elections

Valgtyper med tilgjengelige valg-år

Show curl example
# GET https://data.ketl.no/api/connectors/valgdatabasen-dk/elections
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/valgdatabasen-dk/elections"

Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.

GET
/turnout

Valgdeltakelse for én valgtype og år (type+year-query)

type required
Valgtype type=folketing
year required
4-sifret valg-år year=2022
Show curl example
# GET https://data.ketl.no/api/connectors/valgdatabasen-dk/turnout?type=folketing&year=2022
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/valgdatabasen-dk/turnout?type=folketing&year=2022"

Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.

GET
/results

Partifordeling for én valgtype, år og område (type+year+area-query)

type required
Valgtype type=folketing
year required
4-sifret valg-år year=2022
area optional
OMRÅDE-kode: 3 sifre. `000` = hele landet, ellers dansk kommunenummer. area=101
Show curl example
# GET https://data.ketl.no/api/connectors/valgdatabasen-dk/results?type=folketing&year=2022
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/valgdatabasen-dk/results?type=folketing&year=2022"

Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.

Access and pricing

Valgdatabasen — Danish election results is openly available — create an account to get started.

danmarkvalgdemokratipolitikkfolketingnordisk
KETL Data

Nordic open-data and compliance infrastructure. Source, rule and confidence on every answer.

Product links

  • Data
  • Apps
  • MCP
  • Contact

Legal links

  • AI transparency
  • Privacy
  • Terms
  • SLA
  • Cookies
  • Security

© 2026 KETL Data

build 8f3b7512