US Congress Bills Scraper: GovInfo Bill Status avatar

US Congress Bills Scraper: GovInfo Bill Status

Pricing

from $3.48 / 1,000 govinfo bill records

Go to Apify Store
US Congress Bills Scraper: GovInfo Bill Status

US Congress Bills Scraper: GovInfo Bill Status

Returns US Congress bill status rows (title, latest action, committees) from the public GovInfo BILLSTATUS bulk data as a JSON dataset. Independent tool, not affiliated with GPO or Congress.

Pricing

from $3.48 / 1,000 govinfo bill records

Rating

0.0

(0)

Developer

PlainKit bin

PlainKit bin

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

GovInfo Scraper: US Congress Bill Status Data

plainkitbin/pd-us-congress: US Congress bills scraper for GovInfo bill status data with titles, latest actions, policy areas and committees.

GovInfo scraper for US Congress bill status data: policy analysts, government affairs teams, journalists, researchers and civic technology developers get bill rows without downloading and parsing BILLSTATUS XML files by hand. One run reads the GovInfo bulk data files for one Congress and one bill type, newest modified first, and returns dataset rows with the bill title, introduction date, latest action, policy area, committees and the source file address.

Introduction

The GovInfo Bulk Data Repository publishes one XML file for each bill and resolution. This Actor reads the sitemap of the chosen Congress and bill type, opens the bill files one at a time and turns each into one flat row. You can use the rows to:

  • watch which bills changed since a date,
  • find bills whose title mentions a topic,
  • load committee and latest action data into a spreadsheet, database or AI agent.

This Actor is an independent tool. It is not affiliated with GovInfo Bulk Data Repository (BILLSTATUS collection, XML), the Government Publishing Office or the US Congress.

Tutorial

  1. Choose the congress number, for example 119.
  2. Choose the bill_type, for example s for Senate bills or hr for House bills.
  3. Optionally set search (text in the bill title) or updated_since (a date).
  4. Set max_items and start the run.
  5. Open the dataset and export it as JSON, CSV or Excel.

Pricing

The price is $0.005 per delivered bill row under the FREE tier on Apify Pay-Per-Event (event name: govinfo-bill).

  • FREE: $0.005 per event
  • BRONZE: $0.0045 per event
  • SILVER: $0.004 per event
  • GOLD: $0.003484 per event
  • PLATINUM: $0.003484 per event
  • DIAMOND: $0.003334 per event

Each bill row is pushed to the dataset first and charged right after a successful push. A refused charge stops the run; that row stays delivered and uncharged. A reached spending limit also stops the run, after that row was charged. Bill files that cannot be read are skipped and not charged. If GovInfo refuses a request (HTTP 401, 403 or 429), the run ends with one reason row that is not charged. If a run is restarted by the platform, bills already in the dataset are not pushed or charged again.

Input and output examples

Example input

{
"congress": 119,
"bill_type": "s",
"max_items": 5
}

Example output

One row of a run, copied from a GovInfo file read on 2026-11-26:

{
"bill_id": "119-s-29",
"bill_number": "29",
"bill_type": "S",
"committees": ["Commerce, Science, and Transportation Committee"],
"congress": "119",
"introduced_date": "2025-01-07",
"latest_action_date": "2025-01-07",
"latest_action_text": "Read twice and referred to the Committee on Commerce, Science, and Transportation.",
"origin_chamber": "Senate",
"policy_area": "Science, Technology, Communications",
"reason_code": "",
"sitemap_lastmod": "2026-09-08T20:30:08.549Z",
"source_url": "https://www.govinfo.gov/bulkdata/BILLSTATUS/119/s/BILLSTATUS-119s29.xml",
"title": "Sunshine Protection Act of 2025",
"update_date": "2026-09-08T18:03:40Z"
}

Output fields

FieldMeaning
bill_idCongress, bill type and number, for example 119-s-29
congress, bill_type, bill_numberValues from the bill file
titleBill title
origin_chamberHouse or Senate
introduced_dateDate of introduction
latest_action_date, latest_action_textLatest action recorded in the file
policy_areaPolicy area term, empty when the file has none
committeesCommittee names listed in the file
update_dateUpdate date written in the file
sitemap_lastmodModification time of the file in the GovInfo sitemap
source_urlAddress of the XML file
reason_codeEmpty for bill rows; ACCESS_REFUSED or RATE_LIMITED in a reason row

A reason row holds only reason_code.

Input parameters

FieldTypeDescriptionDefault
congressInteger (108-130)Congress number.119
bill_typeString (select)hr, s, hjres, sjres, hconres, sconres, hres or sres."s"
searchStringText that must appear in the title.""
updated_sinceStringOnly files modified on or after this date (YYYY-MM-DD).""
max_itemsInteger (1-500)Highest number of bill rows.10

Actor recommendations

  • Schedule a daily run with updated_since set to a recent date to follow changes.
  • A title search reads files one by one and stops at a page limit, so it may return fewer rows than max_items, or none, even when older bills match. Raise max_items to let the search read more files.
  • The Actor reads titles, dates, actions and committees. It does not return bill text, summaries, sponsors or votes.

FAQ and support

Do I need an API key? No. The Actor reads public GovInfo bulk data files.

Where does the data come from? From www.govinfo.gov. Each bill file states that it is in the public domain under Title 17 Section 105 of the United States Code.

Is the data current? The rows show what the GovInfo files held at run time. GovInfo may update a file later than the event it records.

Why did a run return fewer rows than requested? The sitemap may hold fewer matching bills, a file may be unreadable, or a charge limit may have been reached. The run status message reports the counts.

Support: open an issue on the Actor page in Apify.

Use as an MCP Tool (AI Agents)

Local (stdio):

$APIFY_TOKEN=<YOUR_APIFY_TOKEN> npx -y @apify/actors-mcp-server --actors plainkitbin/pd-us-congress

Hosted (streamable HTTP): connect to https://mcp.apify.com?tools=plainkitbin/pd-us-congress using OAuth or the header Authorization: Bearer <YOUR_APIFY_TOKEN>.

Example tool input:

{"congress": 119, "bill_type": "s", "max_items": 2}