c0mm0.com — the continuously verified register of European data

Register record·API·GB·GOVERNMENTVERIFIED · checked 6h ago
L

Lords Votes API

APIProfiled3/7PreviewSubscribe🇬🇧United Kingdom

An API providing access to House of Lords voting records, published by UK Parliament. It allows querying of division (vote) data from the Lords, including how members voted on specific motions and questions. The service is freely accessible without authentication and covers the national UK legislative scope. It can be used to track voting patterns and outcomes within the House of Lords over time.An API that allows querying of Lords Votes data.

elections
OpenAPI specAPI base URLVisit homepage
74
good

Weighted across five axes. Tap a ring for what it measures.

Data schema (55 fields)

Filterable via the API (13)
divisionIdSearchTermMemberIdIncludeWhenMemberWasTellerStartDateEndDateDivisionNumberTotalVotesCast.ComparatorTotalVotesCast.ValueToCompareMajority.ComparatorMajority.ValueToCompareskiptake
FieldTypeDescription
divisionIdFilterable via the APIDivision idinteger (int32)Unique identifier of the division.Division with ID specified
SearchTermFilterable via the APISearch termstringText used to search or filter divisions.Text used to search or filter divisions.
MemberIdFilterable via the APIMember idinteger (int32)Identifier of the member to filter results by.Identifier of the member to filter results by.
IncludeWhenMemberWasTellerFilterable via the APIInclude when member was tellerbooleanWhether to include votes where the member acted as a teller.Whether to include votes where the member acted as a teller.
StartDateFilterable via the APIStart datestring (date-time)Start of the date range to filter divisions.Start of the date range to filter divisions.
EndDateFilterable via the APIEnd datestring (date-time)End of the date range to filter divisions.End of the date range to filter divisions.
DivisionNumberFilterable via the APIDivision numberinteger (int32)Sequential number identifying the division.Sequential number identifying the division.
TotalVotesCast.ComparatorFilterable via the APITotal votes cast.comparatorstringComparison operator applied to the total votes cast filter.Comparison operator applied to the total votes cast filter.
TotalVotesCast.ValueToCompareFilterable via the APITotal votes cast.value to compareinteger (int32)Value compared against the total number of votes cast.Value compared against the total number of votes cast.
Majority.ComparatorFilterable via the APIstringComparison operator applied to the majority filter.Comparison operator applied to the majority filter.
Majority.ValueToCompareFilterable via the APIMajority.value to compareinteger (int32)Value compared against the division's majority.Value compared against the division's majority.
skipFilterable via the APIinteger (int32)Number of records to skip. Must be a positive integer. Default is 0.The number of records to skip. Must be a positive integer. Default is 0
takeFilterable via the APIinteger (int32)Number of records to return per page. Must be more than 0. Default is 25.The number of records to return per page. Must be more than 0. Default is 25
numberDivisionGroupByPartyViewModelinteger (int32)Division number for this group-by-party result.Division number for this group-by-party result.
titleDivisionGroupByPartyViewModelstringTitle of the division.Title of the division.
dateDivisionGroupByPartyViewModelstring (date-time)Date the division took place.Date the division took place.
contentCountDivisionGroupByPartyViewModelinteger (int32)Total number of Content votes recorded.Total number of Content votes recorded.
notContentCountDivisionGroupByPartyViewModelinteger (int32)Total number of Not Content votes recorded.Total number of Not Content votes recorded.
contentDivisionGroupByPartyViewModelarray<object>List of members or parties who voted Content.List of members or parties who voted Content.
notContentDivisionGroupByPartyViewModelarray<object>List of members or parties who voted Not Content.List of members or parties who voted Not Content.
notesDivisionViewModelstringAdditional notes about the division.Additional notes about the division.
isWhippedDivisionViewModelbooleanWhether the division was subject to a party whip.Whether the division was subject to a party whip.
isGovernmentContentDivisionViewModelbooleanWhether the government position was Content.Whether the government position was Content.
authoritativeContentCountDivisionViewModelinteger (int32)Official Content count, using teller counts if tellers were present, otherwise member counts.Authoritative content count is the official count. This is the teller content count when tellers are present, but member content count when there are no tellers.
authoritativeNotContentCountDivisionViewModelinteger (int32)Official Not Content count, using teller counts if tellers were present, otherwise member counts.Authoritative not content count is the official count. This is the teller not content count when tellers are present, but member not content count when there are no tellers.
divisionHadTellersDivisionViewModelbooleanWhether the division had tellers.Whether the division had tellers or not
tellerContentCountDivisionViewModelinteger (int32)Content count as recorded by the tellers.Content count is count recorded by the tellers
tellerNotContentCountDivisionViewModelinteger (int32)Not Content count as recorded by the tellers.Not Content count recorded by the tellers
memberContentCountDivisionViewModelinteger (int32)Total tally of members who voted Content.Member content count is the total tally of all members that voted content
memberNotContentCountDivisionViewModelinteger (int32)Total tally of members who voted Not Content.Member not content count is the total tally of all members that voted not content
sponsoringMemberIdDivisionViewModelinteger (int32)Identifier of the member who sponsored the division.Identifier of the member who sponsored the division.
isHouseDivisionViewModelbooleanWhether the division was a House division.Whether the division was a House division.
isInquorateDivisionViewModelbooleanWhether the division failed to meet the required quorum.Whether the division failed to meet the required quorum.
amendmentMotionNotesDivisionViewModelstringNotes relating to the amendment or motion being voted on.Notes relating to the amendment or motion being voted on.
isGovernmentWinDivisionViewModelbooleanWhether the outcome favoured the government's position.Whether the outcome favoured the government's position.
remoteVotingStartDivisionViewModelstring (date-time)Start time of the remote voting window.Start time of the remote voting window.
remoteVotingEndDivisionViewModelstring (date-time)End time of the remote voting window.End time of the remote voting window.
divisionWasExclusivelyRemoteDivisionViewModelbooleanWhether the division was conducted entirely by remote voting.Whether the division was conducted entirely by remote voting.
contentTellersDivisionViewModelarray<object>List of tellers for the Content side.List of tellers for the Content side.
notContentTellersDivisionViewModelarray<object>List of tellers for the Not Content side.List of tellers for the Not Content side.
contentsDivisionViewModelarray<object>List of members who voted Content.List of members who voted Content.
notContentsDivisionViewModelarray<object>List of members who voted Not Content.List of members who voted Not Content.
memberIdMemberViewModelinteger (int32)Unique identifier of the member.Unique identifier of the member.
nameMemberViewModelstringFull name of the member.Full name of the member.
listAsMemberViewModelstringName used for listing the member alphabetically.Name used for listing the member alphabetically.
memberFromMemberViewModelstringTitle or peerage location associated with the member.Title or peerage location associated with the member.
partyMemberViewModelstringFull name of the member's political party.Full name of the member's political party.
partyColourMemberViewModelstringColour code associated with the member's party.Colour code associated with the member's party.
partyAbbreviationMemberViewModelstringAbbreviated name of the member's party.Abbreviated name of the member's party.
partyIsMainPartyMemberViewModelbooleanWhether the party is classed as a main party.Whether the party is classed as a main party.
memberWasContentMemberVotingRecordViewModelbooleanWhether the member voted Content.Whether the member voted Content.
memberWasTellerMemberVotingRecordViewModelbooleanWhether the member acted as a teller.Whether the member acted as a teller.
publishedDivisionMemberVotingRecordViewModelobjectDetails of the division this voting record relates to.Details of the division this voting record relates to.
partyNamePartyVoteResultViewModelstringName of the party for this vote result.Name of the party for this vote result.
voteCountPartyVoteResultViewModelinteger (int32)Number of votes cast by the party.Number of votes cast by the party.

Schema captured from openapi 23 days ago.

Verification Status

Using the API

Configuration

Base URL
https://lordsvotes-api.parliament.uk
Version
v1
Format
openapi
Endpoints
5

Try the API

GET/data/Divisions/{divisionId}

Return a Division

GET/data/Divisions/searchTotalResults

Return total results count

GET/data/Divisions/search

Return a list of Divisions

GET/data/Divisions/membervoting

Return voting records for a Member

GET/data/Divisions/groupedbyparty

Return Divisions results grouped by party

Requests are proxied through our servers. Only GET endpoints are testable.

Endpoints (5)

/data5 endpoints
GET
/data/Divisions/{divisionId}

Return a Division

GET
/data/Divisions/searchTotalResults

Return total results count

GET
/data/Divisions/search

Return a list of Divisions

GET
/data/Divisions/membervoting

Return voting records for a Member

GET
/data/Divisions/groupedbyparty

Return Divisions results grouped by party

Query examples

curl -s 'https://lordsvotes-api.parliament.uk/swagger/v1/swagger.json' -H 'Accept: application/json'

Machine-readable API description (use it to generate clients).

Machine-readable & source

Lords Votes API — live verification badge

Embed this badge in a README or wiki — it always shows the latest verification state and quality tier.