The Lords Votes API provides read‑only access to House of Lords division (vote) data, allowing users to search and retrieve individual division details, obtain a member's voting records, and get division results grouped by party, with support for date, division number, vote count, and majority filters as well as pagination.
SearchTerm(query) — Divisions containing search term within title or number
MemberId(query) — Divisions returning Member with Member ID voting records
IncludeWhenMemberWasTeller(query) — Divisions where member was a teller as well as if they actually voted
StartDate(query) — Divisions where division date in one or after date provided. Date format is yyyy-MM-dd
EndDate(query) — Divisions where division date in one or before date provided. Date format is yyyy-MM-dd
DivisionNumber(query) — Division Number - as specified by the House, unique within a session. This is different to the division id which uniquely identifies a division in this system and is passed to the GET division endpoint
TotalVotesCast.Comparator(query) — comparison operator to use
TotalVotesCast.ValueToCompare(query) — value to compare to with the operator provided
Majority.Comparator(query) — comparison operator to use
Majority.ValueToCompare(query) — value to compare to with the operator provided
GET
/data/Divisions/membervoting
Return voting records for a Member
MemberId(query, required) — Id number of a Member whose voting records are to be returned
SearchTerm(query) — Divisions containing search term within title or number
IncludeWhenMemberWasTeller(query) — Divisions where member was a teller as well as if they actually voted
StartDate(query) — Divisions where division date in one or after date provided. Date format is yyyy-MM-dd
EndDate(query) — Divisions where division date in one or before date provided. Date format is yyyy-MM-dd
DivisionNumber(query) — Division Number - as specified by the House, unique within a session. This is different to the division id which uniquely identifies a division in this system and is passed to the GET division endpoint
TotalVotesCast.Comparator(query) — comparison operator to use
TotalVotesCast.ValueToCompare(query) — value to compare to with the operator provided
Majority.Comparator(query) — comparison operator to use
Majority.ValueToCompare(query) — value to compare to with the operator provided
skip(query, offset) — The number of records to skip. Must be a positive integer. Default is 0
take(query) — The number of records to return per page. Must be more than 0. Default is 25
GET
/data/Divisions/search
Return a list of Divisions
SearchTerm(query) — Divisions containing search term within title or number
MemberId(query) — Divisions returning Member with Member ID voting records
IncludeWhenMemberWasTeller(query) — Divisions where member was a teller as well as if they actually voted
StartDate(query) — Divisions where division date in one or after date provided. Date format is yyyy-MM-dd
EndDate(query) — Divisions where division date in one or before date provided. Date format is yyyy-MM-dd
DivisionNumber(query) — Division Number - as specified by the House, unique within a session. This is different to the division id which uniquely identifies a division in this system and is passed to the GET division endpoint
TotalVotesCast.Comparator(query) — comparison operator to use
TotalVotesCast.ValueToCompare(query) — value to compare to with the operator provided
Majority.Comparator(query) — comparison operator to use
Majority.ValueToCompare(query) — value to compare to with the operator provided
skip(query, offset) — The number of records to skip. Must be a positive integer. Default is 0
take(query) — The number of records to return per page. Must be more than 0. Default is 25
GET
/data/Divisions/searchTotalResults
Return total results count
SearchTerm(query) — Divisions containing search term within title or number
MemberId(query) — Divisions returning Member with Member ID voting records
IncludeWhenMemberWasTeller(query) — Divisions where member was a teller as well as if they actually voted
StartDate(query) — Divisions where division date in one or after date provided. Date format is yyyy-MM-dd
EndDate(query) — Divisions where division date in one or before date provided. Date format is yyyy-MM-dd
DivisionNumber(query) — Division Number - as specified by the House, unique within a session. This is different to the division id which uniquely identifies a division in this system and is passed to the GET division endpoint
TotalVotesCast.Comparator(query) — comparison operator to use
TotalVotesCast.ValueToCompare(query) — value to compare to with the operator provided
Majority.Comparator(query) — comparison operator to use
Majority.ValueToCompare(query) — value to compare to with the operator provided
GET
/data/Divisions/{divisionId}
Return a Division
divisionId(path, required) — Division with ID specified
5 endpoints auto-detected
curl -X GET \
"https://www.parliament.uk//data/Divisions/groupedbyparty"