Table of Contents
Campaign Finance API Summaries
This is an attempt to capture the basic information offered up by the various campaign finance-related APIs, along with random technical notes. Where possible, I've attached the actual API documentation to the page (see below)
NIMSP API
Link: http://followthemoney.org/our-data/apis/documentation/Types of data offered
- General
- Election state
- Election year
- Filing state
- Filer
- Filing year
- Office sought
- Office
- Advanced
- Incumbency data (whether candidate was also incumbent)
- Incumbency advantage (current office holder or incumbent)
- Original name (as reported to disclosure agency)
- Amount
- Date
- Last updated
- Type of transaction (direct or other)
- Candidates
- Candidate
- Political party
- Party details
- Career summary
- Political race
- Type of office
- Status of candidate (won, lost)
- Incumbency status
- Contributors
- Contributor
- Type of contributor (individual, non-individual)
- Business classification
- Industry
- Sector
- City
- State
- Zip
- In-state (in-state or out-of-state contributions)
- Employer
- Occupation
Major economic sector classifications
(Drill-down list of specific businesses and industry here: http://followthemoney.org/our-data/about-our-data/)
- Agriculture
- Construction
- Communications & Electronics
- Defense
- Energy & Natural Resources
- Finance, Insurance & Real Estate
- General Business
- Health
- Government Agencies/Education/Other
- Ideology/Single Issue
- Lawyers & Lobbyists
- Labor
- Transportation
- Uncoded
- Party
- Unitemized Contributions
- Candidate Contributions
- Non-Contributions
- Public Subsidy
CRP (Open Secrets) API
Link: https://www.opensecrets.org/resources/create/api_doc.phpTypes of data offered
- Legislator
- CRP ID
- Full name
- Last name
- Party
- Office
- Gender
- Year first elected
- CRP exit code
- CRP comments
- Phone
- Fax
- Website
- Webform
- Office address
- Congressional Bioguide ID
- Votesmart ID
- FEC ID
- Twitter ID
- YouTube ID
- Facebook ID
- Date of birth
- Member profile
- Full name
- CRP ID
- Low range of net worth
- High range of net worth
- Number of positions held
- Number of asset records
- Low range of assets
- High range of assets
- Number of transaction records
- Lowest transaction value
- Highest transaction value
- Link to opensecrets.org
- Origin
- Last updated
- Asset
- Asset name
- Low range of asset value
- High range of asset value
- Industry
- Sector
- Subsidiary of
- Transaction
- Asset name
- Date of transaction
- Buy/sold/exchanged
- Minimum value of transaction
- Maximum value of transaction
- Position
- Position title
- Organization in which position is held
- Candidate summary
- Lastname, firstname
- CRP ID
- Cycle year
- State
- Party
- Chamber
- First elected
- Next election
- Total receipts reported
- Total expenditures reported
- Cash on hand reported
- Debt reported
- Origin of attribution
- Link to opensecrets.org
- Last updated
- Contributors
- Candidate firstname, lastname contributed to
- CRP ID
- Cycle year
- Origin
- Link to CRP data
- Notice
- Last update
- Contributor
- Organization name
- Total from all itemized sources
- Total PAC contributions
- Total individual contributions
- Industries
- Candidate firstname, lastname contributed to
- CRP ID
- Cycle year
- Origin
- Link to CRP data
- Last update
- Industry
- Industry name
- Total from large individual contributions
- Total from PACs
- Total from all itemized sources
- Totals contributed by specific industry
- Candidate name
- CRP ID
- Cycle year
- Industry
- Chamber
- Party
- State
- Total (invididual + PACs)
- Total from individuals
- Total from PACs
- Rank within chamber
- Origin
- Source link to CRP
- Last updated
- Sectors
- Candidate name
- CRP ID
- Cycle year
- Origin
- Source
- Last updated
- Sector
- Sector name
- CRP sector ID
- Total from large individual contributors
- Total from PACs
- Total from all itemized sources
- Committee (fundraising by committee/member)
- Committee name
- Industry name
- Congress number
- Origin
- Source
- Last updated
- Member
- Member name (firstname, lastname)
- CRP ID
- Party
- State
- Total receipts
- Total from individuals
- Total from PACs
- Organization
- CRP orgid
- Standardized organization name
- Total contributions (FEC and IRS)
- Total from individuals
- Total from PACs
- Total soft money
- Total from 527 orgs
- Total to Dems
- Total to Reps
- Total lobbying for 2 years of cycle
- Total spent on independent expenditures
- Number of members invested in this org
- Total given to PACs
- Total given to party committees
- Total given to 527 orgs
- Total given to candidates
- Link to opensecrets.org
Real-Time Federal Campaign Finance (Sunlight Labs) API
Link: http://sunlightlabs.github.io/realtime-docs/- New filing
- FEC ID
- Committee name
- FEC filing number
- Form type
- Filed date
- Coverage from date
- Coverage to date
- SuperPAC flag
- Committee designation (http://www.fec.gov/finance/disclosure/metadata/DataDictionaryCommitteeMaster.shtml)
- Committee type (http://www.fec.gov/finance/disclosure/metadata/CommitteeTypeCodes.shtml)
- Cash on hand at end of reporting period
- Amount of new loans
- Total amount raised
- Total amount spent
- Lines present
- Form name
- SKEDA URL
- Spending URL
- Absolute URL
- Committee URL
- Process time
- Superceded?
- Independent expenditures
- Form type (http://www.fec.gov/finance/disclosure/metadata/CommitteeTypeCodes.shtml)
- Superceded?
- FEC ID of candidate targeted
- Candidate name
- Candidate party
- Candidate office
- Candidate state
- Candidate district
- Support or oppose?
- Committee making expenditure
- Transaction ID
- Payee organization
- Payee street 1
- Payee street 2
- Payee city
- Payee state
- Payee zip
- Payee name (simplified)
- Election code
- Election description
- Date of expenditure
- Amount of expenditure
- Purpose code for expenditure
- Purpose description
- Date signed
- Memo code
- Memo description
- FEC ID of committee
- District expenditure was made in
- Race URL
- Committee URL
- Candidate URL
- Short office (district) version
- Congressional districts
- Internal district ID
- District URL
- Cycle year
- State
- Office
- Office district
- Term class (senators only)
- Incumbent name
- Incumbent party
- Next election date
- Next election code
- Next election description
- Open seat left by incumbent?
- Total raised by candidates in district
- Total spent by candidates in district
- Total outside expenditures for race
- Rothenberg rating ID
- Rothenberg rating text (http://rothenbergpoliticalreport.com/)
- Candidate
- Name
- FEC ID
- PCC ID
- Party
- Candidate URL
- Race URL
- IE URL
- Incumbent?
- Cycle year
- Seeking re-election?
- Other office sought
- Other FEC ID
- Election year
- State
- Office
- Office district
- Term class (senators only)
- Candidate status
- Total expenditures made for candidate
- Total supporting expenditures made for candidate
- Total opposing expenditures made for candidate
- Total receipts
- Total contributions reported
- Total disbursements reported
- Cash on hand
- Cash on hand date
- District
- Outstanding loans
- Committee
- FEC ID
- Name
- Total receipts
- Total disbursements
- Outstanding loans
- Cash on hand
- Cash on hand date
- CTYPE (FEC-defined)
- Candidate office for supported candidates
- Candidate name
- Candidate URL
- Display type
- Committee URL
- Political orientation
- Outside spender
- FEC ID
- Name
- Total receipts
- Total disbursements
- Outstanding loans
- CTYPE (FEC-defined)
- Total independent expenditures
- Expenditures for Dems support
- Expenditures for Dems opposition
- Expenditures for Reps support
- Expenditures for Reps opposition
- Political orientation
- Political orientation verified?
- Display type
- Committee URL
- Get filtered IE
- Display cash on hand
- Display cash on hand date
- Major activity
Politifact API
Link: http://static.politifact.com/api/doc.htmlNot really campaign-finance related, but included here as an example of good API documentation.
| File | Last modified | Size |
|---|---|---|
| FollowTheMoney-API.pdf | 2015-02-12 09:51 | 585Kb |
CategoryFinance