KeyVex Roll Call Votes API
The Roll Call Votes API from KeyVex — 1 operation(s) for roll call votes.
The Roll Call Votes API from KeyVex — 1 operation(s) for roll call votes.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/keyvex-com:keyvex-com-roll-call-votes-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: KeyVex Roll Call Votes API
version: 0.102.0
termsOfService: https://keyvex.com/terms
description: 'US public financial-disclosure data — congressional trades, insider filings (Form 4), lobbying, Treasury auctions, member profiles. Requires an API key — create a free one at https://keyvex.com and send it as the header `x-api-key: `. A free key returns most public-record datasets (one year of history; no market-price data and a few heavy datasets are on paid plans only), capped at 60 requests/day; paid plans raise the caps. The daily allowance resets at midnight Eastern.'
servers:
- url: https://api.keyvex.com
security:
- ApiKeyAuth: []
tags:
- name: Roll Call Votes
paths:
/v1/roll-call-votes:
get:
operationId: get_roll_call_votes
summary: Returns congressional roll-call vote metadata (House + Senate) from…
description: 'Returns congressional roll-call vote metadata (House + Senate) from api.congress.gov. Use this when the user asks about: recent votes in either chamber, votes on a specific bill, votes by date range, or to chain to per-member positions via the source_data_url. Sources: api.congress.gov v3 for House votes; senate.gov XML (legislative/LIS/roll_call_lists/) for Senate votes — joined into one collection. While senate.gov refuses our requests, newly cast Senate votes may come from Voteview, labelled source ''voteview'' with a source_citation and a source_note (the Senate''s question text and document links are missing), and are replaced by the senate.gov record when the Senate answers again. Captures roll-call (recorded) votes only — voice votes and unanimous-consent passages aren''t roll calls and don''t appear here. v1A returns vote-level metadata: chamber, roll call number, vote type, result, the legislation being voted on (linked via bill_id), and links to the Clerk''s authoritative XML data. Per-member positions (yea/nay/present/not voting per bioguide_id) live in the XML at source_data_url; agents fetch that directly when they need member detail. v1.1 will add a separate roll_call_member_votes tool/ collection for queryable per-member positions. Vote identifiers are stable composite keys: ''{chamber}-{congress}- {session}-{rcNumber}'', e.g., ''house-119-1-240'' or ''senate-119-1-15''. Common vote_type values: ''Yea-And-Nay'' (regular recorded vote), ''2/3 Yea-And-Nay'' (suspension of rules, requires 2/3 majority), ''Recorded Vote'', ''Quorum''. Common result values: ''Passed'', ''Failed'', ''Agreed to'', ''Rejected'', ''Motion Agreed To'', ''Motion Failed''. When a vote is on a bill, legislation_type + legislation_number are populated and bill_id is set to the composite key — use that to join to get_bills. For procedural votes (motion to recommit, motion to adjourn, etc.), those fields may be empty. Amendment + Senate detail: House votes ON AN AMENDMENT carry amendment_number, amendment_author (sponsor + label), and amendment_type (e.g. ''HAMDT''). Senate votes carry vote_title (descriptive title — e.g. a confirmation or motion), measure (the specific measure a question references, e.g. ''S.Amdt. 5740''), and en_bloc_matters[] (one {issue, question, result} per matter when a batch of nominations is decided en bloc). All are empty / [] where not applicable.'
parameters:
- name: vote_id
in: query
required: false
description: Composite vote identifier ('{chamber}-{congress}-{session}-{rcNumber}', e.g., 'house-119-1-240'). Direct doc lookup, fastest path.
schema:
type: string
- name: congress
in: query
required: false
description: Congress number (e.g., 119).
schema:
type: integer
- name: session_number
in: query
required: false
description: Session within the Congress. Session 1 = first calendar year of the Congress; Session 2 = second year.
schema:
type: integer
enum:
- 1
- 2
- name: chamber
in: query
required: false
description: Filter to House or Senate roll calls.
schema:
type: string
enum:
- house
- senate
- name: bill_id
in: query
required: false
description: Filter to votes on a specific bill (composite key like '119-HR-134'). Use to chain a bill lookup → votes on that bill.
schema:
type: string
- name: legislation_type
in: query
required: false
description: Filter to votes on a specific legislation type.
schema:
type: string
enum:
- HR
- S
- HRES
- SRES
- HJRES
- SJRES
- HCONRES
- SCONRES
- name: result
in: query
required: false
description: Substring match against result text (e.g., 'passed', 'failed', 'agreed').
schema:
type: string
- name: since
in: query
required: false
description: Vote-start date lower bound (ISO YYYY-MM-DD inclusive).
schema:
type: string
- name: until
in: query
required: false
description: Vote-start date upper bound (ISO YYYY-MM-DD inclusive).
schema:
type: string
- name: sort_by
in: query
required: false
description: 'Default: start_date (most recent votes first).'
schema:
type: string
enum:
- start_date
- update_date
- name: sort_order
in: query
required: false
description: 'Default: desc.'
schema:
type: string
enum:
- asc
- desc
- name: limit
in: query
required: false
description: Maximum votes to return. Default 50, max 500.
schema:
type: integer
responses:
'200':
description: 'JSON envelope: { results: [...], count, has_more }.'
'400':
description: Invalid parameter.
'401':
description: Missing or invalid API key.
'402':
description: This tool requires a higher plan (upgrade_required). Retrying will not help.
'429':
description: Tier rate/quota limit reached (rate_limited). Retry-After points at the reset.
tags:
- Roll Call Votes
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: x-api-key