get_house_votes
Retrieve House of Representatives voting records from Congress.gov by specifying congress number, session, roll call number, or date range to access official vote data.
Instructions
Retrieve House vote information from the Congress.gov API. Full documentation for this endpoint -> https://github.com/LibraryOfCongress/api.congress.gov/blob/main/Documentation/HouseRollCallVoteEndpoint.md
Args: congress: Congress number (e.g., 118 for 118th Congress) session: Session number (1 or 2) roll_call_number: Specific roll call vote number 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)
Returns: dict: House vote data from Congress.gov API
Input Schema
Name | Required | Description | Default |
---|---|---|---|
congress | No | ||
from_datetime | No | ||
limit | No | ||
offset | No | ||
roll_call_number | No | ||
session | No | ||
to_datetime | No |