Look up or search US Congressional bills via the Library of...
Look up or search US Congressional bills via the Library of Congress Congress.gov API. Pass congress + type + number to fetch a specific bill (title, sponsors, latest action, action/amendment/committee counts, policy area, congress.gov URL). Or omit number to list bills filtered by congress, bill type (hr | s | hjres | sjres | hconres | sconres | hres | sres), date range, with pagination + sort. Bill type semantics: hr=House Bill, s=Senate Bill, hjres/sjres=joint resolution, hconres/sconres=concurrent resolution, hres/sres=simple resolution.
Request
- Base URL: https://2s.io
- URL: https://2s.io/api/gov/congress-bill
- Auth: API key in header PAYMENT-SIGNATURE
Query parameters
US Congress number (e.g. 118 for the 2023–2025 Congress).
Filter results by type.
Item number or identifier.
From date.
To date.
Field to sort results by.
Maximum number of results to return.
Number of results to skip before returning (pagination offset).
Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.
Response
Changes
No recorded changes to this operation across all 1 revision of this API.