Spiral gives your agent every tool with one account. Browse the tools →

n8n · Public Records

How to Use FEC contribution aggregates in n8n

Returns grouped individual-contribution totals for fundraising analysis rather than donor-level transactions. Use it to examine reported funding patterns, accounting for the different treatment of unitemized money in contribution-size summaries.

Prompts to try with FEC contribution aggregates in n8n

Copy an example into n8n, or ask in your own words.

Every Monday at 9am: use FEC contribution aggregates to look this up and give me the result as a table.

FEC contribution aggregatesn8n
Try asking
  • Pull the latest numbers from FEC contribution aggregates and tell me what changed since last week.

  • Check FEC contribution aggregates and summarize what you find in three bullet points.

  • Pull the newest data from FEC contribution aggregates and give me the result as a table.

  • Check FEC contribution aggregates every morning and tell me only when something changed.

How to set up FEC contribution aggregates in n8n

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send n8n this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Create a key

    Create a key under API keys in the console.

  2. Add an MCP Client node

    In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

    https://api.spiral.ai/mcp
  3. Pick a tool

    The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run FEC contribution aggregates in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds FEC contribution aggregates, prices it and runs it each time the step fires.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run FEC contribution aggregates

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "fec-gov/records/receipt_aggregates",
        "input": {
          "by": "size",
          "committee_id": "<committee_id>"
        }
      }'

Then paste one of the prompts above: n8n finds FEC contribution aggregates on Spiral, shows the price and runs it.

FEC contribution aggregates providers and prices

Spiral runs FEC contribution aggregates through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
FEC · Receipt aggregates
fec-gov/records/receipt_aggregates

Settings you can ask for

Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Bysize, state, or employer

size, state or employer.

Page1 to 1000001

1-based page; pass the previous next_page with the same filters.

Cycle1976 to 2100

Two-year election cycle, named by its even year: 2024 covers 2023-2024.

Per page1 to 10010

Rows per page, 1 to 100.

Every API field of FEC · Receipt aggregates is on its tool page: open its card above.

What can you do with FEC contribution aggregates in n8n?

Receive a recurring brief of changes in FEC disclosure records for federal races and committees. A scheduled agent can compare results with earlier snapshots and flag records that need closer examination.

Explain the money behind a federal race

Identify the candidates and their committees, compare reported finances and contribution patterns, and explain campaign payments separately from independent spending. Use filings to document the reporting periods behind the explanation.

Compare campaign finance across election cycles

Match candidates and committees across selected cycles, then compare financial summaries, contribution aggregates and spending records. Check the underlying filings so differences in reporting coverage remain visible.

Check a campaign finance claim

Resolve the candidate or organization named in a claim, identify whether it concerns fundraising, campaign payments or independent spending, and retrieve the relevant records and filings.

Build a classroom campaign finance case study

Use a real federal race to show how candidate registration, committee organization, fundraising summaries and spending disclosures fit together. Include contribution aggregates and original filings as evidence students can examine.

Questions about FEC contribution aggregates in n8n

Can n8n use FEC contribution aggregates?

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run FEC contribution aggregates like any built-in tool.

How much does FEC contribution aggregates cost in n8n?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

Do I need an Alexandria account to use FEC contribution aggregates in n8n?

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs FEC contribution aggregates on its own Alexandria account.

How long does it take to set up FEC contribution aggregates in n8n?

About two minutes: create a key, then add an MCP Client node, then pick a tool.

Does n8n wait while FEC contribution aggregates runs?

FEC contribution aggregates runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

Does the FEC cover state and local elections?

The FEC publishes federal campaign finance disclosures. State and local campaign finance reports may be available from state records offices.

How fresh are FEC financial summaries?

Committee financial summaries update nightly using electronic reports received or paper reports computerized through 7 p.m. the previous day. Their financial coverage ends with the latest report submitted.

Do all committee totals cover the same dates?

No. FEC cycle summaries combine reports over a two-year period, but each committee's totals end with its latest submitted report, so comparison periods can differ.

Does the disbursement search include all outside spending?

No. It excludes outside spending to support or oppose candidates, as well as allocated federal/nonfederal disbursements. Independent expenditure disclosures identify spending by the candidate supported or opposed.

Are filings limited to financial reports?

No. FEC filings also include statements and notices submitted by candidates and committees.

Get started

Start using FEC contribution aggregates in n8n

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into n8n:

Set up n8n

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options