Congress Member Votes
v0.2.1Congress Member Votes -- how each U.S.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
member_vote_positions
ANSWERS "how did Rep. X vote on bill Y" / "what were X's last 20 votes" / "did X vote against the budget resolution" -- one member's recorded position (Yea, Nay, Present, Not Voting, or not on the roll) on roll calls, newest first -- House members from the U.S. House Clerk's roll-call votes, senators (chamber "senate") from the Congressional Record, where the Senate's roll calls are printed. Filter by `bill` (e.g. "H R 1"), `question_contains` (matched against question, bill number and description) or a roll range. Quorum calls, Speaker elections and Senate rolls whose record could not be deri…
| Parameter | Type | Description |
|---|---|---|
bill | string | Legislation number as the Clerk prints it, e.g. "H R 1", "H J RES 104", "S 2403" (punctuation and spacing ignored; exact match). |
bioguide_id | string | Bioguide id, e.g. "P000197". |
chamber | string | "house" (default) or "senate". The two chambers number their roll calls independently. |
congress | number | Congress number, e.g. 119. Default: the newest held. |
from_roll | number | First roll number to consider. |
include_non_recorded | boolean | Include quorum calls and Speaker-election rolls (default false). |
limit | number | Rolls to return (default 20, max 50). |
name | string | Surname as the Clerk prints it, e.g. "Pelosi"; combine with state when several members share it. |
question_contains | string | Case-insensitive text to match in the vote question, bill number or description, e.g. "suspend the rules", "continuing appropriations". |
session | number | 1 or 2. Default: the newest held for the default Congress. |
state | string | Two-letter state code to disambiguate a surname. |
to_roll | number | Last roll number to consider. |
member_attendance_party_line
ANSWERS "how many votes did Rep. X miss", "how often does X vote with their party", "party unity score" -- attendance and party-line share for ONE member (House, or a senator with chamber "senate") over a session (or a roll range), computed from the U.S. House Clerk's roll-call votes or, for the Senate, the Congressional Record's printed roll calls. Nothing is returned as a bare percentage: attendance gives its denominator (recorded roll calls the member was on the roll for; quorum calls, Speaker elections and Senate rolls that could not be derived are excluded and counted; rolls before the me…
| Parameter | Type | Description |
|---|---|---|
bioguide_id | string | Bioguide id, e.g. "P000197". |
chamber | string | "house" (default) or "senate". The two chambers number their roll calls independently. |
congress | number | Congress number, e.g. 119. Default: the newest held. |
from_roll | number | First roll number of the range (default 1). |
name | string | Surname as the Clerk prints it, e.g. "Pelosi"; combine with state when several members share it. |
session | number | 1 or 2. Default: the newest held for the default Congress. |
state | string | Two-letter state code to disambiguate a surname. |
to_roll | number | Last roll number of the range (default: last roll covered). |
roll_call_positions
ANSWERS "who voted against roll call 100", "how did Texas Republicans split on roll 250", "how many Democrats voted Yea" -- every member's position on ONE roll call (House: the U.S. House Clerk's roll-call votes; Senate: the Congressional Record) with Yea/Nay/Present/Not Voting tallies by party. Pass party (D/R/I), state or position (yea/nay/present/not_voting) to list matching members; with none of these only the tallies and the roll's question, result and bill are returned. A roll number that does not exist in that session returns a named reason.
| Parameter | Type | Description |
|---|---|---|
roll_number * | number | Roll call number within the session, e.g. 100. |
chamber | string | "house" (default) or "senate". The two chambers number their roll calls independently. |
congress | number | Congress number, e.g. 119. Default: the newest held. |
party | string | "D", "R" or "I" to list only that party. |
position | string | yea, nay, present or not_voting. |
session | number | 1 or 2. Default: the newest held for the default Congress. |
state | string | Two-letter state code to list only that state's members. |