c0mm0.com — the continuously verified register of European data

Register record·API·GB·GOVERNMENTVERIFIED · checked 2h ago
C

Commons Votes API

APIProfiled3/7PreviewSubscribe🇬🇧United Kingdom

An API published by UK Parliament that provides access to division (voting) records from the House of Commons. It allows querying of how Members of Parliament voted on specific motions, including vote outcomes, dates, and participating members. The data covers the House of Commons at the national level and is freely accessible without authentication. It can be used to track parliamentary decision-making and individual MPs' voting behaviour over time.An API that allows querying of Commons Votes data.

elections
72
good

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

Data schema (53 fields)

Filterable via the API (10)
divisionIdformatqueryParameters.searchTermqueryParameters.memberIdqueryParameters.includeWhenMemberWasTellerqueryParameters.startDatequeryParameters.endDatequeryParameters.divisionNumberqueryParameters.skipqueryParameters.take
FieldTypeDescription
divisionIdFilterable via the APIDivision idinteger (int32)ID number of the division whose records are returned.Id number of a Division whose records are to be returned
formatFilterable via the APIstringResponse format, either xml or json.xml or json
queryParameters.searchTermFilterable via the APIQuery parameters.search termstringFilters divisions whose title or number contains this term.Divisions containing search term within title or number
queryParameters.memberIdFilterable via the APIQuery parameters.member idinteger (int32)Filters divisions to those where this Member's ID has a voting record.Divisions returning Member with Member ID voting records
queryParameters.includeWhenMemberWasTellerFilterable via the APIQuery parameters.include when member was tellerbooleanIncludes divisions where the member acted as a teller, not just voted.Divisions where member was a teller as well as if they actually voted
queryParameters.startDateFilterable via the APIQuery parameters.start datestring (date-time)Filters divisions dated on or after this date (yyyy-MM-dd).Divisions where division date in one or after date provided. Date format is yyyy-MM-dd
queryParameters.endDateFilterable via the APIQuery parameters.end datestring (date-time)Filters divisions dated on or before this date (yyyy-MM-dd).Divisions where division date in one or before date provided. Date format is yyyy-MM-dd
queryParameters.divisionNumberFilterable via the APIQuery parameters.division numberinteger (int32)Division number as assigned by the House, unique within a session.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
queryParameters.skipFilterable via the APIQuery parameters.skipinteger (int32)Number of records to skip for pagination; default 0.The number of records to skip. Default is 0
queryParameters.takeFilterable via the APIQuery parameters.takeinteger (int32)Number of records to return per page; default 25.The number of records to return per page. Default is 25
DivisionIdPublishedDivisioninteger (int32)Unique system identifier for the division.Unique system identifier for the division.
DatePublishedDivisionstring (date-time)Date on which the division took place.Date on which the division took place.
PublicationUpdatedPublishedDivisionstring (date-time)Date and time the division's published record was last updated.Date and time the division's published record was last updated.
NumberPublishedDivisioninteger (int32)Division number assigned by the House, unique within a session.Division number assigned by the House, unique within a session.
IsDeferredPublishedDivisionbooleanIndicates whether the division was a deferred division.Indicates whether the division was a deferred division.
EVELTypePublishedDivisionstringType of English Votes for English Laws (EVEL) procedure applied to the division.Type of English Votes for English Laws (EVEL) procedure applied to the division.
EVELCountryPublishedDivisionstringCountry to which the EVEL certification of the division applies.Country to which the EVEL certification of the division applies.
TitlePublishedDivisionstringOfficial title of the division.Official title of the division.
AyeCountPublishedDivisioninteger (int32)Total number of Aye votes recorded in the division.Total number of Aye votes recorded in the division.
NoCountPublishedDivisioninteger (int32)Total number of No votes recorded in the division.Total number of No votes recorded in the division.
DoubleMajorityAyeCountPublishedDivisioninteger (int32)Number of Aye votes counted under double-majority rules.Number of Aye votes counted under double-majority rules.
DoubleMajorityNoCountPublishedDivisioninteger (int32)Number of No votes counted under double-majority rules.Number of No votes counted under double-majority rules.
AyeTellersPublishedDivisionarray<object>List of Members who acted as tellers for the Aye vote.List of Members who acted as tellers for the Aye vote.
NoTellersPublishedDivisionarray<object>List of Members who acted as tellers for the No vote.List of Members who acted as tellers for the No vote.
AyesPublishedDivisionarray<object>List of Members who voted Aye in the division.List of Members who voted Aye in the division.
NoesPublishedDivisionarray<object>List of Members who voted No in the division.List of Members who voted No in the division.
FriendlyDescriptionPublishedDivisionstringPlain-language description of the division's subject.Plain-language description of the division's subject.
FriendlyTitlePublishedDivisionstringHuman-readable title of the division.Human-readable title of the division.
NoVoteRecordedPublishedDivisionarray<object>List of Members eligible to vote who did not have a vote recorded.List of Members eligible to vote who did not have a vote recorded.
RemoteVotingStartPublishedDivisionstring (date-time)Date and time remote voting opened for the division.Date and time remote voting opened for the division.
RemoteVotingEndPublishedDivisionstring (date-time)Date and time remote voting closed for the division.Date and time remote voting closed for the division.
MemberIdRecordedMemberinteger (int32)Unique identifier of the Member.Unique identifier of the Member.
NameRecordedMemberstringFull name of the Member.Full name of the Member.
PartyRecordedMemberstringPolitical party of the Member.Political party of the Member.
SubPartyRecordedMemberstringSub-grouping or faction of the Member's party.Sub-grouping or faction of the Member's party.
PartyColourRecordedMemberstringColour code associated with the Member's party.Colour code associated with the Member's party.
PartyAbbreviationRecordedMemberstringAbbreviated form of the Member's party name.Abbreviated form of the Member's party name.
MemberFromRecordedMemberstringConstituency represented by the Member.Constituency represented by the Member.
ListAsRecordedMemberstringName format used to list the Member alphabetically.Name format used to list the Member alphabetically.
ProxyNameRecordedMemberstringName of the person who cast a proxy vote for the Member.Name of the person who cast a proxy vote for the Member.
SearchTermQueryParametersstringFilters divisions whose title or number contains this term.Divisions containing search term within title or number
IncludeWhenMemberWasTellerQueryParametersbooleanIncludes divisions where the member acted as a teller, not just voted.Divisions where member was a teller as well as if they actually voted
StartDateQueryParametersstring (date-time)Filters divisions dated on or after this date (yyyy-MM-dd).Divisions where division date in one or after date provided. Date format is yyyy-MM-dd
EndDateQueryParametersstring (date-time)Filters divisions dated on or before this date (yyyy-MM-dd).Divisions where division date in one or before date provided. Date format is yyyy-MM-dd
DivisionNumberQueryParametersinteger (int32)Division number as assigned by the House, unique within a session.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
PartyNamePartyVoteResultstringName of the political party in this vote result.Name of the political party in this vote result.
VoteCountPartyVoteResultinteger (int32)Number of votes cast by the party in the division.Number of votes cast by the party in the division.
SkipMemberSearchQueryParametersinteger (int32)Number of member records to skip for pagination; default 0.The number of records to skip. Default is 0
TakeMemberSearchQueryParametersinteger (int32)Number of member records to return per page; default 25.The number of records to return per page. Default is 25
MemberVotedAyeMemberVotingRecordbooleanIndicates whether the Member voted Aye.Indicates whether the Member voted Aye.
MemberVotedNoMemberVotingRecordbooleanIndicates whether the Member voted No.Indicates whether the Member voted No.
MemberWasTellerMemberVotingRecordbooleanIndicates whether the Member acted as a teller in this division.Indicates whether the Member acted as a teller in this division.
PublishedDivisionMemberVotingRecordobjectFull published details of the division associated with this voting record.Full published details of the division associated with this voting record.

Schema captured from openapi 23 days ago.

Verification Status

Using the API

Configuration

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

Try the API

GET/data/division/{divisionId}.{format}

Return a Division

GET/data/divisions.{format}/groupedbyparty

Return Divisions results grouped by party

GET/data/divisions.{format}/membervoting

Return voting records for a Member

GET/data/divisions.{format}/search

Return a list of Divisions

GET/data/divisions.{format}/searchTotalResults

Return total results count

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

Endpoints (5)

/data5 endpoints
GET
/data/division/{divisionId}.{format}

Return a Division

GET
/data/divisions.{format}/groupedbyparty

Return Divisions results grouped by party

GET
/data/divisions.{format}/membervoting

Return voting records for a Member

GET
/data/divisions.{format}/search

Return a list of Divisions

GET
/data/divisions.{format}/searchTotalResults

Return total results count

Query examples

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

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

Machine-readable & source

Commons Votes API — live verification badge

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