Tools / FEC Campaign Finance Scraper - Candidates & Totals
FEC Campaign Finance Scraper - Candidates & Totals
Search US federal candidates (House, Senate, President) by name, state, office, party and election cycle via the FEC's official open.fec.gov API, with each candidate's campaign financial totals (receipts, disbursements, cash on hand, individual contributions) included. No API key needed, no login required.
Run it
curl -X POST https://fetchsmith.com/api/v1/run/fec-campaign-finance-scraper \
-H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
-d '{"candidateName": "Warren", "includeTotals": true, "maxResults": 5, "office": "S", "state": "MA"}'
Output fields
candidateId name party office state district incumbentChallenge candidateStatus electionYears cycles firstFileDate fecUrl receipts disbursements cashOnHandEnd individualContributions individualItemizedContributions individualUnitemizedContributions refundedIndividualContributions coverageStartDate coverageEndDate
Sample output
{
"candidateId": "S2MA00170",
"candidateStatus": "C",
"cashOnHandEnd": 3754333.02,
"coverageEndDate": "2026-06-30T00:00:00",
"coverageStartDate": "2025-01-01T00:00:00",
"disbursements": 4109645.05,
"fecUrl": "https://www.fec.gov/data/candidate/S2MA00170/",
"firstFileDate": "2011-08-19",
"incumbentChallenge": "Incumbent",
"individualContributions": 4234605.7,
"individualUnitemizedContributions": 2861352.85,
"name": "WARREN, ELIZABETH",
"office": "Senate",
"party": "DEMOCRATIC PARTY",
"receipts": 4413931.4,
"state": "MA"
}
Guides
- The FEC publishes campaign finance as key-free JSON — and its three rate limits contradict each other — api.open.fec.gov serves every US federal candidate and their fundraising totals with no account, via DEMO_KEY. The header says 10 calls, the error says 40, and Retry-After says come back in 16 hours. All three are on the same response.
Only publicly accessible pages are read. Respect the source site's terms when using the data.