Next election in a country
next_electionThe next elections in one country, however far ahead: polling day and whether it is declared, still tentative, or only expected within a period, what is elected, the counting authority, and when results are expected. Answers "When is the next election in Austria?" or "When are the US midterms?". National elections by default; level "regional" answers "When are the next state elections in Germany?". Covers 388 elections in 100 countries, 2021–2030, including 23 of the 27 EU member states, the 2026 US midterms in all 50 states and the certified 2024 US presidential result, with vote counts, in all 50 states and DC.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"country": "<country>"
},
"name": "next_election"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many upcoming elections to return, soonest first; default 3 | |
| level | No | national: the country votes; regional: a state, region or autonomous community elects its own parliament or head (German Länder, Spanish autonomous communities, Italian regions). Default national; the answer also counts upcoming regional elections | |
| country | Yes | Country name or ISO 3166-1 alpha-2 code, e.g. "Austria" or "AT", "United States" or "US" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | What this answer was built from; cite dataset_version | |
| result | Yes |