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
{
"data": "..."
}MCP integration
API endpoints
/healthTilgjengelighetssjekk + 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.
/electionsValgtyper 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.
/turnoutValgdeltakelse 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.
/resultsPartifordeling 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.