Brazil Election 2026General election · Runoff · October 25
Abroad

How to use the 2026 election results in JSON

The 2026 election results in JSON are public, free files that require no sign-up and are updated every few seconds during the count. Each address covers a slice: current totals, the summary by municipality, the presidency by state or by electoral zone. The data come from the TSE, and the full description is in the OpenAPI spec.

Brazil Election 2026 · Published October 11, 2026 · Source: TSE

Which JSON files are available?

The site publishes JSON files with the same data that feed the map. The file at https://eleicoes2026brasil.com/feed/agora.json carries the current totals for president (Brazil, states and abroad), for governor and for the Senate by state, and it is the starting point for a summary.

The file at https://eleicoes2026brasil.com/feed/municipios.json carries a summary by municipality, with the leader, the lead, polling stations counted and turnout.

The paths follow a pattern: /feed/ followed by the slice, either by IBGE code or by the state abbreviation, and the .json extension.

How do you request a state, a municipality or a zone?

To see the presidency in each municipality of a state, swap the abbreviation in the address, as in https://eleicoes2026brasil.com/feed/uf/sp.json. For abroad, use zz.

For a municipality, use the IBGE code. The address https://eleicoes2026brasil.com/feed/cidade/3550308-gov.json carries the governor in the municipality of São Paulo, code 3550308. With -sen in place of -gov, the file carries the Senate. And https://eleicoes2026brasil.com/feed/zonas/3550308.json carries the presidency by electoral zone for the same municipality.

For a whole state, the file by state abbreviation avoids making one call per municipality, because it gathers all of them into a single file.

How do you read the votes and the Chamber?

Votes are indexed by the candidate's number on the voting machine, not by name. To display the name, a program must match each number to the candidacy. The field descriptions are in the OpenAPI 3.1 spec, at https://eleicoes2026brasil.com/openapi.json.

For the Chamber, the file at https://eleicoes2026brasil.com/feed/deputados/br.json carries the seats by party and the most-voted deputies. For a state, swap br for the abbreviation, as in /feed/deputados/sp.json.

Anyone looking for a specific bloc can find the party in the seat list, which gives the number of seats each party holds.

How often do the files change?

During the count, totals are updated every few seconds, as soon as the TSE publishes new polling stations. Each file carries the time it was generated, which helps you tell whether a reading is recent.

The file at https://eleicoes2026brasil.com/feed/historico.json keeps the presidential count through the night, which is useful for building a timeline.

Anyone who wants to rebuild the counting night point by point will find in the history the sequence of totals, without having to store the numbers every minute.

Where does the original data come from?

The figures are those published by the Superior Electoral Court. The primary source is https://resultados.tse.jus.br, and the TSE Open Data Portal, at https://dadosabertos.tse.jus.br, gathers the court's open data.

When republishing, credit Brazil Election 2026 and the TSE, as the page https://eleicoes2026brasil.com/dados indicates.

How do you cite the data in a text?

When you use a figure in a news story, a study or an app, credit Brazil Election 2026 and the TSE. Also note the date and time of the file you used, which each JSON carries in its own content.

Because totals change during the count, a number copied today may not be the same tomorrow. Recording the time of the reading avoids confusion and lets you redo the calculation later.

Sources

Superior Electoral Court, results: https://resultados.tse.jus.br

TSE Open Data Portal: https://dadosabertos.tse.jus.br

Frequently asked questions

Do the JSON files have the same content as the map?

Yes. They are the same files that feed the site's map, updated every few seconds during the count.

Can I use the JSON files in an app?

Yes. The files are public and free, with no access key. When you publish the app, credit Brazil Election 2026 and the TSE, as the data page indicates.

Are the Brazil Election 2026 JSON files free?

Yes. The JSON files are public and free, and require neither sign-up nor an access key.

How do I find a municipality's IBGE code?

Each state's page lists its municipalities with a link to each one, and the address of the municipality's page ends in the IBGE code. The search_places tool of the MCP server also returns the code.

Do the JSON files have an official description?

Yes. The full description is in OpenAPI 3.1, at https://eleicoes2026brasil.com/openapi.json.