Official data from Spain's Ministry of the Interior, INE and BOE

Data · Downloads

Open data: Spanish election results to download

The data behind votoporvoto, as CSV files: official results by municipality and district, 29N seats and voters, and every candidate list. It comes from the Spanish Ministry of the Interior, the National Statistics Institute (INE) and the Official State Gazette (BOE); we only put it in order. Column names and contents are in Spanish.

01

Datasets

FileContentsSource
Congress 2023 by municipality
congreso-2023-municipios.csv
Votes for each list in every municipality at the general election of 23 July 2023, with registered voters, turnout, valid, blank and invalid votes. One row per municipality and list.Ministry of the Interior
Congress 2023 by city district
congreso-2023-distritos.csv
The same by district in the seven cities with districts: Madrid, Barcelona, València, Sevilla, Zaragoza, Málaga and Bilbao.Ministry of the Interior
29N seats and voters by constituency
escanos-2026.csv
Deputies and senators each constituency elects on 29 November 2026, deputies in 2023, and voters (living in Spain and abroad).Royal Decree 806/2026; INE
29N candidates for Congress and the Senate
candidatos-2026.csv
Every proclaimed list: chamber, constituency, list, position, candidate or substitute, and name.BOE (BOE-A-2026-23103)

02

2023 results by province

One CSV per constituency with the votes, share and seats of each list at the 2023 Congress election, plus blank and invalid votes, registered voters and turnout.

03

Format and terms of use

UTF-8 CSV files, comma-separated, with a header row first and the source last. Numbers have no thousands separator. Municipality and district results cover only municipalities with a published votoporvoto page.

The data comes from public sources whose reuse is allowed with attribution (Spanish Law 37/2007 on the reuse of public-sector information and the legal notices of the Ministry of the Interior, the INE and the BOE). If you reuse it, cite the original source and, if you like, votoporvoto.com as compiler.

How we handle each source is explained in Fuentes y metodología (in Spanish). Missing something? Write to [email protected].