Retrieve Congress.gov bill status, actions, and cosponsors via the Congress.gov API v3

domain: api.congress.gov · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Sign up for a free Congress.gov API key at https://api.congress.gov/sign-up/ and store it as the api_key query parameter
  2. List recent bills in a congress: GET https://api.congress.gov/v3/bill/{congress}/{billType}?api_key={key}&limit=20&offset=0&sort=updateDate+desc — billType is hr, s, hjres, sjres, hconres, sconres, or hres
  3. Retrieve the full bill detail including title, sponsors, committees, and latestAction: GET https://api.congress.gov/v3/bill/{congress}/{billType}/{billNumber}?api_key={key}
  4. Fetch all legislative actions ordered chronologically: GET https://api.congress.gov/v3/bill/{congress}/{billType}/{billNumber}/actions?api_key={key}&limit=250
  5. List cosponsors and their party, state, and sponsorship date: GET .../cosponsors?api_key={key}
  6. Retrieve the full text versions and their URLs: GET .../text?api_key={key} — then follow the URL in each version to download the enrolled or engrossed bill text from Congress.gov or GovInfo

Known gotchas

Related routes

Download and parse the GovInfo BILLSTATUS bulk XML feed to monitor congressional bill progress
www.govinfo.gov · 6 steps · unrated
Search Library of Congress digital collections via the loc.gov JSON API
loc.gov · 4 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans