Skip to content
OSINTtools.io

FEC Campaign Finance Data API

US Federal Election Commission portal for searching candidates, committees, individual contributions and spending, with an open API.

Base URL
https://api.open.fec.gov/v1
Sign-in
API key
Free tier
Free tier
Pricing
Free
Format
REST
Endpoints
6

Compiled by OSINTtools.io editors from api.open.fec.gov · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

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.

Quick start

  1. Get a key

    Create an account with FEC Campaign Finance Data and copy your api key (free tier). Where to get it

  2. Make your first request

    Search candidates by name, office, state, party and cycle.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.open.fec.gov/v1/candidates/search/' \
      -H 'X-Api-Key: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this, shortened.

    {
      "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"
            }
          ]
        }
    …

Authentication

Send your API key in the X-Api-Key header of every request.

The key can also be sent as the api_key query parameter; DEMO_KEY works for trying it out.

Get a key from FEC Campaign Finance Data

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

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.

Free tier. Pricing: free.

Candidates

  • Passive: the target is not contacted

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

Path parameters

candidate_idstringrequired

FEC candidate ID

Example: S0XX00000
Response fields · 9Show

candidate_idstring

FEC candidate ID

namestring

Candidate name

officestring

H, S or P

partystring

Party code

statestring

State

candidate_statusstring

Status code

first_file_datestring

First filing date

last_file_datestring

Last filing date

cycles[]integer

Election cycles

curl 'https://api.open.fec.gov/v1/candidate/S0XX00000/' \
  -H 'X-Api-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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

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

Query parameters

qstringtakes your name

Committee name to search for

Example: Example PAC
committee_typestring

One-letter committee type code

Example: Q
treasurer_namestring

Treasurer name

Example: Sam Example
per_pageinteger

Results per page (maximum 100)

Example: 20
Response fields · 7Show

committee_idstring

FEC committee ID

namestring

Committee name

committee_type_fullstring

Committee type

designation_fullstring

Designation

treasurer_namestring

Treasurer

statestring

State

candidate_ids[]string

Related candidate IDs

curl 'https://api.open.fec.gov/v1/committees/' \
  -H 'X-Api-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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"
      ]
    }
  ]
}
  • Passive: the target is not contacted

The most recent information about a committee or filer.

Path parameters

committee_idstringrequired

FEC committee ID

Example: C00000000
Response fields · 7Show

committee_idstring

FEC committee ID

namestring

Committee name

committee_type_fullstring

Committee type

treasurer_namestring

Treasurer

filing_frequencystring

Filing frequency code

first_file_datestring

First filing date

last_file_datestring

Last filing date

curl 'https://api.open.fec.gov/v1/committee/C00000000/' \
  -H 'X-Api-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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

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.

Query parameters

contributor_namestringtakes your name

Name of contributor

Example: Example, Alex
committee_idstring

Recipient committee ID

Example: C00000000
contributor_citystring

City of contributor

Example: Example City
contributor_statestring

Two-letter state code

Example: NY
contributor_employerstring

Employer of contributor

Example: Example Corp
two_year_transaction_periodinteger

Two-year period derived from the transaction year

Example: 2024
min_amountnumber

Minimum amount

Example: 500
per_pageinteger

Results per page (maximum 100)

Example: 20
last_indexstring

Index of the last result of the previous page

Example: 230880619
Response fields · 9Show

last_indexesobject

Values to send back as last_index and related parameters for the next page

contributor_namestring

Contributor name

contributor_citystring

Contributor city

contributor_statestring

Contributor state

contributor_employerstring

Contributor employer

contribution_receipt_amountnumber

Amount

contribution_receipt_datestring

Receipt date

committee_idstring

Recipient committee ID

pdf_urlstring

Link to the filing image

curl 'https://api.open.fec.gov/v1/schedules/schedule_a/' \
  -H 'X-Api-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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"
    }
  ]
}
  • Passive: the target is not contacted

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

Query parameters

committee_idstring

Spending committee ID

Example: C00000000
recipient_namestring

Name of the payee

Example: Example Media LLC
min_amountnumber

Minimum amount

Example: 1000
two_year_transaction_periodinteger

Two-year period derived from the transaction year

Example: 2024
per_pageinteger

Results per page (maximum 100)

Example: 20
Response fields · 7Show

recipient_namestring

Payee name

recipient_citystring

Payee city

recipient_statestring

Payee state

disbursement_amountnumber

Amount

disbursement_datestring

Date

disbursement_descriptionstring

Purpose as filed

committee_idstring

Spending committee ID

curl 'https://api.open.fec.gov/v1/schedules/schedule_b/' \
  -H 'X-Api-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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"
    }
  ]
}