Danish parliamentary cases, votes, politicians, parties, elections, and comparison tools.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Compare two Danish politicians/persons, two political parties, or one person against one party majority vote. Pass free-text names in left and right; when a name is ambiguous, retry with a specific input like person:123 or party:6 from the returned candidates. Leave result_filter as all for overall agreement; use only_agreement/only_disagreement only to inspect matching result rows. Comparable votes only include For, Imod, and Hverken for eller imod; Fravær/absence and undetermined party majority votes are excluded.
Left side person or party name. Use person:123 or party:123 to select a specific ID when a name is ambiguous.
Right side person or party name. Use person:123 or party:123 to select a specific ID when a name is ambiguous.
Free-text query for Danish case title.
Sort field. Defaults to date.
Latest afstemning date, formatted as YYYY-MM-DD.
Whether the afstemning was accepted/adopted.
Earliest afstemning date, formatted as YYYY-MM-DD.
Advanced refinement filter. Use only when the user explicitly asks for this category or to narrow an already-inspected result set; categories are difficult to distinguish and should usually be omitted for initial searches.
Related case type ID from the case type vocabulary resource.
Vote type ID. For person/person and person/party comparisons this filters person votes; for party/party comparisons this filters party majority votes.
Filter returned result rows. Use all for overall comparison questions. Use only_agreement/only_disagreement only to inspect matching result rows. This does not calculate overall agreement; summary remains the overall comparison after non-result-filter constraints.
Sort direction. Defaults to desc.
Afstemning type ID from the vote event type vocabulary resource.
Include amendment/change proposal afstemninger. Defaults to false because change proposal vote casts do not describe what they changed.
Compare two Danish politicians/persons, two political parties, or one person against one party majority vote. Pass free-text names in left and right; when a name is ambiguous, retry with a specific input like person:123 or party:6 from the returned candidates. Leave result_filter as all for overall agreement; use only_agreement/only_disagreement only to inspect matching result rows. Comparable votes only include For, Imod, and Hverken for eller imod; Fravær/absence and undetermined party majority votes are excluded.
| Argument | Type | Description |
|---|---|---|
| left* | string | Left side person or party name. Use person:123 or party:123 to select a specific ID when a name is ambiguous. |
| page | integer | |
| query | string | Free-text query for Danish case title. |
| right* | string | Right side person or party name. Use person:123 or party:123 to select a specific ID when a name is ambiguous. |
| sort_by | string | Sort field. Defaults to date. |
| to_date | string | Latest afstemning date, formatted as YYYY-MM-DD. |
| accepted | boolean | Whether the afstemning was accepted/adopted. |
| from_date | string | Earliest afstemning date, formatted as YYYY-MM-DD. |
| page_size | integer | |
| category_id | integer | Advanced refinement filter. Use only when the user explicitly asks for this category or to narrow an already-inspected result set; categories are difficult to distinguish and should usually be omitted for initial searches. |
| case_type_id | integer | Related case type ID from the case type vocabulary resource. |
| vote_type_id | integer | Vote type ID. For person/person and person/party comparisons this filters person votes; for party/party comparisons this filters party majority votes. |
| result_filter | string | Filter returned result rows. Use all for overall comparison questions. Use only_agreement/only_disagreement only to inspect matching result rows. This does not calculate overall agreement; summary remains the overall comparison after non-result-filter constraints. |
| sort_direction | string | Sort direction. Defaults to desc. |
| vote_cast_type_id | integer | Afstemning type ID from the vote event type vocabulary resource. |
| include_change_proposals | boolean | Include amendment/change proposal afstemninger. Defaults to false because change proposal vote casts do not describe what they changed. |
{
"type": "object",
"required": [
"left",
"right"
],
"properties": {
"left": {
"type": "string",
"description": "Left side person or party name. Use person:123 or party:123 to select a specific ID when a name is ambiguous."
},
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"query": {
"type": "string",
"description": "Free-text query for Danish case title."
},
"right": {
"type": "string",
"description": "Right side person or party name. Use person:123 or party:123 to select a specific ID when a name is ambiguous."
},
"sort_by": {
"enum": [
"date",
"case_title",
"case_type",
"category",
"vote_cast_number",
"accepted",
"party_name",
"vote_type"
],
"type": "string",
"default": "date",
"description": "Sort field. Defaults to date."
},
"to_date": {
"type": "string",
"format": "date",
"description": "Latest afstemning date, formatted as YYYY-MM-DD."
},
"accepted": {
"type": "boolean",
"description": "Whether the afstemning was accepted/adopted."
},
"from_date": {
"type": "string",
"format": "date",
"description": "Earliest afstemning date, formatted as YYYY-MM-DD."
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"category_id": {
"type": "integer",
"description": "Advanced refinement filter. Use only when the user explicitly asks\n for this category or to narrow an already-inspected result set; categories are difficult to distinguish and\n should usually be omitted for initial searches."
},
"case_type_id": {
"type": "integer",
"description": "Related case type ID from the case type vocabulary resource."
},
"vote_type_id": {
"type": "integer",
"description": "Vote type ID. For person/person and person/party comparisons this filters person votes; for\n party/party comparisons this filters party majority votes."
},
"result_filter": {
"enum": [
"all",
"only_agreement",
"only_disagreement"
],
"type": "string",
"default": "all",
"description": "Filter returned result rows. Use all for overall comparison questions. Use only_agreement/only_disagreement only to inspect matching result rows. This does not calculate overall agreement; summary remains the overall comparison after non-result-filter constraints."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc",
"description": "Sort direction. Defaults to desc."
},
"vote_cast_type_id": {
"type": "integer",
"description": "Afstemning type ID from the vote event type vocabulary resource."
},
"include_change_proposals": {
"type": "boolean",
"default": false,
"description": "Include amendment/change proposal afstemninger. Defaults to false because change proposal vote casts do not describe what they changed."
}
},
"additionalProperties": false
}Universal Deep Research-compatible fetch tool. Takes an id returned by search and returns a readable JSON document with id, title, text, url, and metadata.
| Argument | Type | Description |
|---|---|---|
| id* | string | Result ID returned by the search tool, for example case:123, vote_cast:456, person:789, or party:2. |
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Result ID returned by the search tool, for example case:123, vote_cast:456, person:789, or party:2."
}
},
"additionalProperties": false
}Get compact details for one Danish parliamentary case, including paginated associated document metadata and file IDs for optional extracted document text retrieval.
| Argument | Type | Description |
|---|---|---|
| case_id* | integer | Case ID from search_cases, search_vote_casts, or vote search related_case.id. |
| document_limit | integer | Maximum number of associated document metadata records to return. Use 0 to omit document items while keeping document counts. |
| document_offset | integer | Offset into the associated document metadata list. Use with document_limit to page through large case document lists. |
{
"type": "object",
"required": [
"case_id"
],
"properties": {
"case_id": {
"type": "integer",
"minimum": 1,
"description": "Case ID from search_cases, search_vote_casts, or vote search related_case.id."
},
"document_limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 0,
"description": "Maximum number of associated document metadata records to return. Use 0 to omit document items while keeping document counts."
},
"document_offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Offset into the associated document metadata list. Use with document_limit to page through large case document lists."
}
},
"additionalProperties": false
}Read a case's first-reading debate track, including speech text and source links. Filter by person or party and page through entries. Chairing remarks are excluded by default.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum number of debate entries to return. |
| offset | integer | Offset into the filtered debate entries. |
| case_id* | integer | Parliamentary case ID. |
| party_id | integer | Only speeches by this party ID, using party membership on the meeting date when needed. |
| person_id | integer | Only speeches by this resolved person ID. |
| include_chair | boolean | Include chairing speeches, which are omitted by default. |
{
"type": "object",
"required": [
"case_id"
],
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1,
"description": "Maximum number of debate entries to return."
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Offset into the filtered debate entries."
},
"case_id": {
"type": "integer",
"minimum": 1,
"description": "Parliamentary case ID."
},
"party_id": {
"type": "integer",
"minimum": 1,
"description": "Only speeches by this party ID, using party membership on the meeting date when needed."
},
"person_id": {
"type": "integer",
"minimum": 1,
"description": "Only speeches by this resolved person ID."
},
"include_chair": {
"type": "boolean",
"default": false,
"description": "Include chairing speeches, which are omitted by default."
}
},
"additionalProperties": false
}Return a bounded slice of extracted text for a document file. Supports head, tail, and range pagination; source_url always points to the official PDF.
| Argument | Type | Description |
|---|---|---|
| mode | string | Text slice mode. Use head for the beginning, tail for the end, or range with offset for pagination. |
| limit | integer | Maximum number of extracted-text characters to return. |
| offset | integer | Character offset used only when mode is range. Use next_offset from a prior response to continue reading. |
| file_id* | integer | File ID from get_case documents.items[].file.id. |
{
"type": "object",
"required": [
"file_id"
],
"properties": {
"mode": {
"enum": [
"head",
"tail",
"range"
],
"type": "string",
"default": "head",
"description": "Text slice mode. Use head for the beginning, tail for the end, or range with offset for pagination."
},
"limit": {
"type": "integer",
"default": 20000,
"maximum": 50000,
"minimum": 1,
"description": "Maximum number of extracted-text characters to return."
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Character offset used only when mode is range. Use next_offset from a prior response to continue reading."
},
"file_id": {
"type": "integer",
"minimum": 1,
"description": "File ID from get_case documents.items[].file.id."
}
},
"additionalProperties": false
}Inspect one public Danish parliamentary or municipal election by ID or slug. Returns election metadata, public result status, national turnout, vote totals and party vote shares, update timestamps, calculated but not officially verified parliamentary mandate counts, and the previous comparable election when available. Use list_elections to discover valid IDs and slugs, and the election-parties vocabulary resource to interpret list letters and abbreviations.
| Argument | Type | Description |
|---|---|---|
| election_id | integer | Election ID from list_elections. |
| election_slug | string | Election slug from list_elections, for example fv-2022 or kv-2025. |
{
"type": "object",
"oneOf": [
{
"required": [
"election_id"
]
},
{
"required": [
"election_slug"
]
}
],
"properties": {
"election_id": {
"type": "integer",
"minimum": 1,
"description": "Election ID from list_elections."
},
"election_slug": {
"type": "string",
"description": "Election slug from list_elections, for example fv-2022 or kv-2025."
}
},
"additionalProperties": false
}Inspect candidate names, votes, and vote shares for one FV or KV election and geographic scope. Year is required. Party and candidate text filters can be combined. Candidate names accept IDs, slugs, exact names, or partial names. With one uniquely resolved candidate, breakdown_by can rank their regions, municipalities, or polling areas. Historical geographic candidate rows prove recorded results in the scope, not a complete authoritative ballot roster.
| Argument | Type | Description |
|---|---|---|
| page | integer | |
| year* | integer | |
| party | string | Optional party name, abbreviation, list letter, or election list ID. |
| region | string | Region code or name, for example Region Midtjylland. |
| sort_by | string | |
| candidate | string | Optional candidate ID, slug, exact name, or partial name. |
| page_size | integer | |
| breakdown_by | string | With one uniquely resolved candidate, break their result down geographically. |
Track turnout, vote totals, party or candidate performance, bloc shares, bloc lead, or calculated FV mandates across elections. from_year and to_year are optional and inclusive; omitted bounds mean all available history. Geography filters select the same named/code scope in each election. breakdown_by election returns a time series; region, constituency, or municipality ranks that dimension across the period using weighted vote totals rather than averaging percentages. Calculated mandates are not officially verified.
| Argument | Type | Description |
|---|---|---|
| page | integer | |
| party | string | Required for party metrics; accepts name, abbreviation, letter, or list ID. |
| metric* | string | |
| region | string | Region code or name, for example Region Midtjylland. |
| sort_by | string | |
| to_year | integer | |
| candidate | string | Required for candidate metrics; accepts candidate ID, slug, or name. |
| from_year | integer |
Inspect vote totals, turnout, party/list vote shares, bloc winner and lead for one FV or KV election. Year is required. With no geography it returns national data; region, constituency, nomination district, municipality, and polling area arguments drill into applicable scopes. Optional party filtering accepts names, abbreviations, list letters, and list IDs. National FV seats are calculated by Politikdata and explicitly not officially verified mandate counts.
| Argument | Type | Description |
|---|---|---|
| page | integer | |
| year* | integer | Election year. Returns election_not_found when no matching election exists. |
| party | string | Optional party name, abbreviation, list letter, or election list ID. |
| region | string | Region code or name, for example Region Midtjylland. |
| sort_by | string | |
| page_size | integer | |
| constituency | string | Folketingsvalg constituency (Danish: storkreds) code or name. |
| municipality | string |
Read legislation metadata, related resource IDs with reference_lookup tool instructions, version history and a bounded text slice. Continue with text_offset=next_offset.
| Argument | Type | Description |
|---|---|---|
| text_limit | integer | |
| document_id* | integer | |
| text_offset | integer |
{
"type": "object",
"required": [
"document_id"
],
"properties": {
"text_limit": {
"type": "integer",
"default": 4000,
"maximum": 10000,
"minimum": 1
},
"document_id": {
"type": "integer",
"minimum": 1
},
"text_offset": {
"type": "integer",
"default": 0,
"minimum": 0
}
},
"additionalProperties": false
}Get compact details for one Danish political party, including the manually registered party leader, profile statistics, national FV/KV vote-share history, latest parliamentary election result, validity dates, and public URLs. Any parliamentary mandate count marked calculated is not officially verified. Use compare with party:ID when comparing this party against a person or another party.
| Argument | Type | Description |
|---|---|---|
| party_id* | integer | Party ID from the parties vocabulary resource or party vote search results. |
{
"type": "object",
"required": [
"party_id"
],
"properties": {
"party_id": {
"type": "integer",
"minimum": 1,
"description": "Party ID from the parties vocabulary resource or party vote search results."
}
},
"additionalProperties": false
}Get compact details for one Danish politician/person, including public biography summary, roles, party memberships, parliamentary vote statistics, election candidacies, and personal election votes. Use compare with person:ID when comparing this person against another person or a party majority vote.
| Argument | Type | Description |
|---|---|---|
| person_id* | integer | Person ID from search_persons, resolve_person, or a person-specific vote result. |
{
"type": "object",
"required": [
"person_id"
],
"properties": {
"person_id": {
"type": "integer",
"minimum": 1,
"description": "Person ID from search_persons, resolve_person, or a person-specific vote result."
}
},
"additionalProperties": false
}Read a question with inline answers, actors, original files and provenance. Page answers with answer_offset; read full text with text_offset. Use answer_id to pin any related answer. Answers have no independent detail resource.
| Argument | Type | Description |
|---|---|---|
| query | string | Repeat the search query to include matching answers outside the ordinary answer window. |
| answer_id | integer | |
| text_limit | integer | |
| question_id* | integer | |
| text_offset | integer | |
| answer_limit | integer | |
| answer_offset | integer | |
| matched_answer_offset | integer |
{
"type": "object",
"required": [
"question_id"
],
"properties": {
"query": {
"type": "string",
"maxLength": 500,
"description": "Repeat the search query to include matching answers outside the ordinary answer window."
},
"answer_id": {
"type": "integer",
"default": 0,
"maximum": 2147483647,
"minimum": 0
},
"text_limit": {
"type": "integer",
"default": 2000,
"maximum": 20000,
"minimum": 1
},
"question_id": {
"type": "integer",
"minimum": 1
},
"text_offset": {
"type": "integer",
"default": 0,
"maximum": 10000000,
"minimum": 0
},
"answer_limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"answer_offset": {
"type": "integer",
"default": 0,
"maximum": 10000000,
"minimum": 0
},
"matched_answer_offset": {
"type": "integer",
"default": 0,
"maximum": 10000000,
"minimum": 0
}
},
"additionalProperties": false
}Read the non-searchable parliamentary timeline for a question, including source provenance, corrections and observation dates. Page with offset and limit.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| offset | integer | |
| question_id* | integer |
{
"type": "object",
"required": [
"question_id"
],
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 10000000,
"minimum": 0
},
"question_id": {
"type": "integer",
"minimum": 1
}
},
"additionalProperties": false
}Read a verdict with original publication links, legal citation evidence, related resource IDs, reference_lookup tool instructions, outcomes and bounded text. Named-law mentions are textual findings, not confirmed historical law versions.
| Argument | Type | Description |
|---|---|---|
| text_limit | integer | |
| verdict_id* | integer | |
| text_offset | integer |
{
"type": "object",
"required": [
"verdict_id"
],
"properties": {
"text_limit": {
"type": "integer",
"default": 4000,
"maximum": 10000,
"minimum": 1
},
"verdict_id": {
"type": "integer",
"minimum": 1
},
"text_offset": {
"type": "integer",
"default": 0,
"minimum": 0
}
},
"additionalProperties": false
}Get compact details for one Danish parliamentary afstemning/vote cast, related legislation and verdict IDs with reference_lookup tool instructions, and paginated party vote breakdown. Use get_vote_cast_votes for the full roll-call list of individual politician votes.
| Argument | Type | Description |
|---|---|---|
| vote_cast_id* | integer | Vote cast / afstemning ID from search_vote_casts or vote search results. |
| party_vote_limit | integer | Maximum number of party vote breakdown rows to return. Use 0 to omit party vote items while keeping counts. |
| party_vote_offset | integer | Offset into the party vote breakdown list. |
{
"type": "object",
"required": [
"vote_cast_id"
],
"properties": {
"vote_cast_id": {
"type": "integer",
"minimum": 1,
"description": "Vote cast / afstemning ID from search_vote_casts or vote search results."
},
"party_vote_limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 0,
"description": "Maximum number of party vote breakdown rows to return. Use 0 to omit party vote items while keeping counts."
},
"party_vote_offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Offset into the party vote breakdown list."
}
},
"additionalProperties": false
}Get the full voting breakdown for one Danish parliamentary afstemning/vote cast, including both party-level votes and individual politician roll-call votes.
| Argument | Type | Description |
|---|---|---|
| vote_cast_id* | integer | Vote cast / afstemning ID from search_vote_casts or vote search results. |
{
"type": "object",
"required": [
"vote_cast_id"
],
"properties": {
"vote_cast_id": {
"type": "integer",
"minimum": 1,
"description": "Vote cast / afstemning ID from search_vote_casts or vote search results."
}
},
"additionalProperties": false
}List public Danish parliamentary and municipal elections that have result data or are enabled for live coverage. Returns IDs and slugs for get_election, plus current default/live markers and public URLs.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Resolve politicians by name only. Use this when an MCP client needs person IDs before calling person-specific tools.
| Argument | Type | Description |
|---|---|---|
| name* | string | Full or partial name of a politician. Searches only person name fields. |
| period_id | integer | Optional parliamentary period ID. |
| current_only | boolean | Limit to politicians active in the current period. |
| max_candidates | integer |
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Full or partial name of a politician. Searches only person name fields."
},
"period_id": {
"type": "integer",
"description": "Optional parliamentary period ID."
},
"current_only": {
"type": "boolean",
"default": true,
"description": "Limit to politicians active in the current period."
},
"max_candidates": {
"type": "integer",
"default": 10,
"maximum": 25,
"minimum": 1
}
},
"additionalProperties": false
}Universal Deep Research-compatible search across Politikdata.dk questions and answers, cases, vote casts, people, parties, legislation and verdicts. Use fetch with a returned id to retrieve a readable citation source.
| Argument | Type | Description |
|---|---|---|
| query* | string | Natural-language search query. |
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Natural-language search query."
}
},
"additionalProperties": false
}Search Danish parliamentary cases/documents by text, date range, type, category, and topic. Category filters should usually be omitted for initial searches and used only for refinement.
| Argument | Type | Description |
|---|---|---|
| page | integer | |
| query | string | Free-text query for case title, resume, explanation, or case number. |
| sort_by | string | Sort field. Defaults to updated_date. |
| to_date | string | Latest update date, formatted as YYYY-MM-DD. |
| from_date | string | Earliest update date, formatted as YYYY-MM-DD. |
| page_size | integer | |
| keyword_id | integer | Exact keyword ID, when known. |
| category_id | integer | Advanced refinement filter. Use only when the user explicitly asks for this category or to narrow an already-inspected result set; categories are difficult to distinguish and should usually be omitted for initial searches. |
| case_type_id |
Search parliamentary topic keywords by text. Results are ordered by associated document count so frequently used keywords are suggested first.
| Argument | Type | Description |
|---|---|---|
| page | integer | |
| query* | string | Keyword text or partial topic text to search for. |
| page_size | integer |
{
"type": "object",
"required": [
"query"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"query": {
"type": "string",
"description": "Keyword text or partial topic text to search for."
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 50,
"minimum": 1
}
},
"additionalProperties": false
}Search legislation from Retsinformation, including legal text. Use get_legal_document for metadata and paged text. Historical versions can be included explicitly.
| Argument | Type | Description |
|---|---|---|
| page | integer | |
| query | string | |
| page_size | integer | |
| include_historical | boolean |
{
"type": "object",
"properties": {
"page": {
"type": "integer",
"default": 1,
"maximum": 10000,
"minimum": 1
},
"query": {
"type": "string",
"maxLength": 200
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"include_historical": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}Search how a Danish political party voted in Folketinget afstemninger/stemmer. Use party IDs from the parties vocabulary resource. Category filters should usually be omitted for initial searches and used only for refinement.
| Argument | Type | Description |
|---|---|---|
| page | integer | |
| query | string | Free-text query for Danish case title. |
| sort_by | string | Sort field. Defaults to date. |
| to_date | string | Latest afstemning date, formatted as YYYY-MM-DD. |
| party_id* | integer | Party ID from the parties vocabulary resource. |
| from_date | string | Earliest afstemning date, formatted as YYYY-MM-DD. |
| page_size | integer | |
| category_id | integer | Advanced refinement filter. Use only when the user explicitly asks for this category or to narrow an already-inspected result set; categories are difficult to distinguish and should usually be omitted for initial searches. |
Search how a Danish politician/person voted in Folketinget afstemninger/stemmer. Use resolve_person first when only a name is known. Category filters should usually be omitted for initial searches and used only for refinement.
| Argument | Type | Description |
|---|---|---|
| page | integer | |
| query | string | Free-text query for Danish case title. |
| sort_by | string | Sort field. Defaults to date. |
| to_date | string | Latest afstemning date, formatted as YYYY-MM-DD. |
| from_date | string | Earliest afstemning date, formatted as YYYY-MM-DD. |
| page_size | integer | |
| person_id* | integer | Person ID. Use resolve_person first when only a name is known. |
| category_id | integer | Advanced refinement filter. Use only when the user explicitly asks for this category or to narrow an already-inspected result set; categories are difficult to distinguish and should usually be omitted for initial searches. |
Resolve or search politicians by name, optionally limited by parliamentary period.
| Argument | Type | Description |
|---|---|---|
| page | integer | |
| query* | string | Name or partial name of a politician. |
| sort_by | string | Optional explicit sort field. Omit to keep relevance-first ordering for name searches. |
| page_size | integer | |
| period_id | integer | Optional parliamentary period ID. |
| current_only | boolean | Limit to politicians active in the current period. |
| sort_direction | string | Sort direction for explicit sort_by. Defaults to asc. |
{
"type": "object",
"required": [
"query"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"query": {
"type": "string",
"description": "Name or partial name of a politician."
},
"sort_by": {
"enum": [
"last_name",
"name",
"party",
"period"
],
"type": "string",
"description": "Optional explicit sort field. Omit to keep relevance-first ordering for name searches."
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 50,
"minimum": 1
},
"period_id": {
"type": "integer",
"description": "Optional parliamentary period ID."
},
"current_only": {
"type": "boolean",
"default": true,
"description": "Limit to politicians active in the current period."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "asc",
"description": "Sort direction for explicit sort_by. Defaults to asc."
}
},
"additionalProperties": false
}Search all Danish parliamentary questions including text in their answers. Results and facets count distinct questions; answers appear inline. Use get_question to read all answers.
| Argument | Type | Description |
|---|---|---|
| emne | array | Emne |
| page | integer | |
| asker | array | Stillet af |
| party | array | Spørgerens parti |
| query | string | Words in a question or any of its answers. |
| status | array | Status |
| emneord | array | Nøgleord |
| sort_by | string | |
| to_date | string | |
| committee | array | Udvalg |
| from_date | string |
Search published judgments and decisions, optionally filtered by source. Set include_other_publications for summaries, opinions, settlements and procedural records. Use get_verdict for citation findings, outcomes and paged text.
| Argument | Type | Description |
|---|---|---|
| page | integer | |
| query | string | |
| source | string | |
| page_size | integer | |
| include_other_publications | boolean | Include summaries, opinions, settlements, records and procedural publications. |
{
"type": "object",
"properties": {
"page": {
"type": "integer",
"default": 1,
"maximum": 10000,
"minimum": 1
},
"query": {
"type": "string",
"maxLength": 200
},
"source": {
"enum": [
"domsdatabasen",
"arbejdsretten",
"landsskatteretten",
"rigsretten",
"soe-og-handelsretten",
"hoejesteret",
"landsretterne",
"byretterne",
"tinglysningsretten",
"procesbevillingsnaevnet"
],
"type": "string"
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"include_other_publications": {
"type": "boolean",
"default": false,
"description": "Include summaries, opinions, settlements, records and procedural publications."
}
},
"additionalProperties": false
}Search Danish parliamentary afstemninger/stemmer, meaning aggregate vote results for a case step. This does not search individual person or party votes. Category filters should usually be omitted for initial searches and used only for refinement.
| Argument | Type | Description |
|---|---|---|
| page | integer | |
| query | string | Free-text query for Danish case title or case number. |
| sort_by | string | Sort field. Defaults to date. |
| to_date | string | Latest meeting date, formatted as YYYY-MM-DD. |
| accepted | boolean | Whether the afstemning was accepted/adopted. |
| from_date | string | Earliest meeting date, formatted as YYYY-MM-DD. |
| page_size | integer | |
| keyword_id | integer | Exact keyword ID, when known. |
| category_id | integer | Advanced refinement filter. Use only when the user explicitly asks for this category or to narrow an already-inspected result set; categories are difficult to distinguish and should usually be omitted for initial searches. |
| constituency | string | Folketingsvalg constituency (Danish: storkreds) code or name. |
| municipality | string | Municipality code, slug, or name, for example Horsens. |
| polling_area | string | Polling area (Danish: afstemningsområde) DAGI code or name. |
| election_type | string | FV for Folketingsvalg or KV for Kommunalvalg. |
| sort_direction | string |
| nomination_district | string | Folketingsvalg nomination district (Danish: opstillingskreds) code or name. |
{
"type": "object",
"required": [
"year"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"year": {
"type": "integer",
"maximum": 2100,
"minimum": 1900
},
"party": {
"type": "string",
"description": "Optional party name, abbreviation, list letter, or election list ID."
},
"region": {
"type": "string",
"description": "Region code or name, for example Region Midtjylland."
},
"sort_by": {
"enum": [
"votes",
"vote_share",
"name"
],
"type": "string",
"default": "votes"
},
"candidate": {
"type": "string",
"description": "Optional candidate ID, slug, exact name, or partial name."
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"breakdown_by": {
"enum": [
"region",
"municipality",
"polling_area"
],
"type": "string",
"description": "With one uniquely resolved candidate, break their result down geographically."
},
"constituency": {
"type": "string",
"description": "Folketingsvalg constituency (Danish: storkreds) code or name."
},
"municipality": {
"type": "string",
"description": "Municipality code, slug, or name, for example Horsens."
},
"polling_area": {
"type": "string",
"description": "Polling area (Danish: afstemningsområde) DAGI code or name."
},
"election_type": {
"enum": [
"FV",
"KV"
],
"type": "string",
"default": "FV",
"description": "FV for Folketingsvalg or KV for Kommunalvalg."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc"
},
"nomination_district": {
"type": "string",
"description": "Folketingsvalg nomination district (Danish: opstillingskreds) code or name."
}
},
"additionalProperties": false
}| page_size | integer |
| breakdown_by | string | Group by election, or rank one geographic dimension across the period. |
| constituency | string | Folketingsvalg constituency (Danish: storkreds) code or name. |
| municipality | string | Municipality code, slug, or name, for example Horsens. |
| polling_area | string | Polling area (Danish: afstemningsområde) DAGI code or name. |
| election_type | string | FV for Folketingsvalg or KV for Kommunalvalg. |
| sort_direction | string |
| nomination_district | string | Folketingsvalg nomination district (Danish: opstillingskreds) code or name. |
{
"type": "object",
"required": [
"metric"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"party": {
"type": "string",
"description": "Required for party metrics; accepts name, abbreviation, letter, or list ID."
},
"metric": {
"enum": [
"party_votes",
"party_vote_share",
"calculated_mandates",
"candidate_votes",
"candidate_vote_share",
"turnout",
"eligible_voters",
"votes_cast",
"valid_votes",
"invalid_votes",
"left_bloc_vote_share",
"right_bloc_vote_share",
"bloc_lead"
],
"type": "string"
},
"region": {
"type": "string",
"description": "Region code or name, for example Region Midtjylland."
},
"sort_by": {
"enum": [
"year",
"value",
"name"
],
"type": "string",
"default": "year"
},
"to_year": {
"type": "integer",
"maximum": 2100,
"minimum": 1900
},
"candidate": {
"type": "string",
"description": "Required for candidate metrics; accepts candidate ID, slug, or name."
},
"from_year": {
"type": "integer",
"maximum": 2100,
"minimum": 1900
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"breakdown_by": {
"enum": [
"election",
"region",
"constituency",
"municipality"
],
"type": "string",
"default": "election",
"description": "Group by election, or rank one geographic dimension across the period."
},
"constituency": {
"type": "string",
"description": "Folketingsvalg constituency (Danish: storkreds) code or name."
},
"municipality": {
"type": "string",
"description": "Municipality code, slug, or name, for example Horsens."
},
"polling_area": {
"type": "string",
"description": "Polling area (Danish: afstemningsområde) DAGI code or name."
},
"election_type": {
"enum": [
"FV",
"KV"
],
"type": "string",
"default": "FV",
"description": "FV for Folketingsvalg or KV for Kommunalvalg."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "asc"
},
"nomination_district": {
"type": "string",
"description": "Folketingsvalg nomination district (Danish: opstillingskreds) code or name."
}
},
"additionalProperties": false
}| Municipality code, slug, or name, for example Horsens. |
| polling_area | string | Polling area (Danish: afstemningsområde) DAGI code or name. |
| election_type | string | FV for Folketingsvalg or KV for Kommunalvalg. |
| sort_direction | string |
| nomination_district | string | Folketingsvalg nomination district (Danish: opstillingskreds) code or name. |
{
"type": "object",
"required": [
"year"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"year": {
"type": "integer",
"maximum": 2100,
"minimum": 1900,
"description": "Election year. Returns election_not_found when no matching election exists."
},
"party": {
"type": "string",
"description": "Optional party name, abbreviation, list letter, or election list ID."
},
"region": {
"type": "string",
"description": "Region code or name, for example Region Midtjylland."
},
"sort_by": {
"enum": [
"votes",
"vote_share",
"name"
],
"type": "string",
"default": "votes"
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"constituency": {
"type": "string",
"description": "Folketingsvalg constituency (Danish: storkreds) code or name."
},
"municipality": {
"type": "string",
"description": "Municipality code, slug, or name, for example Horsens."
},
"polling_area": {
"type": "string",
"description": "Polling area (Danish: afstemningsområde) DAGI code or name."
},
"election_type": {
"enum": [
"FV",
"KV"
],
"type": "string",
"default": "FV",
"description": "FV for Folketingsvalg or KV for Kommunalvalg."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc"
},
"nomination_district": {
"type": "string",
"description": "Folketingsvalg nomination district (Danish: opstillingskreds) code or name."
}
},
"additionalProperties": false
}| integer |
| Case type ID from the case type vocabulary resource. |
| keyword_text | string | Natural-language topic text. Prefer this when exact keyword IDs are ambiguous. |
| sort_direction | string | Sort direction. Defaults to desc. |
{
"type": "object",
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"query": {
"type": "string",
"description": "Free-text query for case title, resume, explanation, or case number."
},
"sort_by": {
"enum": [
"updated_date",
"created_date",
"title",
"case_number"
],
"type": "string",
"default": "updated_date",
"description": "Sort field. Defaults to updated_date."
},
"to_date": {
"type": "string",
"format": "date",
"description": "Latest update date, formatted as YYYY-MM-DD."
},
"from_date": {
"type": "string",
"format": "date",
"description": "Earliest update date, formatted as YYYY-MM-DD."
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"keyword_id": {
"type": "integer",
"description": "Exact keyword ID, when known."
},
"category_id": {
"type": "integer",
"description": "Advanced refinement filter. Use only when the user explicitly asks\n for this category or to narrow an already-inspected result set; categories are difficult to distinguish and\n should usually be omitted for initial searches."
},
"case_type_id": {
"type": "integer",
"description": "Case type ID from the case type vocabulary resource."
},
"keyword_text": {
"type": "string",
"description": "Natural-language topic text. Prefer this when exact keyword IDs are ambiguous."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc",
"description": "Sort direction. Defaults to desc."
}
},
"additionalProperties": false
}| case_type_id | integer | Related case type ID from the case type vocabulary resource. |
| vote_type_id | integer | Party vote type ID from the vote types vocabulary resource. |
| sort_direction | string | Sort direction. Defaults to desc. |
| vote_cast_type_id | integer | Afstemning type ID from the vote event type vocabulary resource. |
| include_change_proposals | boolean | Include amendment/change proposal afstemninger. Defaults to false because change proposal vote casts do not describe what they changed. |
{
"type": "object",
"required": [
"party_id"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"query": {
"type": "string",
"description": "Free-text query for Danish case title."
},
"sort_by": {
"enum": [
"date",
"case_title",
"case_type",
"category",
"vote_cast_number",
"accepted",
"party_name",
"vote_type"
],
"type": "string",
"default": "date",
"description": "Sort field. Defaults to date."
},
"to_date": {
"type": "string",
"format": "date",
"description": "Latest afstemning date, formatted as YYYY-MM-DD."
},
"party_id": {
"type": "integer",
"minimum": 1,
"description": "Party ID from the parties vocabulary resource."
},
"from_date": {
"type": "string",
"format": "date",
"description": "Earliest afstemning date, formatted as YYYY-MM-DD."
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"category_id": {
"type": "integer",
"description": "Advanced refinement filter. Use only when the user explicitly asks\n for this category or to narrow an already-inspected result set; categories are difficult to distinguish and\n should usually be omitted for initial searches."
},
"case_type_id": {
"type": "integer",
"description": "Related case type ID from the case type vocabulary resource."
},
"vote_type_id": {
"type": "integer",
"description": "Party vote type ID from the vote types vocabulary resource."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc",
"description": "Sort direction. Defaults to desc."
},
"vote_cast_type_id": {
"type": "integer",
"description": "Afstemning type ID from the vote event type vocabulary resource."
},
"include_change_proposals": {
"type": "boolean",
"default": false,
"description": "Include amendment/change proposal afstemninger. Defaults to false because change proposal vote casts do not describe what they changed."
}
},
"additionalProperties": false
}| case_type_id | integer | Related case type ID from the case type vocabulary resource. |
| vote_type_id | integer | Person vote type ID from the vote types vocabulary resource. |
| sort_direction | string | Sort direction. Defaults to desc. |
| vote_cast_type_id | integer | Afstemning type ID from the vote event type vocabulary resource. |
| include_change_proposals | boolean | Include amendment/change proposal afstemninger. Defaults to false because change proposal vote casts do not describe what they changed. |
{
"type": "object",
"required": [
"person_id"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"query": {
"type": "string",
"description": "Free-text query for Danish case title."
},
"sort_by": {
"enum": [
"date",
"case_title",
"case_type",
"category",
"vote_cast_number",
"accepted",
"party_name",
"vote_type"
],
"type": "string",
"default": "date",
"description": "Sort field. Defaults to date."
},
"to_date": {
"type": "string",
"format": "date",
"description": "Latest afstemning date, formatted as YYYY-MM-DD."
},
"from_date": {
"type": "string",
"format": "date",
"description": "Earliest afstemning date, formatted as YYYY-MM-DD."
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"person_id": {
"type": "integer",
"minimum": 1,
"description": "Person ID. Use resolve_person first when only a name is known."
},
"category_id": {
"type": "integer",
"description": "Advanced refinement filter. Use only when the user explicitly asks\n for this category or to narrow an already-inspected result set; categories are difficult to distinguish and\n should usually be omitted for initial searches."
},
"case_type_id": {
"type": "integer",
"description": "Related case type ID from the case type vocabulary resource."
},
"vote_type_id": {
"type": "integer",
"description": "Person vote type ID from the vote types vocabulary resource."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc",
"description": "Sort direction. Defaults to desc."
},
"vote_cast_type_id": {
"type": "integer",
"description": "Afstemning type ID from the vote event type vocabulary resource."
},
"include_change_proposals": {
"type": "boolean",
"default": false,
"description": "Include amendment/change proposal afstemninger. Defaults to false because change proposal vote casts do not describe what they changed."
}
},
"additionalProperties": false
}| page_size | integer |
| recipient | array | Stillet til |
| respondent | array | Besvaret af |
| emne_offset | integer |
| emne_search | string |
| asker_offset | integer |
| asker_search | string |
| party_offset | integer |
| party_search | string |
| answer_format | array | Svarform |
| question_type | array | Spørgsmålstype |
| status_offset | integer |
| status_search | string |
| emneord_offset | integer |
| emneord_search | string |
| sort_direction | string |
| committee_offset | integer |
| committee_search | string |
| recipient_offset | integer |
| recipient_search | string |
| party_attribution | array | Sikkerhed om partitilknytning |
| respondent_offset | integer |
| respondent_search | string |
| answer_format_offset | integer |
| answer_format_search | string |
| question_type_offset | integer |
| question_type_search | string |
| party_attribution_offset | integer |
| party_attribution_search | string |
{
"type": "object",
"properties": {
"emne": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 100,
"description": "Emne"
},
"page": {
"type": "integer",
"default": 1,
"maximum": 200,
"minimum": 1
},
"asker": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 100,
"description": "Stillet af"
},
"party": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 100,
"description": "Spørgerens parti"
},
"query": {
"type": "string",
"maxLength": 500,
"description": "Words in a question or any of its answers."
},
"status": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100,
"description": "Status"
},
"emneord": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 100,
"description": "Nøgleord"
},
"sort_by": {
"enum": [
"date",
"title",
"relevance"
],
"type": "string"
},
"to_date": {
"type": "string",
"format": "date"
},
"committee": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 100,
"description": "Udvalg"
},
"from_date": {
"type": "string",
"format": "date"
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"recipient": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 100,
"description": "Stillet til"
},
"respondent": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 100,
"description": "Besvaret af"
},
"emne_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"emne_search": {
"type": "string",
"maxLength": 100
},
"asker_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"asker_search": {
"type": "string",
"maxLength": 100
},
"party_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"party_search": {
"type": "string",
"maxLength": 100
},
"answer_format": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100,
"description": "Svarform"
},
"question_type": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100,
"description": "Spørgsmålstype"
},
"status_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"status_search": {
"type": "string",
"maxLength": 100
},
"emneord_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"emneord_search": {
"type": "string",
"maxLength": 100
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string"
},
"committee_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"committee_search": {
"type": "string",
"maxLength": 100
},
"recipient_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"recipient_search": {
"type": "string",
"maxLength": 100
},
"party_attribution": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100,
"description": "Sikkerhed om partitilknytning"
},
"respondent_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"respondent_search": {
"type": "string",
"maxLength": 100
},
"answer_format_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"answer_format_search": {
"type": "string",
"maxLength": 100
},
"question_type_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"question_type_search": {
"type": "string",
"maxLength": 100
},
"party_attribution_offset": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"party_attribution_search": {
"type": "string",
"maxLength": 100
}
},
"additionalProperties": false
}| case_type_id | integer | Related case type ID from the case type vocabulary resource. |
| keyword_text | string | Natural-language topic text. Prefer this when exact keyword IDs are ambiguous. |
| sort_direction | string | Sort direction. Defaults to desc. |
| vote_cast_type_id | integer | Afstemning type ID from the vote cast/event type vocabulary resource. |
| include_change_proposals | boolean | Include amendment/change proposal afstemninger. Defaults to false. |
{
"type": "object",
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"query": {
"type": "string",
"description": "Free-text query for Danish case title or case number."
},
"sort_by": {
"enum": [
"date",
"title",
"case_number",
"vote_cast_number",
"accepted",
"majority_vote_type"
],
"type": "string",
"default": "date",
"description": "Sort field. Defaults to date."
},
"to_date": {
"type": "string",
"format": "date",
"description": "Latest meeting date, formatted as YYYY-MM-DD."
},
"accepted": {
"type": "boolean",
"description": "Whether the afstemning was accepted/adopted."
},
"from_date": {
"type": "string",
"format": "date",
"description": "Earliest meeting date, formatted as YYYY-MM-DD."
},
"page_size": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"keyword_id": {
"type": "integer",
"description": "Exact keyword ID, when known."
},
"category_id": {
"type": "integer",
"description": "Advanced refinement filter. Use only when the user explicitly asks\n for this category or to narrow an already-inspected result set; categories are difficult to distinguish and\n should usually be omitted for initial searches."
},
"case_type_id": {
"type": "integer",
"description": "Related case type ID from the case type vocabulary resource."
},
"keyword_text": {
"type": "string",
"description": "Natural-language topic text. Prefer this when exact keyword IDs are ambiguous."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc",
"description": "Sort direction. Defaults to desc."
},
"vote_cast_type_id": {
"type": "integer",
"description": "Afstemning type ID from the vote cast/event type vocabulary resource."
},
"include_change_proposals": {
"type": "boolean",
"default": false,
"description": "Include amendment/change proposal afstemninger. Defaults to false."
}
},
"additionalProperties": false
}