{"@context": "https://schema.org", "@type": "WebAPI", "name": "Members API API", "description": "An API which retrieves Members data.", "provider": {"@type": "Organization", "name": "parliament.uk"}, "documentation": "https://members-api.parliament.uk/swagger/v1/swagger.json"}
An API which retrieves Members data.
Every row below was read from the vendor's own OpenAPI document. The summary text is theirs. What this registry adds is that each operation is indexed with its method, path, base URL and auth scheme, so a search for a capability can answer with a call rather than a name, and that the endpoint is probed on a schedule.
Specifications as held by the APIs.guru corpus, whose newest record is 2023-04-21. Operations the vendor has added since are not listed here; the origin links above are the vendor's own current documents.
base URLs: https://bills-api.parliament.uk http://commonsvotes-api.parliament.uk http://oralquestionsandmotions-api.parliament.uk https://oralquestionsandmotions-api.parliament.uk https://api.parliament.uk/search
find it by capability: POST /search {"query":{"text":"..."}} returns these
operations with their invocation detail. Connect any agent client.
An API which retrieves Members data.
| method | path | what the vendor says it does |
|---|---|---|
GET | /api/Location/Browse/{locationType}/{locationName} | Returns a list of locations, both parent and child Location |
GET | /api/Location/Constituency/Search | Returns a list of constituencies Location |
GET | /api/Location/Constituency/{id} | Returns a constituency by ID Location |
GET | /api/Location/Constituency/{id}/ElectionResult/Latest | Returns latest election result by constituency id Location |
GET | /api/Location/Constituency/{id}/ElectionResult/{electionId} | Returns an election result by constituency and election id Location |
GET | /api/Location/Constituency/{id}/ElectionResults | Returns a list of election results by constituency ID Location |
GET | /api/Location/Constituency/{id}/Geometry | Returns geometry by constituency ID Location |
GET | /api/Location/Constituency/{id}/Representations | Returns a list of representations by constituency ID Location |
GET | /api/Location/Constituency/{id}/Synopsis | Returns a synopsis by constituency ID Location |
GET | /api/LordsInterests/Register | Returns a list of registered interests LordsInterests |
GET | /api/LordsInterests/Staff | Returns a list of staff LordsInterests |
GET | /api/Members/History | Return members by ID with list of their historical names, parties and memberships Members |
GET | /api/Members/Search | Returns a list of current members of the Commons or Lords Members |
GET | /api/Members/SearchHistorical | Returns a list of members of the Commons or Lords Members |
GET | /api/Members/{id} | Return member by ID Members |
GET | /api/Members/{id}/Biography | Return biography of member by ID Members |
GET | /api/Members/{id}/Contact | Return list of contact details of member by ID Members |
GET | /api/Members/{id}/ContributionSummary | Return contribution summary of member by ID Members |
GET | /api/Members/{id}/Edms | Return list of early day motions of member by ID Members |
GET | /api/Members/{id}/Experience | Return experience of member by ID Members |
GET | /api/Members/{id}/Focus | Return list of areas of focus of member by ID Members |
GET | /api/Members/{id}/LatestElectionResult | Return latest election result of member by ID Members |
GET | /api/Members/{id}/Portrait | Return portrait of member by ID Members |
GET | /api/Members/{id}/PortraitUrl | Return portrait url of member by ID Members |
GET | /api/Members/{id}/RegisteredInterests | Return list of registered interests of member by ID Members |
GET | /api/Members/{id}/Staff | Return list of staff of member by ID Members |
GET | /api/Members/{id}/Synopsis | Return synopsis of member by ID Members |
GET | /api/Members/{id}/Thumbnail | Return thumbnail of member by ID Members |
GET | /api/Members/{id}/ThumbnailUrl | Return thumbnail url of member by ID Members |
GET | /api/Members/{id}/Voting | Return list of votes by member by ID Members |
GET | /api/Members/{id}/WrittenQuestions | Return list of written questions by member by ID Members |
GET | /api/Parties/GetActive/{house} | Returns a list of current parties with at least one active member. Parties |
GET | /api/Parties/LordsByType/{forDate} | Returns the composition of the House of Lords by peerage type. Parties |
GET | /api/Parties/StateOfTheParties/{house}/{forDate} | Returns current state of parties Parties |
GET | /api/Posts/Departments/{type} | Returns a list of departments. Posts |
GET | /api/Posts/GovernmentPosts | Returns a list of government posts. Posts |
GET | /api/Posts/OppositionPosts | Returns a list of opposition posts. Posts |
GET | /api/Posts/SpeakerAndDeputies/{forDate} | Returns a list containing the speaker and deputy speakers. Posts |
GET | /api/Posts/Spokespersons | Returns a list of spokespersons. Posts |
GET | /api/Reference/AnsweringBodies | Returns a list of answering bodies. Reference |
and 3 more operation(s) in this specification, all searchable.
specification origin: https://members-api.parliament.uk/swagger/v1/swagger.json
API to get and search for information regarding Bills, their stages, associated amendments and publications.
| method | path | what the vendor says it does |
|---|---|---|
GET | /api/v1/BillTypes | Returns a list of Bill types. BillTypes |
GET | /api/v1/Bills | Returns a list of Bills. Bills |
GET | /api/v1/Bills/{billId} | Return a Bill. Bills |
GET | /api/v1/Bills/{billId}/NewsArticles | Returns a list of news articles for a Bill. BillNews |
GET | /api/v1/Bills/{billId}/Publications | Return a list of Bill publications. Publications |
GET | /api/v1/Bills/{billId}/Stages | Returns all Bill stages. Bills |
GET | /api/v1/Bills/{billId}/Stages/{billStageId} | Returns a Bill stage. Bills |
GET | /api/v1/Bills/{billId}/Stages/{billStageId}/Amendments | Returns a list of amendments. Amendments |
GET | /api/v1/Bills/{billId}/Stages/{billStageId}/Amendments/{amendmentId} | Returns an amendment. Amendments |
GET | /api/v1/Bills/{billId}/Stages/{stageId}/Publications | Return a list of Bill stage publications. Publications |
GET | /api/v1/PublicationTypes | Returns a list of publication types. PublicationTypes |
GET | /api/v1/Publications/{publicationId}/Documents/{documentId} | Return information on a document. Documents |
GET | /api/v1/Publications/{publicationId}/Documents/{documentId}/Download | Return a document. Documents |
GET | /api/v1/Rss/Bills/{id}.rss | Returns an Rss feed of a certain Bill. Rss |
GET | /api/v1/Rss/allbills.rss | Returns an Rss feed of all Bills. Rss |
GET | /api/v1/Rss/privatebills.rss | Returns an Rss feed of private Bills. Rss |
GET | /api/v1/Rss/publicbills.rss | Returns an Rss feed of public Bills. Rss |
GET | /api/v1/Sittings | Returns a list of Sittings. Sittings |
GET | /api/v1/Stages | Returns a list of Bill stages. Stages |
specification origin: https://bills-api.parliament.uk/swagger/v1/swagger.json
An API that allows querying of Erskine May data.
| method | path | what the vendor says it does |
|---|---|---|
GET | /api/Chapter/{chapterNumber} | Returns a single chapter overview by chapter number. Chapter |
GET | /api/IndexTerm/browse | Returns a list of index terms by start letter. IndexTerm |
GET | /api/IndexTerm/{indexTermId} | Returns an index term by id. IndexTerm |
GET | /api/Part | Returns a list of all parts. Part |
GET | /api/Part/{partNumber} | Returns a part by part number. Part |
GET | /api/Search/IndexTermSearchResults/{searchTerm} | Returns a list of index terms which contain the search term. Search |
GET | /api/Search/Paragraph/{reference} | Returns a section overview by reference. Search |
GET | /api/Search/ParagraphSearchResults/{searchTerm} | Returns a list of paragraphs which contain the search term. Search |
GET | /api/Search/SectionSearchResults/{searchTerm} | Returns a list of sections which contain the search term. Search |
GET | /api/Section/{sectionId} | Returns a section by section id. Section |
GET | /api/Section/{sectionId},{step} | Returns a section overview by section id and step. Section |
specification origin: https://erskinemay-api.parliament.uk/swagger/v1/swagger.json
An API exposing details of the various types of Statutory Instruments laid before Parliament.
| method | path | what the vendor says it does |
|---|---|---|
GET | /api/v1/BusinessItem/{id} | Returns business item by ID. BusinessItem |
GET | /api/v1/LayingBody | Returns all laying bodies. LayingBody |
GET | /api/v1/Procedure | Returns all procedures. Procedure |
GET | /api/v1/Procedure/{id} | Returns procedure by ID. Procedure |
GET | /api/v1/ProposedNegativeStatutoryInstrument | Returns a list of proposed negative statutory instruments. ProposedNegativeStatutoryInstrument |
GET | /api/v1/ProposedNegativeStatutoryInstrument/{id} | Returns proposed negative statutory instrument by ID. ProposedNegativeStatutoryInstrument |
GET | /api/v1/ProposedNegativeStatutoryInstrument/{id}/BusinessItems | Returns business items belonging to a proposed negative statutory instrument. ProposedNegativeStatutoryInstrum |
GET | /api/v1/StatutoryInstrument | Returns a list of statutory instruments. StatutoryInstrument |
GET | /api/v1/StatutoryInstrument/{id} | Returns a statutory instrument by ID. StatutoryInstrument |
GET | /api/v1/StatutoryInstrument/{id}/BusinessItems | Returns business items belonging to statutory instrument with ID. StatutoryInstrument |
specification origin: https://statutoryinstruments-api.parliament.uk/swagger/v1/swagger.json
Data around written questions and answers, as well as written ministerial statements.
| method | path | what the vendor says it does |
|---|---|---|
GET | /api/dailyreports/dailyreports | Returns a list of daily reports DailyReports |
GET | /api/writtenquestions/questions | Returns a list of written questions WrittenQuestions |
GET | /api/writtenquestions/questions/{date}/{uin} | Returns a written question WrittenQuestions |
GET | /api/writtenquestions/questions/{id} | Returns a written question WrittenQuestions |
GET | /api/writtenstatements/statements | Returns a list of written statements WrittenStatements |
GET | /api/writtenstatements/statements/{date}/{uin} | Returns a written statemnet WrittenStatements |
GET | /api/writtenstatements/statements/{id} | Returns a written statement WrittenStatements |
specification origin: https://writtenquestions-api.parliament.uk/swagger/v1/swagger.json
An API exposing details of the treaties laid before Parliament.
| method | path | what the vendor says it does |
|---|---|---|
GET | /api/BusinessItem/{id} | Returns business item by ID. BusinessItem |
GET | /api/GovernmentOrganisation | Returns all government organisations. GovernmentOrganisation |
GET | /api/SeriesMembership | Returns all series memberships. SeriesMembership |
GET | /api/Treaty | Returns a list of treaties. Treaty |
GET | /api/Treaty/{id} | Returns a treaty by ID. Treaty |
GET | /api/Treaty/{id}/BusinessItems | Returns business items belonging to the treaty with ID. Treaty |
specification origin: https://treaties-api.parliament.uk/swagger/v1/swagger.json
An API that allows querying of Commons Votes data.
| method | path | what the vendor says it does |
|---|---|---|
GET | /data/division/{divisionId}.{format} | Return a Division Single Division which has the specified Id Divisions |
GET | /data/divisions.{format}/groupedbyparty | Return Divisions results grouped by party Division results which meet the specified criteria grouped by partie |
GET | /data/divisions.{format}/membervoting | Return voting records for a Member List of voting records for a member which meet the specified criteria. Divi |
GET | /data/divisions.{format}/search | Return a list of Divisions List of Divisions which meet the specified criteria Divisions |
GET | /data/divisions.{format}/searchTotalResults | Return total results count Total count of Divisions meeting the specified criteria Divisions |
specification origin: https://commonsvotes-api.parliament.uk/swagger/docs/v1
An API that allows querying of Lords Votes data.
| method | path | what the vendor says it does |
|---|---|---|
GET | /data/Divisions/groupedbyparty | Return Divisions results grouped by party Get a list of Divisions which contain grouped by party Divisions |
GET | /data/Divisions/membervoting | Return voting records for a Member Get a list of voting records for a Member. Divisions |
GET | /data/Divisions/search | Return a list of Divisions Get a list of Divisions which meet the specified criteria. Divisions |
GET | /data/Divisions/searchTotalResults | Return total results count Get total count of Divisions meeting the specified query, useful for paging lists e |
GET | /data/Divisions/{divisionId} | Return a Division Get a single Division which has the Id specified. Divisions |
specification origin: https://lordsvotes-api.parliament.uk/swagger/v1/swagger.json
An API that allows querying all tabled oral and written questions, and motions for the House of Commons.
| method | path | what the vendor says it does |
|---|---|---|
GET | /EarlyDayMotion/{id} | Returns a single Early Day Motion by ID Get a single Early Day Motion which has the ID specified. Early Day Mo |
GET | /EarlyDayMotions/list | Returns a list of Early Day Motions Get a list of Early Day Motions which meet the specified criteria. Only su |
GET | /oralquestions/list | Returns a list of oral questions A list of oral questions meeting the specified criteria. Oral Questions |
GET | /oralquestiontimes/list | Returns a list of oral question times A list of oral question times meeting the specified criteria. Oral Quest |
specification origin: https://oralquestionsandmotions-api.parliament.uk/swagger/docs/v1
Performs search on parliament.uk domain. Implements [OpenSearch specification](https://github.com/dewitt/opensearch). Throttled at 10 requests per second per IP address.
| method | path | what the vendor says it does |
|---|---|---|
GET | /description | OpenSearch description document Description |
GET | /query | Search results Query |
GET | /query.{extension} | Search results Query |
specification origin: https://api.parliament.uk/search/openapi.json
Get data from the annunciator system.
| method | path | what the vendor says it does |
|---|---|---|
GET | /api/Message/message/{annunciator}/current | Return the current message by annunciator type Message |
GET | /api/Message/message/{annunciator}/{date} | Return the most recent message by annunciator after date time specified Message |
specification origin: https://now-api.parliament.uk/swagger/v1/swagger.json
nothing on this page is a rating, an endorsement or a claim about quality. Reachability is what our probes observed from one network; answering is a floor under usefulness, not a measure of it.