House of Commons Oral and Written Questions API
HO
House of Commons Oral and Written Questions API
/oralquestions/list

Returns a list of oral questions

A list of oral questions meeting the specified criteria.

liveunknown~3s typical
oral questionshouse
$0.0020
per call
plus $0.001 platform fee per run
Public API, no upstream charge
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run oa-parliament-uk-oralquestions /oralquestions/list for me.

Input

FieldTypeDescription
parameters.answeringDateStartstringOral Questions where the answering date has been set on or after the date provided. Date format YYYY-MM-DD. default null
parameters.answeringDateEndstringOral Questions where the answering date has been set on or before the date provided. Date format YYYY-MM-DD. default null
parameters.questionTypestring (Substantive | Topical)Oral Questions where the question type is the selected type, substantive or topical. default null
parameters.oralQuestionTimeIdintegerOral Questions where the question is within the question time with the ID provided default null
parameters.askingMemberIdsarrayThe ID of the member asking the question. Lists of member IDs for each house are available <a href="http://data.parliament.uk/membersdataplatform/services/mnis/members/query/house=Commons" target="_bl default null
parameters.uINsarrayThe UIN for the question - note that UINs reset at the start of each Parliamentary session. default null
parameters.answeringBodyIdsarrayWhich answering body is to respond. A list of answering bodies can be found <a target="_blank" href="http://data.parliament.uk/membersdataplatform/services/mnis/referencedata/AnsweringBodies/">here</a default null
parameters.skipintegerThe number of records to skip from the first, default is 0. default null
parameters.takeintegerThe number of records to return, default is 25, maximum is 100. default null

Call it

curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
  -H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
  -d '{"provider":"oa-parliament-uk-oralquestions","endpoint":"/oralquestions/list","input":{"parameters.answeringDateStart":"...","parameters.answeringDateEnd":"...","parameters.questionType":"Substantive","parameters.oralQuestionTimeId":1,"parameters.askingMemberIds":[],"parameters.uINs":[],"parameters.answeringBodyIds":[],"parameters.skip":1,"parameters.take":1}}'
cli
npx cracked-ai run -p oa-parliament-uk-oralquestions -e /oralquestions/list -i '{"parameters.answeringDateStart":"...","parameters.answeringDateEnd":"...","parameters.questionType":"Substantive","parameters.oralQuestionTimeId":1,"parameters.askingMemberIds":[],"parameters.uINs":[],"parameters.answeringBodyIds":[],"parameters.skip":1,"parameters.take":1}'
mcp
run_tool({ provider: "oa-parliament-uk-oralquestions", endpoint: "/oralquestions/list", input: {"parameters.answeringDateStart":"...","parameters.answeringDateEnd":"...","parameters.questionType":"Substantive","parameters.oralQuestionTimeId":1,"parameters.askingMemberIds":[],"parameters.uINs":[],"parameters.answeringBodyIds":[],"parameters.skip":1,"parameters.take":1} })

Try it

Runs against your signed-in workspace balance. Sign in if you have not.