Congress.gov Scraper avatar

Congress.gov Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
Congress.gov Scraper

Congress.gov Scraper

Scrape Congress.gov, the official source for US legislative data. Search bills, get member info, browse committees. Replaces GovTrack (API discontinued summer 2026). Powered by the official Congress.gov API.

Pricing

from $3.00 / 1,000 results

Rating

5.0

(4)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

4

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Extract US legislative data from Congress.gov — the official source for bills, members, and committees maintained by the Library of Congress. This actor replaces GovTrack (API discontinued summer 2026) and uses the free official Congress.gov API.

What You Get

  • Bills — title, sponsor, party, state, policy area, subjects, latest action, introduced date, cosponsor count, and direct bill URL
  • Members — bioguide ID, name, party, state, district, chamber, legislation counts, and photo URL
  • Committees — name, chamber, type, subcommittee count, and Congress.gov URL
  • Bill details — full structured data for any specific bill by congress number, type, and bill number

Data Source

All data is sourced from the official Congress.gov API (api.congress.gov) maintained by the Library of Congress. The API is free to use without registration (30 requests/hour with the default DEMO_KEY). Register at api.congress.gov for 5,000 requests/hour.


Input

FieldTypeDescription
modeSelectWhat to fetch: searchBills, billDetails, members, committees
apiKeyTextCongress.gov API key. Defaults to DEMO_KEY (30 req/hr). Register for 5000 req/hr.
congressIntegerCongress number (100–119). Current is 119 (2025–2026).
billTypeSelectFilter by bill type: HR, S, HJRES, SJRES, HCONRES, SCONRES, HRES, SRES
billNumberIntegerBill number for billDetails mode
queryTextKeyword to filter bill titles in searchBills mode
fromDateTextFilter bills updated on/after this date (YYYY-MM-DD)
toDateTextFilter bills updated on/before this date (YYYY-MM-DD)
chamberSelectFilter by chamber: house, senate, or both
stateTextFilter members by 2-letter US state code (e.g., CA, TX)
partySelectFilter members by party: D (Democrat), R (Republican), I (Independent)
currentMemberBooleanWhen true, return only currently serving members
maxItemsIntegerMaximum records to return (1–500, default 20)

Modes

searchBills — Search and list recent bills

Returns a paginated list of bills from Congress.gov, sorted by most recently updated.

{
"mode": "searchBills",
"congress": 119,
"billType": "HR",
"maxItems": 20
}

billDetails — Get full details for a specific bill

Returns complete metadata for one bill including sponsor, subjects, action history counts.

{
"mode": "billDetails",
"congress": 119,
"billType": "HR",
"billNumber": 1
}

members — List congressional members

Returns members with party, state, district, and legislation activity counts.

{
"mode": "members",
"chamber": "senate",
"party": "D",
"currentMember": true,
"maxItems": 50
}

committees — List committees

Returns standing, select, and joint committees with chamber and type.

{
"mode": "committees",
"chamber": "house",
"maxItems": 30
}

Output Fields

Bills

FieldDescription
congressCongress number (e.g., 119)
billTypeBill type (HR, S, HJRES, etc.)
billNumberBill number
titleFull bill title
originChamberHouse or Senate
introducedDateDate introduced (YYYY-MM-DD)
sponsorSponsor's full name
sponsorPartySponsor's party (D/R/I)
sponsorStateSponsor's state abbreviation
policyAreaPrimary policy area
latestActionMost recent action text
latestActionDateDate of most recent action
cosponsorCountNumber of cosponsors
actionCountTotal action count
subjectsList of legislative subjects
billUrlDirect Congress.gov bill URL
updateDateLast update timestamp

Members

FieldDescription
bioguideIdUnique member identifier
nameFull name
partyNameFull party name
stateState abbreviation
districtCongressional district number
chambersList of chambers served
mostRecentChamberCurrent/most recent chamber
termStartYearMost recent term start year
sponsoredLegislationCountBills sponsored count
cosponsoredLegislationCountBills cosponsored count
imageUrlOfficial photo URL
memberUrlCongress.gov member page URL

Committees

FieldDescription
committeeIdSystem code identifier
nameFull committee name
chamberHouse or Senate
committeeTypeStanding, Select, Joint, etc.
subcommitteeCountNumber of subcommittees
committeeUrlCongress.gov committee URL

Example Output Record (Bill)

{
"congress": 119,
"billType": "HR",
"billNumber": 1,
"title": "American Innovation and Jobs Act",
"originChamber": "House",
"introducedDate": "2025-01-06",
"sponsor": "Charles Schumer",
"sponsorParty": "D",
"sponsorState": "NY",
"policyArea": "Science, Technology, Communications",
"latestAction": "Referred to the Committee on Ways and Means.",
"latestActionDate": "2025-01-10",
"cosponsorCount": 12,
"actionCount": 5,
"subjects": ["Research and Development", "Tax Credits"],
"billUrl": "https://www.congress.gov/bill/119th-congress/hr/1",
"recordType": "bill",
"scrapedAt": "2025-05-25T10:30:00+00:00"
}

Use Cases

  • Legislative research — Track bills by topic, sponsor, or status across Congress sessions
  • Civic tech — Build apps that show what your representatives have been working on
  • Journalism — Monitor bill activity, cosponsor patterns, and committee assignments
  • Policy analysis — Study legislative trends across multiple Congress sessions
  • Academic research — Analyze voting patterns, party alignment, and policy areas
  • Compliance & lobbying — Monitor relevant legislation in your industry

Rate Limits

The default DEMO_KEY is rate-limited to 30 requests per hour. For large-scale data collection:

  1. Register a free API key at api.congress.gov
  2. Enter your key in the apiKey field
  3. Enjoy 5,000 requests per hour

The actor automatically adds delays between requests when using DEMO_KEY to stay within limits.


FAQ

Q: How current is the data? Congress.gov is the official US government source — data is updated within hours of official actions.

Q: What Congress numbers are available? Historical data goes back many congresses. The current is 119 (2025–2026); 118 was 2023–2024.

Q: What are the bill type codes?

  • HR — House Resolution (a bill originating in the House)
  • S — Senate Bill
  • HJRES — House Joint Resolution
  • SJRES — Senate Joint Resolution
  • HCONRES / SCONRES — Concurrent Resolutions
  • HRES / SRES — Simple Resolutions

Q: Can I search for bills by keyword? Yes — use the query field with mode=searchBills to filter results by title keyword.

Q: Is a paid API key required? No. The DEMO_KEY works out of the box with lower rate limits. Register at api.congress.gov for higher limits.