# FEC Campaign Finance Data API reference

> The OpenFEC API serves US Federal Election Commission data on how candidates and committees fund their campaigns: candidate and committee records, filings, totals, itemized receipts (including contributions from individuals) and itemized disbursements. Data are updated nightly. A good start is to…

Source: https://osinttools.io/apis/fec-campaign-finance-data/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/fec-campaign-finance-data/

- Base URL: https://api.open.fec.gov/v1
- Authentication: API key in the `X-Api-Key` header. Get a key: https://api.data.gov/signup/ The key can also be sent as the api_key query parameter; DEMO_KEY works for trying it out.
- Free tier: yes
- Pricing: Free
- Rate limits: 1,000 calls an hour with a signed-up key; each call returns at most 100 results per page. A higher limit (7,200 calls an hour) can be requested by email.
- Vendor docs: https://api.open.fec.gov/developers/
- OpenAPI spec: https://api.open.fec.gov/swagger/

## Overview

The OpenFEC API serves US Federal Election Commission data on how candidates and committees fund their campaigns: candidate and committee records, filings, totals, itemized receipts (including contributions from individuals) and itemized disbursements. Data are updated nightly.

A good start is to search for a candidate or committee, then use its ID to read totals or line items. Calls use an `api_key` query parameter or an `X-Api-Key` header; `DEMO_KEY` works for trying it out. A signed-up key allows up to 1,000 calls an hour and each call returns at most 100 results per page.

The FEC restricts use of contributor lists: they cannot be used for commercial purposes or to solicit donations. Read the terms of service and acceptable use policy before use. Schedule A and B results page by the `last_index` values in `pagination.last_indexes`, not by page number.

## Candidates

### Search candidates by name, office, state, party and cycle.

`GET /candidates/search/`

- Takes: Name
- Footprint: passive (the target is not contacted)

Basic information about candidates and their principal committees. Each result is one FEC candidate ID, which stays the same for the same office over time.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `q` | query | string | no | Name of candidate running for office Example: Jane Example |
| `office` | query | string | no | Federal office: H, S or P Example: S One of: H, S, P |
| `state` | query | string | no | US state or territory where the candidate runs Example: NY |
| `party` | query | string | no | Three-letter party code Example: DEM |
| `election_year` | query | integer | no | Year of election Example: 2024 |
| `per_page` | query | integer | no | Results per page (maximum 100) Example: 20 |
| `page` | query | integer | no | Page number Example: 1 |

Response fields:

- `pagination.count` (integer): Total matching records
- `results[].candidate_id` (string): FEC candidate ID
- `results[].name` (string): Candidate name
- `results[].office_full` (string): Office sought
- `results[].party_full` (string): Party
- `results[].state` (string): State
- `results[].election_years[]` (integer): Election years
- `results[].principal_committees[]` (object): Principal committees

```bash
curl 'https://api.open.fec.gov/v1/candidates/search/' \
  -H 'X-Api-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "pagination": {
    "count": 1,
    "page": 1,
    "pages": 1,
    "per_page": 20
  },
  "results": [
    {
      "candidate_id": "S0XX00000",
      "name": "EXAMPLE, JANE",
      "office_full": "Senate",
      "party_full": "EXAMPLE PARTY",
      "state": "NY",
      "election_years": [
        2024
      ],
      "principal_committees": [
        {
          "committee_id": "C00000000",
          "name": "EXAMPLE FOR SENATE"
        }
      ]
    }
  ]
}
```

### Details for one candidate by FEC candidate ID.

`GET /candidate/{candidate_id}/`

- Footprint: passive (the target is not contacted)

Detailed candidate record, including the cycles and election years covered.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `candidate_id` | path | string | yes | FEC candidate ID Example: S0XX00000 |

Response fields:

- `results[].candidate_id` (string): FEC candidate ID
- `results[].name` (string): Candidate name
- `results[].office` (string): H, S or P
- `results[].party` (string): Party code
- `results[].state` (string): State
- `results[].candidate_status` (string): Status code
- `results[].first_file_date` (string): First filing date
- `results[].last_file_date` (string): Last filing date
- `results[].cycles[]` (integer): Election cycles

```bash
curl 'https://api.open.fec.gov/v1/candidate/S0XX00000/' \
  -H 'X-Api-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "pagination": {
    "count": 1,
    "page": 1,
    "pages": 1,
    "per_page": 20
  },
  "results": [
    {
      "candidate_id": "S0XX00000",
      "name": "EXAMPLE, JANE",
      "office": "S",
      "party": "EXM",
      "state": "NY",
      "candidate_status": "C",
      "first_file_date": "2019-01-15",
      "last_file_date": "2024-10-15",
      "cycles": [
        2020,
        2024
      ]
    }
  ]
}
```

## Committees

### Search committees by name, type, state and treasurer.

`GET /committees/`

- Takes: Name
- Footprint: passive (the target is not contacted)

Basic information about committees and filers. Use the committee ID to find reports and line items.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `q` | query | string | no | Committee name to search for Example: Example PAC |
| `committee_type` | query | string | no | One-letter committee type code Example: Q |
| `treasurer_name` | query | string | no | Treasurer name Example: Sam Example |
| `per_page` | query | integer | no | Results per page (maximum 100) Example: 20 |

Response fields:

- `results[].committee_id` (string): FEC committee ID
- `results[].name` (string): Committee name
- `results[].committee_type_full` (string): Committee type
- `results[].designation_full` (string): Designation
- `results[].treasurer_name` (string): Treasurer
- `results[].state` (string): State
- `results[].candidate_ids[]` (string): Related candidate IDs

```bash
curl 'https://api.open.fec.gov/v1/committees/' \
  -H 'X-Api-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "pagination": {
    "count": 1,
    "page": 1,
    "pages": 1,
    "per_page": 20
  },
  "results": [
    {
      "committee_id": "C00000000",
      "name": "EXAMPLE PAC",
      "committee_type_full": "PAC - Qualified",
      "designation_full": "Unauthorized",
      "treasurer_name": "EXAMPLE, SAM",
      "state": "NY",
      "candidate_ids": [
        "S0XX00000"
      ]
    }
  ]
}
```

### Details for one committee by FEC committee ID.

`GET /committee/{committee_id}/`

- Footprint: passive (the target is not contacted)

The most recent information about a committee or filer.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `committee_id` | path | string | yes | FEC committee ID Example: C00000000 |

Response fields:

- `results[].committee_id` (string): FEC committee ID
- `results[].name` (string): Committee name
- `results[].committee_type_full` (string): Committee type
- `results[].treasurer_name` (string): Treasurer
- `results[].filing_frequency` (string): Filing frequency code
- `results[].first_file_date` (string): First filing date
- `results[].last_file_date` (string): Last filing date

```bash
curl 'https://api.open.fec.gov/v1/committee/C00000000/' \
  -H 'X-Api-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "pagination": {
    "count": 1,
    "page": 1,
    "pages": 1,
    "per_page": 20
  },
  "results": [
    {
      "committee_id": "C00000000",
      "name": "EXAMPLE PAC",
      "committee_type_full": "PAC - Qualified",
      "treasurer_name": "EXAMPLE, SAM",
      "filing_frequency": "M",
      "first_file_date": "2018-03-01",
      "last_file_date": "2024-10-20"
    }
  ]
}
```

## Receipts and disbursements

### Itemized receipts, including contributions from individuals.

`GET /schedules/schedule_a/`

- Takes: Name
- Footprint: passive (the target is not contacted)

Schedule A records describe itemized receipts. Page with `last_index` and the other `last_*` values from `pagination.last_indexes`. The FEC bars using contributor lists for commercial purposes or soliciting donations.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `contributor_name` | query | string | no | Name of contributor Example: Example, Alex |
| `committee_id` | query | string | no | Recipient committee ID Example: C00000000 |
| `contributor_city` | query | string | no | City of contributor Example: Example City |
| `contributor_state` | query | string | no | Two-letter state code Example: NY |
| `contributor_employer` | query | string | no | Employer of contributor Example: Example Corp |
| `two_year_transaction_period` | query | integer | no | Two-year period derived from the transaction year Example: 2024 |
| `min_amount` | query | number | no | Minimum amount Example: 500 |
| `per_page` | query | integer | no | Results per page (maximum 100) Example: 20 |
| `last_index` | query | string | no | Index of the last result of the previous page Example: 230880619 |

Response fields:

- `pagination.last_indexes` (object): Values to send back as last_index and related parameters for the next page
- `results[].contributor_name` (string): Contributor name
- `results[].contributor_city` (string): Contributor city
- `results[].contributor_state` (string): Contributor state
- `results[].contributor_employer` (string): Contributor employer
- `results[].contribution_receipt_amount` (number): Amount
- `results[].contribution_receipt_date` (string): Receipt date
- `results[].committee_id` (string): Recipient committee ID
- `results[].pdf_url` (string): Link to the filing image

```bash
curl 'https://api.open.fec.gov/v1/schedules/schedule_a/' \
  -H 'X-Api-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "pagination": {
    "count": 1,
    "per_page": 20,
    "last_indexes": {
      "last_index": "230880619",
      "last_contribution_receipt_date": "2024-06-01"
    }
  },
  "results": [
    {
      "contributor_name": "EXAMPLE, ALEX",
      "contributor_city": "EXAMPLE CITY",
      "contributor_state": "NY",
      "contributor_employer": "EXAMPLE CORP",
      "contribution_receipt_amount": 500,
      "contribution_receipt_date": "2024-06-01",
      "committee_id": "C00000000",
      "pdf_url": "https://docquery.fec.gov/pdf/000/000000000000000000/000000000000000000.pdf"
    }
  ]
}
```

### Itemized disbursements: who a committee paid, how much and why.

`GET /schedules/schedule_b/`

- Footprint: passive (the target is not contacted)

Schedule B records describe itemized disbursements. Page with `last_index` from `pagination.last_indexes`.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `committee_id` | query | string | no | Spending committee ID Example: C00000000 |
| `recipient_name` | query | string | no | Name of the payee Example: Example Media LLC |
| `min_amount` | query | number | no | Minimum amount Example: 1000 |
| `two_year_transaction_period` | query | integer | no | Two-year period derived from the transaction year Example: 2024 |
| `per_page` | query | integer | no | Results per page (maximum 100) Example: 20 |

Response fields:

- `results[].recipient_name` (string): Payee name
- `results[].recipient_city` (string): Payee city
- `results[].recipient_state` (string): Payee state
- `results[].disbursement_amount` (number): Amount
- `results[].disbursement_date` (string): Date
- `results[].disbursement_description` (string): Purpose as filed
- `results[].committee_id` (string): Spending committee ID

```bash
curl 'https://api.open.fec.gov/v1/schedules/schedule_b/' \
  -H 'X-Api-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "pagination": {
    "count": 1,
    "per_page": 20
  },
  "results": [
    {
      "recipient_name": "EXAMPLE MEDIA LLC",
      "recipient_city": "EXAMPLE CITY",
      "recipient_state": "NY",
      "disbursement_amount": 1500,
      "disbursement_date": "2024-05-12",
      "disbursement_description": "MEDIA BUY",
      "committee_id": "C00000000"
    }
  ]
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
