List Votes
list_votesVoting records (roll-calls) — sourced directly from official chamber publications. Replaces list_votes + list_bill_votes + list_actor_votes: pass bill_id and/or actor_id to scope to one bill/actor (freely combinable), or neither for a raw cross-country feed. Most votes have no linked bill; project_information is their text context.
country_code is comma-separated (e.g. BR,CO); omit for every accessible/your default country. Use since/until (YYYY-MM-DD) for 'votes this week' type questions — they filter on recorded_at (when the vote row was captured), not vote_date (only ~20% populated). commission_id narrows to votes on a bill that passed through that commission (use list_commissions(country_code=...) to discover valid IDs) — excludes the ~79.5% of votes with no linked bill at all; for 'what did commission X decide this week' prefer list_bill_updates(commission_id=...), which covers tramitaciones too, not just roll-calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows per page (1-100, default 20). The response's `meta.has_more` and `meta.next_cursor` tell you whether there are more. `meta.total`, when it is not null, is the full count without paging; some lists return null rather than pay for a count. Raise the limit when you genuinely need a whole list in one call rather than the most relevant few. | |
| since | No | Filters recorded_at (when the vote row was captured), NOT vote_date, which is only ~20% populated. | |
| until | No | Upper bound on recorded_at (YYYY-MM-DD). | |
| cursor | No | Opaque pagination cursor from a previous response's `meta.next_cursor`. Pass every other filter unchanged when paging. Only ever use a cursor this API handed you — never build one. With `q`, a cursor continues the keyword listing (`meta.mode: "keyword_fallback"`): relevance-ranked results are a single page of at most 20 rows and report `has_more: false`, so if you got one there is no next page to ask for, and a `limit` above 20 adds nothing to it. Narrow `q` instead of paging. | |
| bill_id | No | Scope to votes cast on this bill. Freely combinable with actor_id. | |
| actor_id | No | Scope to votes cast by this legislator. Freely combinable with bill_id. | |
| country_code | No | ISO alpha-2 country codes, comma-separated or as a list: 'BR,CO' or ['BR','CO']. Pass 'all' for every country you can access. Omitting it is NOT the same as 'all': logged in via OAuth it falls back to your own default country, and the response says so in `meta.country_scope`. | |
| commission_id | No | Votes on bills that passed through this commission. ⚠️ Excludes the ~79.5% of votes with no linked bill at all — for 'what did commission X decide this week' prefer list_bill_updates(commission_id=...). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||