13 REST endpoints. Every county, every race, 1868–2024. Start free—100 requests/day, no credit card required. Built for content creators, newsrooms, and researchers.
$ curl -H "Authorization: Bearer ak_YOUR_KEY" \ https://akashicedge.com/api/v1/elections/2024/president { "data": [ { "fips": "55025", "county": "Dane", "margin": 42.86, "winner": "Democratic" }, { "fips": "55079", "county": "Milwaukee", "margin": 18.31, "winner": "Democratic" }, { "fips": "55133", "county": "Waukesha", "margin": -22.14, "winner": "Republican" } ], "meta": { "queryTimeMs": 18, "rowCount": 72 } }
Whether you're producing YouTube videos, running a newsroom, or publishing research—the Akashic Edge API gives you programmatic access to the most comprehensive U.S. election database ever assembled.
YouTubers, newsletter writers, and data viz creators.
Editorial teams, fact-checkers, and broadcast producers.
Political scientists, graduate students, and think tanks.
Elections, counties, states, demographics, swing analysis, time series, similarity, clusters, and NL→SQL.
President (1868–2024), Senate (1908–2024), Governor (1865–2025), House (1976–2024), State Leg (1968–2023).
County-level results for every presidential election since 1868. 163K precincts with geometry for 2020 and 2024.
Interactive Scalar docs. Generate typed client SDKs for Python, TypeScript, Go, or any language.
Indexed PostgreSQL + materialized views. Response envelope includes query time, row count, and rate limit status.
Fetch county-level results for the 2024 presidential election in Wisconsin.
GET /api/v1/elections/2024/president?state=WI Authorization: Bearer ak_YOUR_KEY
{
"data": [
{
"fips": "55025",
"county": "Dane County",
"state": "Wisconsin",
"demVotes": 222784,
"repVotes": 94108,
"totalVotes": 325439,
"margin": 39.51,
"winner": "Democratic"
},
{
"fips": "55079",
"county": "Milwaukee County",
"demVotes": 252012,
"repVotes": 132459,
"totalVotes": 393814,
"margin": 30.36,
"winner": "Democratic"
},
{
"fips": "55133",
"county": "Waukesha County",
"demVotes": 108765,
"repVotes": 159432,
"totalVotes": 273091,
"margin": -18.55,
"winner": "Republican"
}
],
"meta": {
"queryTimeMs": 18,
"rowCount": 72,
"apiVersion": "v1",
"source": "elections"
},
"rateLimit": {
"limit": 60,
"remaining": 59,
"reset": 1708102200
}
}All endpoints return a consistent envelope with data, meta, and rateLimit fields.
| Method | Path |
|---|---|
| GET | /v1/elections |
| GET | /v1/elections/{year}/{office} |
| GET | /v1/elections/timeseries |
| GET | /v1/elections/swing |
| GET | /v1/counties/{fips} |
| GET | /v1/counties/{fips}/similar |
| GET | /v1/counties/compare |
| GET | /v1/states/{code} |
| GET | /v1/demographics |
| GET | /v1/clusters |
| GET | /v1/compare |
| POST | /v1/historian/query |
Every plan includes the full dataset, all 13 endpoints, and interactive documentation. Paid plans save 25% with annual billing.
Create your free account and generate an API key in under a minute. No credit card required to explore the documentation.