parliament.uk

An API that allows querying all tabled oral and written questions, and motions for the House of Commons.

4 endpoints open_data
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (2 total)

pip install the_parliament_crew_ai
pip install ckan-parliament-uk
curl examples
Returns a list of oral questions
curl \
  http://oralquestionsandmotions-api.parliament.uk/oralquestions/list
Returns a single Early Day Motion by ID
curl \
  http://oralquestionsandmotions-api.parliament.uk/EarlyDayMotion/{id}
Returns a list of Early Day Motions
curl \
  http://oralquestionsandmotions-api.parliament.uk/EarlyDayMotions/list
Endpoints (4 total)
GET
/oralquestions/list
Returns a list of oral questions
GET
/EarlyDayMotion/{id}
Returns a single Early Day Motion by ID
GET
/EarlyDayMotions/list
Returns a list of Early Day Motions
GET
/oralquestiontimes/list
Returns a list of oral question times
Language coverage
Python
2
At a glance
Total SDKs2
Languages1
Endpoints4
Categories1
http://oralquestionsandmotions-api.parliament.uk