Congress.gov API

active Ingestion health: delivering Legislative · Tier 1 · API · Library of Congress

What this source is

The Library of Congress's official API for structured legislative data: committee meetings with witnesses and documents, nominations, treaties, bill actions and cosponsors, House roll-call votes (beta), daily Congressional Record metadata, and CRS reports. Fills the committee-activity and nominations coverage the pipeline currently lacks entirely.

Model-written orientation

The Library of Congress's official API provides structured access to legislative data including bill actions, committee meetings, nominations, and Congressional Record metadata.

Congress.gov is the official website of the United States Congress and the legislative branch. It provides the public with access to information about bills, resolutions, members of Congress, committee activities, nominations, treaties, and the Congressional Record.

The Library of Congress maintains Congress.gov and publishes an official API that provides structured access to legislative data. The API exposes several categories of information: bill and resolution records with metadata and action histories, committee meeting schedules and witness lists, committee documents, nominations sent to the Senate for confirmation, treaties submitted to the Senate, congressional research reports, and metadata about Congressional Record publications.

This digest currently ingests bill actions through the Congress.gov API. Bill actions are recorded every time a bill or resolution is acted upon—when it is introduced, referred to committee, debated, voted on, passed or rejected, sent to the President, or signed into law. The API exposes the most recent action for each bill and allows querying by date to find bills acted upon recently. The API does not expose the full history of all actions on a bill, but rather the latest action and related metadata.

The API requires an API key, which the FAPD pipeline holds. Rate limits are set well above current usage levels.

The Congress.gov API fills important coverage gaps in the federal publication record. It provides the earliest official access to committee activity, nominations, and bill actions—information that is not published through the Federal Register or govinfo. This digest publishes bill actions from this API, representing legislative activity that would otherwise not appear in the federal record as captured by this system. This source is valuable for readers interested in tracking legislative activity, monitoring bills of interest, following nominations, or understanding the actions and proceedings of Congress.

Model-written orientation, generated 2026-08-05 by haiku, prompt version 1. It may draw on general knowledge of public institutions and is not official-record content.

Identity and registry record

Registry id
congress-gov-api
Agency / parent organization
Library of Congress
Branch
legislative
Type
API
Status
active
Tier
1
URL (home)
https://github.com/LibraryOfCongress/api.congress.gov (opens in a new tab)
URL (index)
https://api.congress.gov/v3/bill (opens in a new tab)
Registered
2026-07-28
Registry notes
Documented rate limit 5,000 req/hour — far above our §4 posture. Endpoint docs read from the official LoC GitHub repo 2026-07-28 (incl. CommitteeMeetingEndpoint.md, CRSReportEndpoint.md). The crsreport endpoint is registered separately as crs-reports. Senate votes are NOT here (House only) — see senate-xml. Gate 3 (2026-07-31, live through the identified client, ONE endpoint only): the api.data.gov key we already hold authenticates here (200 with data), and /v3/bill answers JSON. What the source publishes in total vs what we see: the endpoint enumerates 429,331 bill records across all Congresses and exposes, per record, ONLY the measure's identity and its LATEST action — not the full action history, not cosponsors, not text; the committee-meeting, nomination, treaty and beta House-roll-call endpoints this entry also describes are NOT ingested and stay future work. Volume measured: 749 records were updated across 2026-07-30 and 350 by 19:20 ET on 07-31, against a page of 250 per poll and an hourly collector — roughly 8x headroom on the observed ~31/hour update rate, with the loop's dedupe accumulating a day across polls; a burst of >250 updates inside one poll interval is the one loss case and is not currently detected. Three limits disclosed rather than papered over: (a) actionDate (when it happened) is not updateDate (when the record changed) — 250 records all updated 07-31 carried actions from 1997 to 07-30, so items are dated and bounded by actionDate; (b) the record is published the morning AFTER the action (0 actions dated 07-31 anywhere on the page; 97 dated 07-30; the bulk of a day's actions entered between 08:00 and 12:00 UTC the next day), so BILLACTIONS is dated by the publisher like govinfo collections and the lag is a standing digest disclosure; (c) two actions on one bill on one day collapse to a single item, because only the latest is exposed. The cited link is the www.congress.gov bill page, which answers 403 to our identified client (verified on three bill URLs) — hence wants_article() is False: we ingest what the API offers and never force what the website refuses. Sending sort as a pre-encoded 'updateDate%2Bdesc' made the service return ASCENDING order (records from 1995), so the parameter is passed with a literal space and the order is verified by reading dates, never assumed.

How we ingest it

Channel
API
Method
Conditional GET of one page of the bill endpoint per poll (limit=250, sort=updateDate+desc, api.data.gov key in request PARAMETERS so the fetch log redacts it). The congress-bill-actions adapter emits one item per bill whose latestAction.actionDate falls inside config.INDEX_LOOKBACK_DAYS and never fetches an article page. Stored under the BILLACTIONS collection (GUIDE §3 bill actions), dated by the publisher's actionDate, never AGENCYPR.
Adapter
congress-bill-actions
Poll cadence
about every 60 minutes while the collector runs
Request budget
the agency class: at most 3,000 requests per day shared across every agency web source, counted from the fetch log (failed requests count too)
Politeness
robots.txt is honored as observed — including each host's crawl-delay, exactly — and every request identifies itself as fapd/0.1 (Free Agentic Publication Digester; +https://fapd.info/bot.html; contact: hustleyourcity@gmail.com); a refusal is recorded, never evaded
Capture and hash
captured raw content is hashed (SHA-256) into the day's committed provenance manifest, hash-chained day to day (PROVENANCE.md)

Ingestion health

Ingestion health: delivering 443 item(s) in the last 14 days; most recent 2026-11-27; 0 of 346 request(s) to api.congress.gov returned no content.

This label has held since 2026-08-03T18:46:01Z (UTC) and was last re-checked 2026-11-29T00:16:56Z (UTC).

Counts are of our own requests, retries included. A 4xx or 5xx is the server declining to return content — that may be load, maintenance, on-demand generation, or a limit the publisher sets, and we cannot tell which from outside. Nothing here is a measurement of the publisher.

Ingestion statistics

These figures describe this project's ingestion of this source — items we recorded and requests we made — and nothing else. They are not a measurement of the publisher.

Last 24 hours

Last 24 hours: 25 request(s) (25 answered, 0 returned no content) · 2 item(s) ingested

Last 14 days

Items ingested: 443 in 14 days (31.64 per day) · most recent 2026-11-27

Content length: 445 characters average, 418 median (shortest 267, longest 1,558)

Delivery mode: feed-only — the feed's own summary — the source publishes no more than this through this channel

Our requests to api.congress.gov: 346 request(s) · 346 answered · 0 declined (4xx) · 0 server declined (5xx) · 0 no response — 0.0% returned no content

last answered request 2026-11-29T00:21:51.125+00:00 UTC.

443 item(s) in the last 14 days; most recent 2026-11-27; 0 of 346 request(s) to api.congress.gov returned no content.

All time

Our requests to api.congress.gov, all time (since 2026-08-01): 3,195 request(s) · 3,172 answered · 23 returned no content

Request counts begin 2026-07-30, the day this service went into production; earlier development-machine traffic is excluded. Counts before 2026-08-03 include unmarked source-probe traffic; probes are labeled and excluded thereafter. Robots.txt checks, about one a day per host, are left out of these figures and of every health label: they fetch no publication, so a source's health rests on the requests that fetch its publications. They are still logged and counted against our request budget.

Last 30 days, day by day

Each day runs midnight to midnight on Eastern time (Washington, D.C.), the publication day the digests use; the stored request stamps remain UTC.

Requests per day to api.congress.gov: 774 requests over the last 30 days (peak 33 on 2026-11-07).
Requests per day to api.congress.gov: 774 requests over the last 30 days (peak 33 on 2026-11-07).
Dayrequests
2026-10-3027
2026-10-3125
2026-11-0126
2026-11-0225
2026-11-0329
2026-11-0425
2026-11-0526
2026-11-0626
2026-11-0733
2026-11-0828
2026-11-0926
2026-11-1025
2026-11-1125
2026-11-1231
2026-11-1326
2026-11-1425
2026-11-1525
2026-11-1625
2026-11-1725
2026-11-1824
2026-11-1925
2026-11-2024
2026-11-2126
2026-11-2225
2026-11-2325
2026-11-2426
2026-11-2526
2026-11-2624
2026-11-2725
2026-11-2821
Items ingested per day: 710 items over the last 30 days (peak 130 on 2026-11-19).
Items ingested per day: 710 items over the last 30 days (peak 130 on 2026-11-19).
Dayitems
2026-10-300
2026-10-310
2026-11-010
2026-11-027
2026-11-032
2026-11-040
2026-11-0520
2026-11-060
2026-11-070
2026-11-080
2026-11-0941
2026-11-1071
2026-11-1139
2026-11-1283
2026-11-134
2026-11-140
2026-11-150
2026-11-1618
2026-11-1768
2026-11-18124
2026-11-19130
2026-11-2062
2026-11-210
2026-11-220
2026-11-233
2026-11-2436
2026-11-250
2026-11-260
2026-11-272
2026-11-280
Daily mean response time of api.congress.gov: between 239 and 1,096 ms across the last 30 days (days without a timed request are gaps, not zeroes).
Daily mean response time of api.congress.gov: between 239 and 1,096 ms across the last 30 days (days without a timed request are gaps, not zeroes).
Dayms
2026-10-30578
2026-10-31532
2026-11-01313
2026-11-02300
2026-11-03253
2026-11-04267
2026-11-05821
2026-11-06300
2026-11-071096
2026-11-08285
2026-11-09463
2026-11-10267
2026-11-11263
2026-11-12303
2026-11-13371
2026-11-14323
2026-11-15303
2026-11-16315
2026-11-17278
2026-11-18337
2026-11-19305
2026-11-20297
2026-11-21323
2026-11-22303
2026-11-23306
2026-11-24253
2026-11-25464
2026-11-26315
2026-11-27299
2026-11-28239

Our ingestion assessment

Model-written ingestion assessment

Our ingestion of the Congress.gov API runs through the bill endpoint only, polled once per run as a conditional GET of one page of 250 records. Items are structured JSON bill-action records, one per bill, carrying the measure's identity and latest action, and no article pages are fetched. Items are dated by the publisher's action date, and the registry notes record that the action typically appears in the API the morning after it occurs. Over the 14-day window we recorded 77 items, or 5.5 per day, with the most recent on 2026-11-03. Daily detail shows 53 items on 2026-10-30, 7 on 2026-11-03 and 2 on 2026-11-04, with none on the other displayed days. Of 334 requests, 5 returned no content (1.5 percent), all of them in the 00:00 hour on 2026-11-03. Delivery mode is feed-only, and the bill page links returned HTTP 403 to our identified client, so no article fetch is made. Compared with the previous assessment, which recorded 647 items over 14 days at 46.21 per day, the item count is substantially lower in this window. Committee, nomination, treaty and House roll-call endpoints are not ingested.

Model-written assessment of our own ingestion, generated 2026-11-05 by haiku, prompt version 1, trigger: age-30d. It restates our measured figures and is not official-record content.