Non-partisan · FEC public record

Open API (v0)

Every 2026 House and Senate race on Campaign Finance is also published as read-only JSON. There is no key, no sign-up and no rate limit beyond ordinary courtesy: the files are static, rebuilt with the weekly data refresh, and open to any website (Access-Control-Allow-Origin: *).

Version 0. Field names may still change before v1. A breaking change will move to /api/v1/; v0 will not be changed in place without a note on this page.

Endpoints

PathWhat it holds
/api/v0/index.jsonManifest: version, cycle, as-of dates, every endpoint below, the candidate field list, terms
/api/v0/races.jsonEvery race this cycle: key, slug, office, state, district, candidate count, links
/api/v0/races/{slug}.jsonOne race: each listed candidate's FEC aggregates, plus the race's result once one is recorded
/api/v0/results-2026.jsonOnly the races with a recorded result, and the post-mortem summary
/data/all-members.jsonSitting members (existing file, outside the versioned API)
/data/{bioguide}.jsonOne sitting member (existing file, outside the versioned API)

A race slug is its key in lower case: ia-01 for Iowa's 1st district, ak-00 for an at-large seat, ia-sen for a Senate race.

Every file carries version, cycle, asOf (the build date) and source.

Candidate fields

Each candidate in a race file has exactly these fields. Every figure is the FEC's own aggregate for the 2026 cycle, restated as filed; nothing is derived, ranked or shared out.

FieldMeaning
candidateIdFEC candidate id
nameName as filed with the FEC
partyFEC party code
incumbentChallengeFEC status code: I incumbent, C challenger, O open seat
receiptsTotal receipts (dollars)
disbursementsTotal disbursements (dollars)
cashOnHandCash on hand at the end of the latest report
debtsDebts owed by the committee
coverageEndLast day covered by the latest report (YYYY-MM-DD)
ieSupportIndependent expenditures reported in support (dollars)
ieOpposeIndependent expenditures reported in opposition (dollars)
fecUrlThe candidate's FEC page, the source for every figure above

A missing value is null, never zero.

Results

result on a race file is null until a result is recorded. Results come only from certified official canvasses, each with its source and an https sourceUrl. A result has:

  • status: final, runoff or pending. Only a final result names a winner.
  • totalVotes and ballot: each ballot line's candidateId (or null for write-ins and others not matched to an FEC record), name, votes and won.
  • spendPerVote and outsidePerVote: race-level only (all ballot candidates' spending divided by total votes), and null until every ballot candidate's FEC figures cover the post-general period (postGeneralFiled).

Example

GET /api/v0/races/ia-01.json
{
  "version": "v0", "cycle": 2026, "asOf": "2026-11-09", "key": "IA-01", "office": "H", "state": "IA",
  "district": "01",
  "candidates": [
    { "candidateId": "H0IA00000", "name": "EXAMPLE, CANDIDATE", "party": "IND", "receipts": 1000.5, ... ,
      "fecUrl": "https://www.fec.gov/data/candidate/H0IA00000/?cycle=2026&election_full=true" }
  ],
  "result": null
}

(Placeholder values; fetch the file for the real ones.)

Terms

Aggregate figures only. No individual-contributor data is published here or anywhere on the site. 52 U.S.C. 30111(a)(4) restricts using contributor information from FEC reports for soliciting contributions or for commercial purposes. Please cite the FEC as the source and link back to the candidate's fecUrl. See the data-use policy and the methodology; report a wrong figure through corrections.