Skip to main content
POST
Vote

Request contract

  • Method and path: POST /apis/v1/clerk-house-gov/legislative-votes/vote
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/clerk-house-gov/legislative-votes/vote
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
congress
number

Congress number (101 = 1989-1990, 119 = 2025-2026). Required unless url is given.

Provider reference: minimum 101; maximum 200.

party
string

Keep only members of this party as coded by the Clerk (D, R, I).

Provider reference: allowed values ["D", "R", "I"].

position
string

Keep only members who voted this way. Yea-and-nay votes use Yea/Nay; recorded votes use Aye/No; the value is matched exactly as the Clerk records it.

Provider reference: allowed values ["Yea", "Nay", "Aye", "No", "Present", "Not Voting"].

roll
number

Roll call number within the session. Required unless url is given.

Provider reference: minimum 1; maximum 9999.

session
number

Session of the congress: 1 (odd year) or 2 (even year). Required unless url is given.

Provider reference: minimum 1; maximum 2.

state
string

Keep only members from this two-letter state or territory postal code (e.g. NY). Pattern: ^[A-Za-z]{2}$.

url
string

Alternative to congress/session/roll: a clerk.house.gov vote URL such as https://clerk.house.gov/Votes/2025145 or https://clerk.house.gov/evs/2025/roll145.xml ({year}{roll} or {year}/roll{roll}).

Response

One House roll call vote by congress, session and roll call number: question, legislation, type, result, date and time, totals by party and overall, and each member's recorded position keyed by Bioguide ID (optionally filtered by state, party or position). Read from the Clerk's roll call XML at /evs/{year}/roll{nnn}.xml; the year is derived from congress and session and cross-checked against the document.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.