electiondata.dev
Election Data
Election results with every number traced to its source.
Every US Senate election from 1976 to 2024, one row per candidate, with county presidential and House history and certified 2026 results to follow. Each row keeps the source it came from.
What you get
-
Plain files over HTTPS
Tables as JSON or CSV, one file per partition, plus every dataset as one CSV or Parquet file. No key or signup.
-
Versions you can cite
Every update gets a version id, and a pinned URL always returns the same data. The first version of each month is kept for good, so results stay reproducible.
-
Checked before publishing
Each update is validated against its contract. If a check fails, the last good version stays live.
-
Licenses up front
Every dataset names its source, its license, the exact credit line and whether commercial use is allowed.
Datasets
All 1 datasets-
US Senate election results, 1976-2024
Statewide returns for every US Senate election from 1976 to 2024, including special elections and runoffs: one row per candidate per ballot line, from the MIT Election Data + Science Lab.
Quickstart
Three requests: the catalog, one dataset's metadata and one data file.
curl -s "https://api.electiondata.dev/v1/catalog"
curl -s "https://api.electiondata.dev/v1/senate-results"
curl -sO "https://api.electiondata.dev/v1/senate-results/download/senate-results.csv" Base URL: https://api.electiondata.dev. Next: the docs and the API reference.