Sample data

These are real responses from the API, saved as files you can download without an API key. They are small on purpose: a page or two of records from each endpoint, and one election export cut down to a few contests of each kind, enough to build against and to see every shape the data takes.

Download every sample (.zip)

What each coded value means (vote_method, kind, status and the rest) is on the Field values page, and every field is described in the API reference.

A sample election export

A whole election in one file is what most customers start with. The sample has a few contests of each kind: vote for one, vote for N, ranked choice, ballot measures and judicial retention, with their results and every endorser’s position. The full export has every contest on the ballot.

FileRequestWhat’s in it
Election export (JSON)GET /v1/elections/ca-2026-11-03-general/exportThe export of one election, cut down to a few contests of each kind: the election and its voting rules, then each contest with its office, district, choices, result and every endorser’s position.
Election export (CSV)GET /v1/elections/ca-2026-11-03-general/export?format=csvThe same contests as CSV: one row per endorsement, with its election, contest, district, choice and result.

Sample responses

One response from each data endpoint, exactly as the API returned it. Lists are cut to a few records, so their next_cursor points at a page you’d need a key to read.

FileRequestWhat’s in it
StatesGET /v1/statesEvery state, with its FIPS code.
ElectionsGET /v1/elections?states=CA&limit=5Elections with their voting rules and counts.
CoverageGET /v1/coveragePer state: elections, contests, measures, endorsers and endorsements.
Endorser categoriesGET /v1/endorser-categoriesThe kinds of endorser.
EndorsersGET /v1/endorsers?states=CA&limit=5Endorsers with their category, home state and endorsement count.
ContestsGET /v1/contests?elections=ca-2026-11-03-general&limit=3Contests with their office, district, choices and results.
One contestGET /v1/contests/92A ranked-choice city council race with every endorser’s position and rank.
EndorsementsGET /v1/endorsements?elections=ca-2026-11-03-general&limit=5Endorsements, flat, with the basics of each.
One endorsementGET /v1/endorsements/51411An endorsement in full: statement, source, endorser, contest and choice.
CandidatesGET /v1/candidates?states=CA&limit=3Candidates with their contests, endorsement counts and contact details.
One candidateGET /v1/candidates/5A candidate with every endorsement received, campaign finance and issue positions.
Measure topicsGET /v1/measure-topicsThe topics measures are tagged with.
IssuesGET /v1/issuesThe issues candidates’ positions are recorded on.
Issue positionsGET /v1/issue-positions?limit=3Where candidates stand, with sources.
OfficeholdersGET /v1/officeholders?states=CA&limit=3Who holds each seat now.
Sample data · BallotData API