Skip to content

FEC API: Get candidate fundraising

Gets a federal candidate's fundraising and spending for a two-year FEC cycle. If several names match, returns the match with the most reported receipts.

fec.gov (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by FEC.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

State optionalstate

State postal abbreviation to distinguish candidates, for example MA.

NY

Office optionaloffice

Office to distinguish candidates, for example senate. Defaults to any.

house

One of any, president, senate, house. Default any.

Candidate, requiredcandidate

Candidate name, for example Elizabeth Warren.

Alexandria Ocasio-Cortez

Election Year optionalelection_year

Two-year election cycle, for example 2024. Defaults to the FEC's current cycle.

2024

Whole number.

Output

From a run on Oct 23, 2026.
{  "cycle": 2024,  "debts": 0,  "party": "Democratic Party",  "state": "NY",  "office": "House",  "currency": "USD",  "district": "14",  "total_spent": 16716492.89,  "cash_on_hand": 3734646.88,  "total_raised": 15299235.57,  "candidate_link": "https://www.fec.gov/data/candidate/H8NY15148/?cycle=2024&election_full=false",  "candidate_name": "Alexandria Ocasio-Cortez",  "fec_candidate_id": "H8NY15148",  "fec_committee_id": "C00639591",  "coverage_end_date": "2024-12-31",  "individual_contributions": 14866494.81,  "principal_campaign_committee": "Alexandria Ocasio-Cortez For Congress",  "incumbent_challenger_open_seat": "Incumbent"}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
fec.gov/get_candidate_fundraising
Returns
candidate name, office, party, state, district, total raised, total spent, cash on hand, debts, individual contributions, coverage end date, principal committee, FEC ids

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method fec.gov/get_candidate_fundraising with the inputs above.

Ask your agent

  • How much has Elizabeth Warren raised and spent in the 2024 federal cycle?
  • What are the total receipts, cash on hand, and debts for the Senate candidate Ted Cruz from Texas in 2022?
  • Show me the individual contributions and coverage end date for the House candidate Alexandria Ocasio-Cortez in New York for the 2024 cycle.
  • I need the FEC fundraising totals for presidential candidate Ron DeSantis for the 2024 election, including his principal committee.
  • Look up campaign finance figures for Massachusetts Senate candidate Ed Markey for the 2020 cycle, including party and FEC IDs.
  • Lists federal candidates for an office and election year from FEC data, ranked by total money raised. Senate and House searches require a state; a House search can be narrowed to one district.

    fec.gov/search_candidates
  • Looks up a public company by name or ticker on SEC EDGAR and returns its reported annual or quarterly financial figures from XBRL company facts. Quarterly flows are derived from year-to-date totals when no quarterly figure is filed. Unavailable figures are null.

    sec.gov/get_company_financials
  • Looks up a Ballotpedia candidate or officeholder profile by name, with election results, background and published links. An optional state narrows people with the same name; unreported details are left blank.

    ballotpedia.org/get_candidate
  • Finds a public company by name or ticker in SEC EDGAR and lists its filings, newest first, optionally narrowed by filing type and filing date.

    sec.gov/get_company_filings
  • See a member of Congress's disclosed trades from a chosen date, newest trade first. Capitol Trades provides up to three years of history; prices and other details may be unavailable for some trades.

    capitoltrades.com/get_politician_trades
  • Screens a name against the OFAC SDN and non-SDN sanctions lists. Returns scored entries with identifying details. Similar names are potential matches, not confirmed identities.

    sanctionssearch.ofac.treas.gov/check_sanctions
  • Lists the Fortune 500 for a year. You can filter by industry or sector and by headquarters state. Each company comes with its public financial and company details.

    fortune.com/list_fortune_500
  • Finds SEC EDGAR company filings that mention an exact phrase, optionally limited to a company, a filing category and a filing date range, ranked by search relevance; one entry per filing.

    sec.gov/search_filings