Don't worry, you're in the right place!
TransparencyData's functionality has been incorporated into Influence Explorer. InfluenceExplorer.com provides overviews of political influence data for politicians, companies and prominent individuals. All of the functionality of TransparencyData is now available here at data.InfluenceExplorer.com.
API
Register for an API key at Sunlight Data Services. This key can be used to access all of the Sunlight Labs data APIs.
The Transparency Data API provides programmatic access to all data (both raw and aggregate) available on Influence Explorer. All of its endpoints are structured as follows:
http://transparencydata.com/api/1.0/<method>.<format>
The methods and formats available are listed in the categories at left. Note that while the user-facing functionality formerly hosted at the transparencydata.com address has now been integrated into Influence Explorer, transparencydata.com continues to be the domain where our data APIs are hosted.
License
Data returned by this service is subject to the use restrictions set by the Federal Election Commission. By accessing this data, you understand that you are using the data subject to all applicable local, state and federal law, including FEC restrictions.
All data licensed under the Creative Commons BY-NC-SA license. By downloading data and accessing the API you are agreeing to the terms of the license.
Federal campaign contribution and lobbying records must be attributed to OpenSecrets.org.
State campaign contribution records must be attributed to FollowTheMoney.org.
Authentication
An API key is required to access the Transparency Data API. Registration is easy and if you already have a Sunlight Data Services key you can use it here.
The API key must be an apikey query string parameter. Example:
http://transparencydata.com/api/1.0/contributions.csv?apikey=<key>&...
Common Parameters
These parameters are common to all API methods.
- apikey
- Required if the X-APIKEY HTTP header is not used.
- page
- The page of results to return; defaults to 1.
- per_page
- The number of results to return per page, defaults to 1,000. The maximum number of records per page is 100,000.