Congress.gov API
Library of Congress
The official record of every bill, amendment, and member of Congress, queryable in JSON.
The Library of Congress's API to Congress.gov data: bills and their actions, cosponsors, subjects, and text versions; amendments; members; committees and their reports; nominations; treaties; and the Congressional Record. It is the authoritative source for legislative status and sponsorship, with history back to the 1970s for many collections.
Access
- Cost
- FreeFree API key required; limit of 5,000 requests per hour.
- License
- Public domainU.S. government data, generally public domain
- Sign-up
- Free account
- How you get it
- APIJSON, XML
What's in it
- One row is
- One record per bill, amendment, member, committee report, or nomination
- Covers
- U.S. Congress
- Years
- Varies by collection; bills largely from the 1970s onward
- Updated
- Daily
- Size
- Not stated
Quality
Official source maintained by the Library of Congress with versioned documentation on GitHub.
- No bulk download; GovInfo bulk data is better for full bill text
- Older Congresses have sparser metadata
Connects to
- Voteview Congressional Roll-Call Votes: Link bills to the roll calls on them
- Lobbying Disclosure Act Filings (LDA.gov): Count lobbying reports that name each bill
Questions it could answer
- What share of introduced bills get any committee action?
- Which members attract the most cosponsors from the other party?