# FEC Independent Expenditures — PAC Spending API (`nexgendata/fec-independent-expenditures-scraper`) Actor

Scrape FEC Schedule E independent expenditures by PACs and Super PACs supporting or opposing federal candidates. Get committee, candidate, amount, payee, date, election cycle, support/oppose flag. OpenSecrets alternative for campaign finance researchers, journalists, opposition research.

- **URL**: https://apify.com/nexgendata/fec-independent-expenditures-scraper.md
- **Developed by:** [NexGenData](https://apify.com/nexgendata) (community)
- **Categories:** Business, Other
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $30.00 / 1,000 expenditure records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## FEC Independent Expenditures

FEC independent-expenditure public records — PAC spending, support/oppose, amounts and payees.

> Factual public records — not financial, investment or compliance advice. Screening data is provided as-is for your own compliance program.

### 📊 What you get

Clean JSON, one record per expenditure (full output has 8 fields):

- `committee_name` — Committee name
- `candidate_name` — Candidate name
- `office` — Office
- `support_oppose` — Support oppose
- `amount` — Amount
- `expenditure_date` — Expenditure date
- `purpose` — Purpose
- `payee` — Payee

**Pricing:** $0.030 per expenditure (Pay-Per-Event) — about **33 expenditures per $1**.

### 🤖 Use with AI agents

Point Claude, the OpenAI Agents SDK, an n8n flow or any MCP-aware client at it and pull official records on demand.

**Agentic payments (x402):** Supports agentic payment via x402 — agents can call this actor with USDC, no API key required.

### 🔗 Related regulatory actors

**US government data & filings:**

[Federal Register](https://apify.com/nexgendata/federal-register-rules-scraper) · [Treasury Auctions](https://apify.com/nexgendata/us-treasury-auction-results) · [Treasury Yields](https://apify.com/nexgendata/treasury-yields-bonds) · [FEC Contributions](https://apify.com/nexgendata/fec-campaign-finance-intelligence) · [IRS 990](https://apify.com/nexgendata/irs-990-nonprofit-explorer-scraper) · [Nonprofit 990 Records](https://apify.com/nexgendata/nonprofit-irs-990-intelligence)

**Company registries:** [Delaware](https://apify.com/nexgendata/delaware-corporations-search-scraper) · [US State Filings](https://apify.com/nexgendata/business-registration-lookup) · [India MCA](https://apify.com/nexgendata/ogd-india-companies-registry) · [GLEIF LEI](https://apify.com/nexgendata/gleif-lei-entity-resolution) · [UK PSC](https://apify.com/nexgendata/uk-psc-beneficial-ownership) · [HK Registry](https://apify.com/nexgendata/hk-companies-registry) · [Taiwan MOEA](https://apify.com/nexgendata/taiwan-moea-company-registry)

***

*Public official records and enforcement data, assembled for research and monitoring.*

# Actor input Schema

## `candidate_id` (type: `string`):

Specific FEC candidate ID (e.g. 'P00009423' for Donald Trump). If you don't know the ID, use 'candidate\_name' instead and we'll resolve it via the FEC /candidates/search/ endpoint.

## `candidate_name` (type: `string`):

Search by candidate name (e.g. 'Trump', 'Harris'). Resolved to up to 3 candidate IDs and queried in one batch.

## `committee_id` (type: `string`):

Optional FEC committee ID (e.g. 'C00010603' MAGA Inc) to restrict expenditures to a single PAC/Super PAC.

## `cycle` (type: `integer`):

Even-numbered election year (e.g. 2024, 2022, 2020). Schedule E is reported per cycle.

## `min_date` (type: `string`):

ISO date YYYY-MM-DD. Filters expenditures with dissemination\_date >= this value.

## `max_date` (type: `string`):

ISO date YYYY-MM-DD. Filters expenditures with dissemination\_date <= this value.

## `support_oppose` (type: `string`):

S = support the candidate. O = oppose. Leave blank to return both.

## `max_results` (type: `integer`):

Maximum number of expenditure records to return (1-2000). Each record is one Schedule E line item.

## `apiKey` (type: `string`):

Your personal OpenFEC API key. Falls back to 'DEMO\_KEY' (rate-limited to ~30 calls/hour shared across all anonymous users). Sign up free at https://api.open.fec.gov/developers for unlimited usage.

## Actor input object example

```json
{
  "candidate_name": "Trump",
  "cycle": 2024,
  "min_date": "2024-01-01",
  "max_date": "2024-12-31",
  "support_oppose": "",
  "max_results": 50
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "candidate_id": "",
    "candidate_name": "Trump",
    "committee_id": "",
    "cycle": 2024,
    "min_date": "2024-01-01",
    "max_date": "2024-12-31",
    "support_oppose": "",
    "max_results": 50,
    "apiKey": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("nexgendata/fec-independent-expenditures-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "candidate_id": "",
    "candidate_name": "Trump",
    "committee_id": "",
    "cycle": 2024,
    "min_date": "2024-01-01",
    "max_date": "2024-12-31",
    "support_oppose": "",
    "max_results": 50,
    "apiKey": "",
}

# Run the Actor and wait for it to finish
run = client.actor("nexgendata/fec-independent-expenditures-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "candidate_id": "",
  "candidate_name": "Trump",
  "committee_id": "",
  "cycle": 2024,
  "min_date": "2024-01-01",
  "max_date": "2024-12-31",
  "support_oppose": "",
  "max_results": 50,
  "apiKey": ""
}' |
apify call nexgendata/fec-independent-expenditures-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=nexgendata/fec-independent-expenditures-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/nKoq0zoAcffhQR28S/builds/KYopsG8U0RSlgVBfa/openapi.json
