UK Parliament Search Service
Performs search on parliament.uk domain. Implements [OpenSearch specification](https://github.com/dewitt/opensearch). Throttled at 10 requests per second per…
Data & analytics#openapi#open-data
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Performs search on parliament.uk domain. Implements OpenSearch specification. Throttled at 10 requests per second per IP address.
Endpoints 3
Description
- GETOpenSearch description document
/description
Query
- GETSearch results
/query?q=string&start=0.0&count=0.0&subdomains=string&inUrlPrefixes=string - GETSearch results
/query.:extension?q=string&start=0.0&count=0.0&subdomains=string&inUrlPrefixes=string
API details
- Base URL
https://api.parliament.uk/search- Authentication
- None declared in the description
- Operations
- 3 operations on 3 pathsGET 3
- Main resources
- Query 2Description 1
- Response formats
application/opensearchdescription+xml- Description format
- OpenAPI 3.0.1, API version
Live - Links
- Documentation · OpenAPI document · Support
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the UK Parliament Search Service in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the UK Parliament Search Service collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “OpenSearch description document” (GET /description), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the UK Parliament Search Service?
Performs search on parliament.uk domain. Implements [OpenSearch specification](https://github.com/dewitt/opensearch). Throttled at 10 requests per second per… It is listed under Data & analytics and has 3 endpoints.
Who publishes the UK Parliament Search Service?
It is listed from Parliament's public API description (an OpenAPI document), not published by Parliament on Swastik Codes. Anyone who controls parliament.uk can claim the profile by adding a DNS TXT record.
What is the base URL of the UK Parliament Search Service?
Requests go to https://api.parliament.uk/search. Endpoint paths are added to this base URL.
How do I authenticate with the UK Parliament Search Service?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the UK Parliament Search Service have?
3 operations on 3 paths (3 GET). The largest groups are Query, Description.
Is forking the UK Parliament Search Service free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.