OpenFEC
This application programming interface (API) allows you to explore the way candidates and committees fund their campaigns.
The Federal Election Commission (FEC) API is a RESTful web service supporting full-text and field-specific searches on FEC data. are available on the current site. Information is tied to the underlying forms by file ID and image ID. Data is updated nightly.
There are a lot of data, and a good place to start is to use search to find interesting candidates and committees. Then, you can use their IDs to find report or line item details with the other endpoints. If you are interested in individual donors, check out contributor information in the /schedule_a/ endpoints.
Getting started with the openFEC API
If you would like to use the FEC's API programmatically, you can sign up for your own API key using our form. Alternatively, you can still try out our API without an API key by using the web interface and using DEMO_KEY. Note that when you use the openFEC API you are subject to the and .
Signing up for an API key will enable you to place up to 1,000 calls an hour. Each call is limited to 100 results per page. You can email questions, comments or a request to get a key for 7,200 calls an hour (120 calls per minute) to . You can also ask questions and discuss the data in a community led .
The model definitions and schema are available at . This is useful for making wrappers and exploring the data.
A few restrictions limit the way you can use FEC data. For example, you can’t use contributor lists for commercial purposes or to solicit donations. .
. We welcome issues and pull requests!
Sign up for an API key
- Homepage
- https://api.apis.guru/v2/specs/fec.gov/1.0.json
- Provider
- fec.gov
- OpenAPI version
- 3.0.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/fec.gov/1.0/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/fec.gov/1.0/openapi.yaml
Tools (93)
Extracted live via the executor SDK.
-
audit.getAuditCaseThis endpoint contains Final Audit Reports approved by the Commission since inception. The search can be based on information about the audited committee (Name, FEC ID Number, Type, Election Cycle) or the issues covered in the report.
-
audit.getAuditCategoryThis lists the options for the categories and subcategories available in the /audit-search/ endpoint.
-
audit.getAuditPrimaryCategoryThis lists the options for the primary categories available in the /audit-search/ endpoint.
-
audit.getNamesAuditCandidatesSearch for candidates or committees by name. If you're looking for information on a particular person or group, using a name to find the
candidate_idorcommittee_idon this endpoint can be a helpful first step. -
audit.getNamesAuditCommitteesSearch for candidates or committees by name. If you're looking for information on a particular person or group, using a name to find the
candidate_idorcommittee_idon this endpoint can be a helpful first step. -
candidate.getCandidateCandidateIdThis endpoint is useful for finding detailed information about a particular candidate. Use the
candidate_idto find the most recent information about that candidate. -
candidate.getCandidateCandidateIdHistoryFind out a candidate's characteristics over time. This is particularly useful if the candidate runs for the same office in different districts or you want to know more about a candidate's previous races.
This information is organized by
candidate_id, so it won't help you find a candidate who ran for different offices over time; candidates get a new ID for each office. -
candidate.getCandidateCandidateIdHistoryCycleFind out a candidate's characteristics over time. This is particularly useful if the candidate runs for the same office in different districts or you want to know more about a candidate's previous races.
This information is organized by
candidate_id, so it won't help you find a candidate who ran for different offices over time; candidates get a new ID for each office. -
candidate.getCandidateCandidateIdTotalsThis endpoint provides information about a committee's Form 3, Form 3X, or Form 3P financial reports, which are aggregated by two-year period. We refer to two-year periods as a
cycle.The cycle is named after the even-numbered year and includes the year before it. To obtain totals from 2013 and 2014, you would use 2014. In odd-numbered years, the current cycle is the next year — for example, in 2015, the current cycle is 2016.
For presidential and Senate candidates, multiple two-year cycles exist between elections.
-
candidate.getCandidatesFetch basic information about candidates, and use parameters to filter results to the candidates you're looking for.
Each result reflects a unique FEC candidate ID. That ID is particular to the candidate for a particular office sought. If a candidate runs for the same office multiple times, the ID stays the same. If the same person runs for another office — for example, a House candidate runs for a Senate office — that candidate will get a unique ID for each office.
-
candidate.getCandidatesSearchFetch basic information about candidates and their principal committees.
Each result reflects a unique FEC candidate ID. That ID is assigned to the candidate for a particular office sought. If a candidate runs for the same office over time, that ID stays the same. If the same person runs for multiple offices — for example, a House candidate runs for a Senate office — that candidate will get a unique ID for each office.
The candidate endpoints primarily use data from FEC registration for committee information and for candidate information.
-
candidate.getCandidatesTotalsAggregated candidate receipts and disbursements grouped by cycle.
-
candidate.getCandidatesTotalsAggregatesCandidate total receipts and disbursements aggregated by
aggregate_by. -
candidate.getCandidatesTotalsByOfficeAggregated candidate receipts and disbursements grouped by office by cycle.
-
candidate.getCandidatesTotalsByOfficeByPartyAggregated candidate receipts and disbursements grouped by office by party by cycle.
-
candidate.getCommitteeCommitteeIdCandidatesThis endpoint is useful for finding detailed information about a particular candidate. Use the
candidate_idto find the most recent information about that candidate. -
candidate.getCommitteeCommitteeIdCandidatesHistoryFind out a candidate's characteristics over time. This is particularly useful if the candidate runs for the same office in different districts or you want to know more about a candidate's previous races.
This information is organized by
candidate_id, so it won't help you find a candidate who ran for different offices over time; candidates get a new ID for each office. -
candidate.getCommitteeCommitteeIdCandidatesHistoryCycleFind out a candidate's characteristics over time. This is particularly useful if the candidate runs for the same office in different districts or you want to know more about a candidate's previous races.
This information is organized by
candidate_id, so it won't help you find a candidate who ran for different offices over time; candidates get a new ID for each office. -
committee.getCandidateCandidateIdCommitteesThis endpoint is useful for finding detailed information about a particular committee or filer. Use the
committee_idto find the most recent information about the committee. -
committee.getCandidateCandidateIdCommitteesHistoryExplore a filer's characteristics over time. This can be particularly useful if the committees change treasurers, designation, or
committee_type. -
committee.getCandidateCandidateIdCommitteesHistoryCycleExplore a filer's characteristics over time. This can be particularly useful if the committees change treasurers, designation, or
committee_type. -
committee.getCommitteeCommitteeIdThis endpoint is useful for finding detailed information about a particular committee or filer. Use the
committee_idto find the most recent information about the committee. -
committee.getCommitteeCommitteeIdHistoryExplore a filer's characteristics over time. This can be particularly useful if the committees change treasurers, designation, or
committee_type. -
committee.getCommitteeCommitteeIdHistoryCycleExplore a filer's characteristics over time. This can be particularly useful if the committees change treasurers, designation, or
committee_type. -
committee.getCommitteesFetch basic information about committees and filers. Use parameters to filter for particular characteristics.
-
communicationCost.getCommunicationCosts52 U.S.C. 30118 allows "communications by a corporation to its stockholders and executive or administrative personnel and their families or by a labor organization to its members and their families on any subject," including the express advocacy of the election or defeat of any Federal candidate. The costs of such communications must be reported to the Federal Election Commission under certain circumstances.
-
communicationCost.getCommunicationCostsAggregatesCommunication cost aggregated by candidate ID and committee ID.
-
communicationCost.getCommunicationCostsByCandidateCommunication cost aggregated by candidate ID and committee ID.
-
communicationCost.getCommunicationCostsTotalsByCandidateTotal communications costs aggregated across committees on supported or opposed candidates by cycle or candidate election year.
-
dates.getCalendarDatesCombines the election and reporting dates with Commission meetings, conferences, outreach, Advisory Opinions, rules, litigation dates and other events into one calendar.
State and report type filtering is no longer available.
-
dates.getCalendarDatesExportReturns CSV or ICS for downloading directly into calendar applications like Google, Outlook or other applications.
Combines the election and reporting dates with Commission meetings, conferences, outreach, Advisory Opinions, rules, litigation dates and other events into one calendar.
State filtering now applies to elections, reports and reporting periods.
Presidential pre-primary report due dates are not shown on even years. Filers generally opt to file monthly rather than submit over 50 pre-primary election reports. All reporting deadlines are available at /reporting-dates/ for reference.
This is that creates the calendar.
-
dates.getElectionDatesFEC election dates since 1995.
-
dates.getReportingDatesFEC election dates since 1995.
-
debts.getSchedulesScheduleDSchedule D, it shows debts and obligations owed to or by the committee that are required to be disclosed.
-
debts.getSchedulesScheduleDSubIdSchedule D, it shows debts and obligations owed to or by the committee that are required to be disclosed.
-
disbursements.getSchedulesScheduleBSchedule B filings describe itemized disbursements. This data explains how committees and other filers spend their money. These figures are reported as part of forms F3, F3X and F3P.
The data is divided in two-year periods, called
two_year_transaction_period, which is derived from thereport_yearsubmitted of the corresponding form. If no value is supplied, the results will default to the most recent two-year period that is named after the ending, even-numbered year.Due to the large quantity of Schedule B filings, this endpoint is not paginated by page number. Instead, you can request the next page of results by adding the values in the
last_indexesobject frompaginationto the URL of your last request. For example, when sorting bydisbursement_date, you might receive a page of results with the following pagination information:To fetch the next page of sorted results, append
last_index=230906248andlast_disbursement_date=2014-07-04to the URL. We strongly advise paging through these results by using the sort indices (defaults to sort by disbursement date, e.g.last_disbursement_date), otherwise some resources may be unintentionally filtered out. This resource uses keyset pagination to improve query performance and these indices are required to properly page through this large dataset.Note: because the Schedule B data includes many records, counts for large result sets are approximate; you will want to page through the records until no records are returned.
pagination: { pages: 965191, per_page: 20, count: 19303814, last_indexes: { last_index: "230906248", last_disbursement_date: "2014-07-04" }} -
disbursements.getSchedulesScheduleBByPurposeSchedule B disbursements aggregated by disbursement purpose category. To avoid double counting, memoed items are not included. Purpose is a combination of transaction codes, category codes and disbursement description. Inspect the
disbursement_purposesql function within the migrations for more details. -
disbursements.getSchedulesScheduleBByRecipientSchedule B disbursements aggregated by recipient name. To avoid double counting, memoed items are not included.
-
disbursements.getSchedulesScheduleBByRecipientIdSchedule B disbursements aggregated by recipient committee ID, if applicable. To avoid double counting, memoed items are not included.
-
disbursements.getSchedulesScheduleBEfileEfiling endpoints provide real-time campaign finance data received from electronic filers. Efiling endpoints only contain the most recent four months of data and don't contain the processed and coded data that you can find on other endpoints.
-
disbursements.getSchedulesScheduleBSubIdSchedule B filings describe itemized disbursements. This data explains how committees and other filers spend their money. These figures are reported as part of forms F3, F3X and F3P.
The data is divided in two-year periods, called
two_year_transaction_period, which is derived from thereport_yearsubmitted of the corresponding form. If no value is supplied, the results will default to the most recent two-year period that is named after the ending, even-numbered year.Due to the large quantity of Schedule B filings, this endpoint is not paginated by page number. Instead, you can request the next page of results by adding the values in the
last_indexesobject frompaginationto the URL of your last request. For example, when sorting bydisbursement_date, you might receive a page of results with the following pagination information:To fetch the next page of sorted results, append
last_index=230906248andlast_disbursement_date=2014-07-04to the URL. We strongly advise paging through these results by using the sort indices (defaults to sort by disbursement date, e.g.last_disbursement_date), otherwise some resources may be unintentionally filtered out. This resource uses keyset pagination to improve query performance and these indices are required to properly page through this large dataset.Note: because the Schedule B data includes many records, counts for large result sets are approximate; you will want to page through the records until no records are returned.
pagination: { pages: 965191, per_page: 20, count: 19303814, last_indexes: { last_index: "230906248", last_disbursement_date: "2014-07-04" }} -
efiling.getEfileFilingsBasic information about electronic files coming into the FEC, posted as they are received.
-
efiling.getEfileReportsHouseSenateKey financial data reported periodically by committees as they are reported. This feed includes summary information from the the House F3 reports, the presidential F3p reports and the PAC and party F3x reports.
Generally, committees file reports on a quarterly or monthly basis, but some must also submit a report 12 days before primary elections. Therefore, during the primary season, the period covered by this file may be different for different committees. These totals also incorporate any changes made by committees, if any report covering the period is amended.
DISCLAIMER: The field labels contained within this resource are subject to change. We are attempting to succinctly label these fields while conveying clear meaning to ensure accessibility for all users.
-
efiling.getEfileReportsPacPartyKey financial data reported periodically by committees as they are reported. This feed includes summary information from the the House F3 reports, the presidential F3p reports and the PAC and party F3x reports.
Generally, committees file reports on a quarterly or monthly basis, but some must also submit a report 12 days before primary elections. Therefore, during the primary season, the period covered by this file may be different for different committees. These totals also incorporate any changes made by committees, if any report covering the period is amended.
DISCLAIMER: The field labels contained within this resource are subject to change. We are attempting to succinctly label these fields while conveying clear meaning to ensure accessibility for all users.
-
efiling.getEfileReportsPresidentialKey financial data reported periodically by committees as they are reported. This feed includes summary information from the the House F3 reports, the presidential F3p reports and the PAC and party F3x reports.
Generally, committees file reports on a quarterly or monthly basis, but some must also submit a report 12 days before primary elections. Therefore, during the primary season, the period covered by this file may be different for different committees. These totals also incorporate any changes made by committees, if any report covering the period is amended.
DISCLAIMER: The field labels contained within this resource are subject to change. We are attempting to succinctly label these fields while conveying clear meaning to ensure accessibility for all users.
-
electioneering.getElectioneeringAn electioneering communication is any broadcast, cable or satellite communication that fulfills each of the following conditions:
The communication refers to a clearly identified federal candidate.
The communication is publicly distributed by a television station, radio station, cable television system or satellite system for a fee.
The communication is distributed within 60 days prior to a general election or 30 days prior to a primary election to federal office.
-
electioneering.getElectioneeringAggregatesElectioneering communications costs aggregates
-
electioneering.getElectioneeringByCandidateElectioneering costs aggregated by candidate
-
electioneering.getElectioneeringTotalsByCandidateTotal electioneering communications spent on candidates by cycle or candidate election year
-
filerResources.getRadAnalystUse this endpoint to look up the RAD Analyst for a committee.
The mission of the Reports Analysis Division (RAD) is to ensure that campaigns and political committees file timely and accurate reports that fully disclose their financial activities. RAD is responsible for reviewing statements and financial reports filed by political committees participating in federal elections, providing assistance and guidance to the committees to properly file their reports, and for taking appropriate action to ensure compliance with the Federal Election Campaign Act (FECA).
-
filerResources.getStateElectionOfficeState laws and procedures govern elections for state or local offices as well as how candidates appear on election ballots. Contact the appropriate state election office for more information.
-
filings.getCandidateCandidateIdFilingsAll official records and reports filed by or delivered to the FEC.
Note: because the filings data includes many records, counts for large result sets are approximate; you will want to page through the records until no records are returned.
-
filings.getCommitteeCommitteeIdFilingsAll official records and reports filed by or delivered to the FEC.
Note: because the filings data includes many records, counts for large result sets are approximate; you will want to page through the records until no records are returned.
-
filings.getFilingsAll official records and reports filed by or delivered to the FEC.
Note: because the filings data includes many records, counts for large result sets are approximate; you will want to page through the records until no records are returned.
-
filings.getOperationsLogThe Operations log contains details of each report loaded into the database. It is primarily used as status check to determine when all of the data processes, from initial entry through review are complete.
-
financial.getCommitteeCommitteeIdReportsEach report represents the summary information from Form 3, Form 3X and Form 3P. These reports have key statistics that illuminate the financial status of a given committee. Things like cash on hand, debts owed by committee, total receipts, and total disbursements are especially helpful for understanding a committee's financial dealings.
By default, this endpoint includes both amended and final versions of each report. To restrict to only the final versions of each report, use
is_amended=false; to retrieve only reports that have been amended, useis_amended=true.Several different reporting structures exist, depending on the type of organization that submits financial information. To see an example of these reporting requirements, look at the summary and detailed summary pages of Form 3, Form 3X, and Form 3P.
DISCLAIMER: The field labels contained within this resource are subject to change. We are attempting to succinctly label these fields while conveying clear meaning to ensure accessibility for all users.
-
financial.getCommitteeCommitteeIdTotalsThis endpoint provides information about a committee's Form 3, Form 3X, or Form 3P financial reports, which are aggregated by two-year period. We refer to two-year periods as a
cycle.The cycle is named after the even-numbered year and includes the year before it. To obtain totals from 2013 and 2014, you would use 2014. In odd-numbered years, the current cycle is the next year — for example, in 2015, the current cycle is 2016.
For presidential and Senate candidates, multiple two-year cycles exist between elections.
-
financial.getElectionsLook at the top-level financial information for all candidates running for the same office.
Choose a 2-year cycle, and
house,senateorpresidential.If you are looking for a Senate seat, you will need to select the state using a two-letter abbreviation.
House races require state and a two-digit district number.
Since this endpoint reflects financial information, it will only have candidates once they file financial reporting forms. Query the
/candidatesendpoint to retrieve an-up-to-date list of all the candidates that filed to run for a particular seat. -
financial.getElectionsSearchList elections by cycle, office, state, and district.
-
financial.getElectionsSummaryList elections by cycle, office, state, and district.
-
financial.getReportsEntityTypeEach report represents the summary information from Form 3, Form 3X and Form 3P. These reports have key statistics that illuminate the financial status of a given committee. Things like cash on hand, debts owed by committee, total receipts, and total disbursements are especially helpful for understanding a committee's financial dealings.
By default, this endpoint includes both amended and final versions of each report. To restrict to only the final versions of each report, use
is_amended=false; to retrieve only reports that have been amended, useis_amended=true.Several different reporting structures exist, depending on the type of organization that submits financial information. To see an example of these reporting requirements, look at the summary and detailed summary pages of Form 3, Form 3X, and Form 3P.
DISCLAIMER: The field labels contained within this resource are subject to change. We are attempting to succinctly label these fields while conveying clear meaning to ensure accessibility for all users.
-
financial.getTotalsByEntityProvides cumulative receipt totals by entity type, over a two year cycle. Totals are adjusted to avoid double counting.
This is that creates these calculations.
-
financial.getTotalsEntityTypeThis endpoint provides information about a committee's Form 3, Form 3X, or Form 3P financial reports, which are aggregated by two-year period. We refer to two-year periods as a
cycle.The cycle is named after the even-numbered year and includes the year before it. To obtain totals from 2013 and 2014, you would use 2014. In odd-numbered years, the current cycle is the next year — for example, in 2015, the current cycle is 2016.
For presidential and Senate candidates, multiple two-year cycles exist between elections.
-
independentExpenditures.getSchedulesScheduleESchedule E covers the line item expenditures for independent expenditures. For example, if a super PAC bought ads on TV to oppose a federal candidate, each ad purchase would be recorded here with the expenditure amount, name and id of the candidate, and whether the ad supported or opposed the candidate.
An independent expenditure is an expenditure for a communication "expressly advocating the election or defeat of a clearly identified candidate that is not made in cooperation, consultation, or concert with, or at the request or suggestion of, a candidate, a candidate’s authorized committee, or their agents, or a political party or its agents."
Aggregates by candidate do not include 24 and 48 hour reports. This ensures we don't double count expenditures and the totals are more accurate. You can still find the information from 24 and 48 hour reports in
/schedule/schedule_e/.Due to the large quantity of Schedule E filings, this endpoint is not paginated by page number. Instead, you can request the next page of results by adding the values in the
last_indexesobject frompaginationto the URL of your last request. For example, when sorting byexpenditure_amount, you might receive a page of results with the following pagination information:To fetch the next page of sorted results, append
last_index=3023037andlast_expenditure_amount=to the URL. We strongly advise paging through these results by using the sort indices (defaults to sort by disbursement date, e.g.last_disbursement_date), otherwise some resources may be unintentionally filtered out. This resource uses keyset pagination to improve query performance and these indices are required to properly page through this large dataset.Note: because the Schedule E data includes many records, counts for large result sets are approximate; you will want to page through the records until no records are returned.
"pagination": { "count": 152623, "last_indexes": { "last_index": "3023037", "last_expenditure_amount": -17348.5 }, "per_page": 20, "pages": 7632 }} -
independentExpenditures.getSchedulesScheduleEByCandidateSchedule E receipts aggregated by recipient candidate. To avoid double counting, memoed items are not included.
-
independentExpenditures.getSchedulesScheduleEEfileEfiling endpoints provide real-time campaign finance data received from electronic filers. Efiling endpoints only contain the most recent four months of data and don't contain the processed and coded data that you can find on other endpoints.
-
independentExpenditures.getSchedulesScheduleETotalsByCandidateTotal independent expenditure on supported or opposed candidates by cycle or candidate election year.
-
legal.getLegalSearchSearch legal documents by document type, or across all document types using keywords, parameter values and ranges.
-
loans.getSchedulesScheduleCSchedule C shows all loans, endorsements and loan guarantees a committee receives or makes.
The committee continues to report the loan until it is repaid.
-
loans.getSchedulesScheduleCSubIdSchedule C shows all loans, endorsements and loan guarantees a committee receives or makes.
The committee continues to report the loan until it is repaid.
-
partyCoordinatedExpenditures.getSchedulesScheduleFSchedule F, it shows all special expenditures a national or state party committee makes in connection with the general election campaigns of federal candidates.
These coordinated party expenditures do not count against the contribution limits but are subject to other limits, these limits are detailed in Chapter 7 of the FEC Campaign Guide for Political Party Committees.
-
partyCoordinatedExpenditures.getSchedulesScheduleFSubIdSchedule F, it shows all special expenditures a national or state party committee makes in connection with the general election campaigns of federal candidates.
These coordinated party expenditures do not count against the contribution limits but are subject to other limits, these limits are detailed in Chapter 7 of the FEC Campaign Guide for Political Party Committees.
-
presidential.getPresidentialContributionsByCandidateNet receipts per candidate.
Filter with
contributor_state='US'for national totals -
presidential.getPresidentialContributionsBySizeContribution receipts by size per candidate.
Filter by candidate_id, election_year and/or size
-
presidential.getPresidentialContributionsByStateContribution receipts by state per candidate.
Filter by candidate_id and/or election_year
-
presidential.getPresidentialCoverageEndDateCoverage end date per candidate.
Filter by candidate_id and/or election_year
-
presidential.getPresidentialFinancialSummaryFinancial summary per candidate.
Filter by candidate_id and/or election_year
-
receipts.getSchedulesScheduleAThis description is for both
/schedules/schedule_a/and /schedules/schedule_a/{sub_id}/.This endpoint provides itemized receipts. Schedule A records describe itemized receipts, including contributions from individuals. If you are interested in contributions from an individual, use the
/schedules/schedule_a/endpoint. For a more complete description of all Schedule A records visit . If you are interested in our "is_individual" methodology visit our .The
/schedules/schedule_a/endpoint is not paginated by page number. This endpoint uses keyset pagination to improve query performance and these indices are required to properly page through this large dataset. To request the next page, you should append the values found in thelast_indexesobject from pagination to the URL of your last request as additional parameters. For example, when sorting bycontribution_receipt_date, you might receive a page of results with the two scenarios of following pagination information:case #1:
case #2 (results which include contribution_receipt_date = NULL):To fetch the next page of sorted results, append
last_index=230880619andlast_contribution_receipt_date=2014-01-01to the URL and when reachingcontribution_receipt_date=NULL, appendlast_index=230880639andsort_null_only=True. We strongly advise paging through these results using sort indices. The default sort is acending bycontribution_receipt_date(deprecated, will be descending). If you do not page using sort indices, some transactions may be unintentionally filtered out.Calls to
/schedules/schedule_a/may return many records. For large result sets, the record counts found in the pagination object are approximate; you will need to page through the records until no records are returned.To avoid throwing the "out of range" exception on the last page, one recommandation is to use total count and
per_pageto control the traverse loop of results.The
/schedules/schedule_a/{sub_id}/endpoint returns a single transaction, but it does include a pagination object class. Please ignore the information in that object class.pagination: { pages: 2152643, per_page: 20, count: 43052850, last_indexes: { last_index: "230880619", last_contribution_receipt_date: "2014-01-01" }}pagination: { pages: 2152644, per_page: 20, count: 43052850, last_indexes: { last_index: "230880639", sort_null_only: True }} -
receipts.getSchedulesScheduleAByEmployerThis endpoint provides itemized individual contributions received by a committee, aggregated by the contributor’s employer name. If you are interested in our “is_individual” methodology, review the . Unitemized individual contributions are not included.
-
receipts.getSchedulesScheduleAByOccupationThis endpoint provides itemized individual contributions received by a committee, aggregated by the contributor’s occupation. If you are interested in our “is_individual” methodology, review the . Unitemized individual contributions are not included.
-
receipts.getSchedulesScheduleABySizeThis endpoint provides individual contributions received by a committee, aggregated by size:
The $200.00 and under category includes contributions of $200 or less combined with unitemized individual contributions.
-
receipts.getSchedulesScheduleABySizeByCandidateThis endpoint provides itemized individual contributions received by a committee, aggregated by size of contribution and candidate. If you are interested in our “is_individual” methodology, review the . Unitemized individual contributions are not included.
-
receipts.getSchedulesScheduleAByStateThis endpoint provides itemized individual contributions received by a committee, aggregated by the contributor’s state. If you are interested in our “is_individual” methodology, review the . Unitemized individual contributions are not included.
-
receipts.getSchedulesScheduleAByStateByCandidateThis endpoint provides itemized individual contributions received by a committee, aggregated by contributor’s state and candidate. If you are interested in our “is_individual” methodology, review the . Unitemized individual contributions are not included.
-
receipts.getSchedulesScheduleAByStateByCandidateTotalsItemized individual contributions aggregated by contributor’s state, candidate, committee type and cycle. If you are interested in our “is_individual” methodology, review the . Unitemized individual contributions are not included.
-
receipts.getSchedulesScheduleAByStateTotalsThis endpoint provides itemized individual contributions received by a committee, aggregated by contributor’s state, committee type and cycle. If you are interested in our “is_individual” methodology, review the . Unitemized individual contributions are not included.
-
receipts.getSchedulesScheduleAByZipThis endpoint provides itemized individual contributions received by a committee, aggregated by the contributor’s ZIP code. If you are interested in our “is_individual” methodology, review the . Unitemized individual contributions are not included.
-
receipts.getSchedulesScheduleAEfileEfiling endpoints provide real-time campaign finance data received from electronic filers. Efiling endpoints only contain the most recent four months of data and don't contain the processed and coded data that you can find on other endpoints.
-
receipts.getSchedulesScheduleASubIdThis description is for both
/schedules/schedule_a/and /schedules/schedule_a/{sub_id}/.This endpoint provides itemized receipts. Schedule A records describe itemized receipts, including contributions from individuals. If you are interested in contributions from an individual, use the
/schedules/schedule_a/endpoint. For a more complete description of all Schedule A records visit . If you are interested in our "is_individual" methodology visit our .The
/schedules/schedule_a/endpoint is not paginated by page number. This endpoint uses keyset pagination to improve query performance and these indices are required to properly page through this large dataset. To request the next page, you should append the values found in thelast_indexesobject from pagination to the URL of your last request as additional parameters. For example, when sorting bycontribution_receipt_date, you might receive a page of results with the two scenarios of following pagination information:case #1:
case #2 (results which include contribution_receipt_date = NULL):To fetch the next page of sorted results, append
last_index=230880619andlast_contribution_receipt_date=2014-01-01to the URL and when reachingcontribution_receipt_date=NULL, appendlast_index=230880639andsort_null_only=True. We strongly advise paging through these results using sort indices. The default sort is acending bycontribution_receipt_date(deprecated, will be descending). If you do not page using sort indices, some transactions may be unintentionally filtered out.Calls to
/schedules/schedule_a/may return many records. For large result sets, the record counts found in the pagination object are approximate; you will need to page through the records until no records are returned.To avoid throwing the "out of range" exception on the last page, one recommandation is to use total count and
per_pageto control the traverse loop of results.The
/schedules/schedule_a/{sub_id}/endpoint returns a single transaction, but it does include a pagination object class. Please ignore the information in that object class.pagination: { pages: 2152643, per_page: 20, count: 43052850, last_indexes: { last_index: "230880619", last_contribution_receipt_date: "2014-01-01" }}pagination: { pages: 2152644, per_page: 20, count: 43052850, last_indexes: { last_index: "230880639", sort_null_only: True }} -
search.getNamesCandidatesSearch for candidates or committees by name. If you're looking for information on a particular person or group, using a name to find the
candidate_idorcommittee_idon this endpoint can be a helpful first step. -
search.getNamesCommitteesSearch for candidates or committees by name. If you're looking for information on a particular person or group, using a name to find the
candidate_idorcommittee_idon this endpoint can be a helpful first step. -
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools