Congress.gov bills and members
Library of Congress Congress.gov API: US bills, recent legislative activity and Members of Congress.
No API key needed to call. The provider needs an API key; AgentNative holds it.
- Source
- Congress.gov API (Library of Congress)
- Licence and terms
- No licence statement found; attribution suggested
- Coverage
- United States Congress
- Refresh cadence
- Answers are shared and cached for 3600 seconds.
Questions you can ask
- What is H.R. 1 of the 118th Congress?
- Which bills in Congress were updated most recently?
- Who is the Member of Congress with Bioguide id P000197?
Operations
Look up a US bill
Answers: what is this US bill (title, sponsor, introduced date, latest action, policy area, cosponsor count)? Needs the Congress number, bill type and number.
| congress | required, integer, Congress number, for example 118. |
|---|---|
| bill_type | required, string, hr | s | hjres | sjres | hconres | sconres | hres | sres |
| number | required, integer |
Example: What is H.R. 1 of the 118th Congress?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"congress_gov","operation":"bill_lookup","params":{"congress":118,"bill_type":"hr","number":1}}}Over HTTP
curl '/v1/connectors/congress_gov/bill_lookup?congress=118&bill_type=hr&number=1'Recently updated US bills
Answers: which US bills were updated most recently in Congress, and what was their latest action?
| limit | optional, integer, default 5 |
|---|
Example: Which bills in Congress were updated most recently?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"congress_gov","operation":"recent_bills","params":{"limit":2}}}Over HTTP
curl '/v1/connectors/congress_gov/recent_bills?limit=2'Look up a Member of Congress
Answers: who is this Member of Congress (party, state, district, terms served, current status)? Needs the Bioguide id, for example P000197.
| bioguide_id | required, string, Bioguide id: a letter followed by 6 digits. |
|---|
Example: Who is the Member of Congress with Bioguide id P000197?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"congress_gov","operation":"member_lookup","params":{"bioguide_id":"P000197"}}}Over HTTP
curl '/v1/connectors/congress_gov/member_lookup?bioguide_id=P000197'Source notice
Source: Library of Congress, Congress.gov. Suggested citation: "Data retrieved from Congress.gov." No licence statement was found on the documentation page. Not endorsed by the Library of Congress.