UK Parliament Written Questions API

Written questions MPs and Lords put to UK government departments, with the minister's answer: question and answer text, dates, asking member, answering department and a link. Search by topic, department and date.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 10 fieldsv1.0

Data from questions-statements-api.parliament.uk/api/writtenquestions/questions

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Searchoptional
Topic words to find in questions and answers.
Example: drones
Answering bodyoptional
Department answering, by name or Parliament id.
Example: Ministry of Defence
Tabled fromoptional
Earliest day the question was tabled (YYYY-MM-DD).
Example: 2026-11-01
Answered onlyoptional
Only questions that already have an answer.

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/uk-parliament-written-questions/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/uk-parliament-written-questions/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"search":"drones"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

searchtext
Topic words to find in questions and answers.
example: drones
answering_bodytext
Department answering, by name or Parliament id.
example: Ministry of Defence
tabled_fromtext
Earliest day the question was tabled (YYYY-MM-DD).
example: 2026-11-01
answered_onlyyes/no
Only questions that already have an answer.
default: false

What's in each record

10 fields.

Basics

  • Uin

    Unique identification number of the question within its house.

    Example 44160

  • House

    Commons or Lords.

    Example Commons

  • Asking member

    Public name of the MP or Lord who asked.

    Example Stuart Anderson

  • Answering body

    Department that answers.

    Example Ministry of Defence

  • Short topic heading

    Example Unmanned Air Systems

  • Question text

    The question in plain text.

    Example To ask the Secretary of State for Defence, how many operational units are equipped with uncrewed air systems.

  • Answer text

    The answer in plain text.

    Example Uncrewed air systems are operated across all three Services and operational areas of Ministry of Defence in a wide…

Dates

  • Date tabled

    Day the question was tabled.

    Example Nov 17, 2026

  • Date answered

    Day the answer was given.

    Example Dec 3, 2026

Technical detailsField names and types for developers

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
uintextUin3 of 3
date_tableddateDate tabled3 of 3
date_answereddateDate answered3 of 3
housetextHouse3 of 3
asking_membertextAsking member3 of 3
answering_bodytextAnswering body3 of 3
headingtextShort topic heading3 of 3
question_texttextQuestion text3 of 3
answer_texttextAnswer text3 of 3
urllinkLink3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordUinHouseAsking memberAnswering bodyShort topic headingQuestion textAnswer textDate tabledDate answeredLink
144160CommonsStuart AndersonMinistry of DefenceUnmanned Air SystemsTo ask the Secretary of State for Defence, how many operational units are equipped with uncrewed air systems.Uncrewed air systems are operated across all three Services and operational areas of Ministry of Defence in a wide range of roles. These range in size from the Protector RG Mk1 long endurance remotely piloted air system to the smallest handheld first-pers...Nov 17, 2026Dec 3, 2026questions-statements.parliament.uk/written-questions/detail/2026-11-17/44160
246561CommonsJames McMurdockMinistry of DefenceUnmanned Marine Systems: North Atlantic OceanTo ask the Secretary of State for Defence, with reference to the press release entitled £90 million investment for new drones and sensors to protect undersea cables and hunt Russian submarines, published on 10 November 2026, when he expects the Atlantic NAtlantic Net will enter service next year building on the development and testing activity already underway. As with all major capability programmes, delivery assumptions remain subject to the successful completion of commercial, testing and assurance act...Nov 25, 2026Dec 3, 2026questions-statements.parliament.uk/written-questions/detail/2026-11-25/46561
346565CommonsJames McMurdockMinistry of DefenceUnmanned Marine Systems: North Atlantic OceanTo ask the Secretary of State for Defence, with reference to his Department's press release entitled £90 million investment for new drones and sensors to protect undersea cables and hunt Russian submarines, published on 10 November 2026, what assessment hAs set out in the Department's announcement of 10 November 2026, the Ministry of Defence has agreed a framework with Hampshire-based British company Ocean Infinity Solutions which will pave the way for £90 million of investment in Atlantic Net, the first ...Nov 25, 2026Dec 3, 2026questions-statements.parliament.uk/written-questions/detail/2026-11-25/46565

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Source: UK Parliament's Questions and Statements API, published under the Open Parliament Licence v3.0; keep the attribution 'Contains Parliamentary information licensed under the Open Parliament Licence v3.0'.
  • Unanswered questions have no answer_text and no date_answered; answers can be revised or corrected after the first reply.
  • answering_body takes the department's exact name (matched as a part of the name, any case) or its numeric Parliament id; a name is applied to the pages read, so a rare department with a broad search can take longer.
  • Question and answer texts are cut at 1,500 and 3,000 characters; Parliament itself shortens some long answers in list results.
  • asking_member is the member's public name; members are public office holders.
  • One run reads at most 5,000 questions (50 pages of 100), newest results as Parliament orders them; keep to a request every 0.3 seconds.

Version history

A run uses the live version unless the request names another one with version.