Skip to content

ElectionGuide API: Get election results

Gets a country's most recent held national election or referendum on ElectionGuide, optionally for a year and election type, with turnout and published candidate, party or option results.

electionguide.org (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by ElectionGuide.

Inputs

Values from the run on Oct 31, 2026, shown under Output.

Year optionalyear

Election year, for example 2025. Omit for the most recent held election.

Not set

Whole number from 1900 to 2100.

Country, requiredcountry

Country name, for example Germany.

Germany

Election Type optionalelection_type

Election category, for example legislative. Defaults to any.

any (default)

One of any, presidential, legislative, referendum.

Output

From a run on Oct 31, 2026, shortened for this page.
{  "date": "2025-02-23",  "link": "https://www.electionguide.org/elections/id/4574/",  "note": null,  "country": "Germany",  "results": [    {      "name": "Christian Democratic Union (CDU) (Christlich Demokratische Union Deutschlands)",      "party": "Christian Democratic Union (CDU) (Christlich Demokratische Union Deutschlands)",      "votes": 11194700,      "seats_won": 164,      "vote_share_percent": 22.6    },    {      "name": "Alternative for Germany (Alternative für Deutschland)",      "party": "Alternative for Germany (Alternative für Deutschland)",      "votes": 10327148,      "seats_won": 152,      "vote_share_percent": 20.8    },    {      "name": "Social Democratic Party",      "party": "Social Democratic Party",      "votes": 8148284,      "seats_won": 120,      "vote_share_percent": 16.4    }  ],  "votes_cast": 49927315,  "election_name": "German Federal Diet",  "election_type": "legislative",  "turnout_percent": 82.54,  "registered_voters": 60490603}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
electionguide.org/get_election_results
Returns
election name, type, date, registered voters, votes cast, turnout, results with votes, vote share and seats, link

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method electionguide.org/get_election_results with the inputs above.

Ask your agent

  • What were the results of Germany's 2025 legislative election, including turnout and seats won by each party?
  • Pull up the latest presidential election in Brazil from electionguide.org with vote shares for each candidate
  • How did the most recent referendum in Switzerland turn out? I need registered voters, votes cast, and the yes/no breakdown
  • Show me Kenya's 2022 presidential election numbers: turnout and how many votes each candidate got
  • Check ElectionGuide for the last national election held in Indonesia and give me the party results

See more

  • Looks up a World Bank statistic for a country and returns its annual values and latest value for the selected years.

    data.worldbank.org/get_country_statistic
  • Lists statewide ballot measures in a US state and year, in Ballotpedia order, with election dates, topics, measure types, yes/no vote meanings and results. Years without statewide measures return an empty list.

    ballotpedia.org/list_ballot_measures
  • Ranks countries by a World Development Indicators statistic for a given year, or for the latest year with broad country coverage. Regional aggregates and countries without data for that year are left out.

    worldbank.org/compare_countries
  • Looks up a country's passport on Passport Index and returns its global rank, mobility score, visa requirement counts and optionally every destination's requirement.

    passportindex.org/get_passport_rank
  • Returns the main-race finishing order and fastest lap for a Formula 1 Grand Prix. Defaults to the most recent completed race in the current season.

    formula1.com/get_race_results
  • Returns seven key economic indicators for a country from its public Trading Economics overview: GDP growth rate, inflation rate, interest rate, unemployment rate, government debt to GDP, currency and stock market. Indicators absent from the overview are null; the US dollar index is not reported as a USD exchange rate.

    tradingeconomics.com/get_country_overview
  • Gets singles match results round by round for an ATP tournament and year, including the champion, dates, surface and category. Without a year it uses the most recent listed edition.

    atptour.com/get_tournament_results
  • Finds the Our World in Data chart that best matches a statistic and returns its country-by-year numeric values, definition and source.

    ourworldindata.org/get_statistic