Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • A key allows 1,000 calls an hour; the FEC grants 7,200 an hour (120 a minute) on request by email. At most 100 results per page.
  • Find ids first: names.search or candidates.search for a candidate_id (H/S/P prefix), committees.search for a committee_id (starts with C), then use them on the other endpoints.
  • Cycles are two-year periods named for the even ending year (2026 covers 2025-2026).
  • Contributor information may not be used for commercial purposes or to solicit donations.
  • Data are updated nightly. Many filters take repeated values (e.g. state=CA&state=NY).

Endpoints

Get a candidate’s financial totals

Get a committee

  • Keyset pagination, not page numbers: append every value in pagination.last_indexes (last_index plus the sort field’s last value, or sort_null_only) to the next request. Counts are approximate; page until no records come back.
  • Without two_year_transaction_period only the current cycle is searched.
  • Keyset pagination like contributions.search: pass the last_indexes values back.
  • Keyset pagination: pass the last_indexes values back.
  • Counts for large result sets are approximate.

Get an election’s candidates and totals