Overview
The Congress.gov API is the official way to pull data from Congress.gov, the legislative information site of the United States Congress, into your own program. The legal notices point to the Library of Congress, and the project's public repository sits under the Library's GitHub account.
It gives read access to the main Congress.gov collections: bills, amendments, bill summaries, members, committees and their reports, prints and meetings, hearings, the Congressional Record in its daily and bound forms, House roll call votes, House and Senate communications, nominations, treaties and Congressional Research Service reports. Responses come back as JSON or XML, with paging information included, and the home page is an interactive reference where each endpoint can be tried out.
The API is free, but you need a key, which you request with a short sign-up form handled through api.data.gov. A key allows up to 5,000 requests an hour. Results are returned 20 at a time by default and up to 250 per request. It suits journalists, researchers, civic technologists and anyone building tools that follow federal legislation. Staff watch the repository's issue tracker and pass data problems on to the House and Senate.
Categories
Features
- Bill, amendment and bill summary data
- Member, committee, committee report, print and meeting data
- Hearings and House roll call votes
- Congressional Record in daily and bound editions
- Nominations, treaties and House and Senate communications
- Congressional Research Service report data
- JSON or XML responses with paging links
- Interactive endpoint reference on the API home page
- Public GitHub repository with documentation, change log and issue tracker
Privacy
The project documentation points to the data.gov privacy policy for API key registration and to the Library of Congress privacy policy for the API content. See the official privacy policy.
Pros & Cons
Pros
- Free and official, straight from the source of the data
- Broad coverage of legislative collections in one API
- Choice of JSON or XML output
- Changes are announced in a public change log
Cons
- Requires signing up for an API key before any request works
- Limited to 5,000 requests an hour per key
- At most 250 results per request, so large pulls need paging
- Read-only raw data that takes programming to use
Community Reviews (0)
No written reviews yet — be the first to rate this tool.
Similar Tools
-
Government APIs · Census Bureau API
Provides U.S. demographic and economic data via API.
Free API -
Government APIs · Regulations.gov API
Provides U.S. federal regulations and public comments via API.
Free API -
Government APIs · Data.gov
Searches the U.S. government's open data catalog via API; it returns dataset metadata and links, not the data itself.
Free No Signup API