Dk Elections
liveReferenceDanish national election results (Statistics Denmark, final-count results, 2009 to the latest election), down to polling-station area.
Tools
dk_elections_list_electionsList the Danish national elections and referendums covered: Folketing elections, European Parliament elections and referendums, 2009 to the latest held, each with date, type and the geography levels a
No parameters required.
Try it
dk_elections_resultsFinal-count results of one Danish national election or referendum by geography level, down to polling-station area: votes, percent and seats per party (or yes/no votes for a referendum), plus eligible
No parameters required.
Try it
dk_elections_party_over_timeOne party's vote and seat results across Danish national elections 2009 to the latest, for the whole country or for one named area at any level (areas are matched across elections by NAME; boundaries
No parameters required.
Try it
dk_elections_turnoutVoter turnout for Danish national elections: eligible voters, votes cast, turnout percent and invalid votes, for the whole country or one named area. Give election for one election; omit it for turnou
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/dk-elections/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/dk-elections/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"dk_elections_list_elections","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("dk_elections_list_elections", {});// Or ask in plain English:
const answer = await px.ask("danish national election results (statistics denmark, final-count results, 2009 to the latest election), down to polling-station area");