Search Parliamentary Divisions
votes_search_divisionsUSE THIS TOOL WHEN searching Commons or Lords formal votes by topic, date, or member.
Instructions
USE THIS TOOL WHEN searching Commons or Lords formal votes by topic, date, or member.
Returns one page of division summaries (title, date, vote counts,
pass/fail) plus total, the source's count of all matching divisions.
While has_more is true, re-call with offset=offset+returned. AFTER
calling, pass division_id + house into votes_get_division for the full
member-by-member voter lists.
Authoritative source for UK parliamentary vote records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| house | No | Which house to search. | Commons |
| limit | No | Maximum divisions to return. Default 25. The Lords API honours up to 100; the Commons API returns at most 25 per call, so page by `returned`, not `limit`. | |
| query | No | Search term for division titles, e.g. 'Rwanda' or 'Online Safety Bill'. Omit to browse recent divisions. | |
| offset | No | Number of divisions to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true. | |
| to_date | No | End date (YYYY-MM-DD). | |
| from_date | No | Start date (YYYY-MM-DD). | |
| member_id | No | Filter to divisions where this member voted. Get the member ID from parliament_find_member. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| house | Yes | Commons or Lords | |
| limit | No | Page size requested (the Commons API returns at most 25 regardless) | |
| query | No | The search term, if any (None = browse recent) | |
| total | Yes | Total divisions matching the filters, from the source API's searchTotalResults count | |
| offset | No | Skip applied to this page | |
| has_more | No | True if divisions beyond this page exist (offset + returned < total) | |
| returned | Yes | Number of divisions returned in this call | |
| divisions | No | Matching divisions. Use the integer `id` field with votes_get_division to fetch the full voter list. |