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

Returns a list of oral question times

A list of oral question times meeting the specified criteria.

liveunknown~3s typical
oral question timeshouse
$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 /oralquestiontimes/list for me.

Input

FieldTypeDescription
parameters.answeringDateStartstringOral Questions Time where the answering date has been set on or after the date provided. Date format YYYY-MM-DD. default null
parameters.answeringDateEndstringOral Questions Time where the answering date has been set on or before the date provided. Date format YYYY-MM-DD. default null
parameters.deadlineDateStartstringOral Questions Time where the deadline date has been set on or after the date provided. Date format YYYY-MM-DD. default null
parameters.deadlineDateEndstringOral Questions Time where the deadline date has been set on or before the date provided. Date format YYYY-MM-DD. default null
parameters.oralQuestionTimeIdintegerIdentifier of the OQT 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":"/oralquestiontimes/list","input":{"parameters.answeringDateStart":"...","parameters.answeringDateEnd":"...","parameters.deadlineDateStart":"...","parameters.deadlineDateEnd":"...","parameters.oralQuestionTimeId":1,"parameters.answeringBodyIds":[],"parameters.skip":1,"parameters.take":1}}'
cli
npx cracked-ai run -p oa-parliament-uk-oralquestions -e /oralquestiontimes/list -i '{"parameters.answeringDateStart":"...","parameters.answeringDateEnd":"...","parameters.deadlineDateStart":"...","parameters.deadlineDateEnd":"...","parameters.oralQuestionTimeId":1,"parameters.answeringBodyIds":[],"parameters.skip":1,"parameters.take":1}'
mcp
run_tool({ provider: "oa-parliament-uk-oralquestions", endpoint: "/oralquestiontimes/list", input: {"parameters.answeringDateStart":"...","parameters.answeringDateEnd":"...","parameters.deadlineDateStart":"...","parameters.deadlineDateEnd":"...","parameters.oralQuestionTimeId":1,"parameters.answeringBodyIds":[],"parameters.skip":1,"parameters.take":1} })

Try it

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