get_summaries
Retrieve bill summaries from the Congress.gov API to track legislative activity by congress, bill type, and date range.
Instructions
Retrieve bill summaries from the Congress.gov API. Full documentation for this endpoint -> https://github.com/LibraryOfCongress/api.congress.gov/blob/main/Documentation/SummariesEndpoint.md
Args: congress: Congress number (e.g., 118 for 118th Congress) bill_type: Type of bill - hr: House of Representatives Bill - s: Senate Bill - hjres: House Joint Resolution - sjres: Senate Joint Resolution - hconres: House Concurrent Resolution - sconres: Senate Concurrent Resolution - hres: House Simple Resolution - sres: Senate Simple Resolution offset: Starting record (default 0) limit: Maximum records to return (max 250, default 20) from_datetime: Start timestamp (YYYY-MM-DDTHH:MM:SSZ format) to_datetime: End timestamp (YYYY-MM-DDTHH:MM:SSZ format) sort: Sort order ('updateDate+asc' or 'updateDate+desc')
Returns: dict: Summary data from Congress.gov API
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bill_type | No | ||
congress | No | ||
from_datetime | No | ||
limit | No | ||
offset | No | ||
sort | No | updateDate+desc | |
to_datetime | No |