Open Data & APIs
All the data that powers GovTrack.us is available to you for reuse for any purpose.
GovTrack is the longest-running open data provider for federal legislation. We began making our data available for re-use in 2005, and through APIs in 2012, and our service has been the basis for many other open government websites and apps.
Getting data from the primary source
In 2016, after a 15-year campaign, we finally convinced the U.S. Congress to make legislative data available themselves. Primary data resources include:
- Membership of the House of Representatives in XML
- Membership of the Senate in XML
- Bill summary and status XML at GPO FDSys
- Upcoming bills and committee hearings in the House (docs.house.gov)
We encourage you to check out the source data.
Getting data from GovTrack
We continue to make our open data and APIs available because our offerings are often easier to use and sometimes more comprehensive than the official data from Congress. See our about page for a complete list of the data sources we use.
Here’s what we make available:
Bulk Data: Our bulk data contains the raw data behind most everything you see on GovTrack in JSON format. You can download the bulk data using rsync, a common Unix data transfer utility.
congress-legislators. The congress-legislators project on Github is a comprehensive database of all Members of Congress since 1789, stored in YAML format. (These files are also in our bulk data where they are converted to CSV format.)
congress project. The congress project on github is an open source community repository where we write Python scripts to gather official legislative information and convert it into more usable JSON data files.
GovTrack source code. We have also posted the Python/Django source code for GovTrack itself.
DEPRECATED GIS API and Maps. We host a map server and API for United States Congressional Districts, 113th Congress (i.e. 2012 elections and on), based on the geographic data made available by the U.S. Census. This service will be discontinued on January 4, 2017.