Home

OpenFEC Campaign Finance Filings

How to get OpenFEC Campaign Finance Filings in an AI tool

Pull recent FEC campaign-finance filings (committees, forms, PDFs) for midterms-season monitoring schedules. A run saves one row per result.

Set up the Apify actor

Apify is where this run is collected. An actor is the program that collects the rows. A task is that program saved with your settings, so the next section can ask for the latest rows. You need a free Apify account.

  1. 01
    Open OpenFEC Campaign Finance Filings and click Try for free. Create an Apify account if you do not have one. The Free plan does not ask for a card.
  2. 02
    You are on the input form. Keep the sample for this first run.
    {
        "daysBack": 14,
        "maxItems": 5,
        "apiKey": "DEMO_KEY"
    }
  3. 03
    Leave the proxy setting as it is. Click Start and wait until the run says Succeeded.
  4. 04
    Open Storage, then Dataset. You should see fecFileId, committeeName, formType, receiptDate.
  5. 05
    When you want the real list, raise maxItems. The sample cap is only there so the first run stays small.
  6. 06
    Go back to the input and choose Save as a new task. Name it after this list.
  7. 07
    Open the task. Copy the task ID from the address bar. Excel, Sheets, Power BI, and the other guides ask for this ID.
  8. 08
    On the task, open Schedules and add a weekly run if you want fresh rows. Each run pays the start charge and the charge for the rows. The amounts are in the price list on this page.
  9. 09
    Open Settings, then API & Integrations, and copy an API token. Excel, Sheets, and the other guides put this token in a download link. Anyone with that link can download the rows, so treat it like a password.

How to set up in an AI tool

Use the task ID and the API token from Set up the Apify actor, above.

  1. 01
  2. 02
    Copy the MCP config, or call the run endpoint with the API token from Set up the Apify actor, above.
  3. 03
    Ask for fecFileId, committeeName, formType, receiptDate, cycle. A schedule still lives on the task from Set up the Apify actor, above.

Schema

Examples come from the actor sample, not a live result.

NameDescriptionExample
fecFileIdFEC file idFEC-2015652
committeeNameCommittee nameRETIRED AMERICANS ACTION
formTypeForm typeF24
receiptDateReceipt date2026-09-30T00:00:00
cycleElection cycle2026
pdfUrlPDF URLhttps://docquery.fec.gov/pdf/337/202609309908493337/202609309908493337.pdf
sourceUrlSource URLhttps://www.fec.gov/
recordKeyRecord keyfec:FEC-2015652
  • fecFileIdFEC file idFEC-2015652
  • committeeNameCommittee nameRETIRED AMERICANS ACTION
  • formTypeForm typeF24
  • receiptDateReceipt date2026-09-30T00:00:00
  • cycleElection cycle2026
  • pdfUrlPDF URLhttps://docquery.fec.gov/pdf/337/202609309908493337/202609309908493337.pdf
  • sourceUrlSource URLhttps://www.fec.gov/
  • recordKeyRecord keyfec:FEC-2015652