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.
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
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
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
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.
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
Links
- Link
Link to the question on Parliament's site.
Example questions-statements.parliament.uk/written-questions/detail/2026-11-17/44160
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 name | Type | Shown on this page as | Filled |
|---|---|---|---|
uin | text | Uin | 3 of 3 |
date_tabled | date | Date tabled | 3 of 3 |
date_answered | date | Date answered | 3 of 3 |
house | text | House | 3 of 3 |
asking_member | text | Asking member | 3 of 3 |
answering_body | text | Answering body | 3 of 3 |
heading | text | Short topic heading | 3 of 3 |
question_text | text | Question text | 3 of 3 |
answer_text | text | Answer text | 3 of 3 |
url | link | Link | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Uin | House | Asking member | Answering body | Short topic heading | Question text | Answer text | Date tabled | Date answered | Link |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 44160 | Commons | Stuart Anderson | Ministry of Defence | Unmanned Air Systems | To 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, 2026 | Dec 3, 2026 | questions-statements.parliament.uk/written-questions/detail/2026-11-17/44160 |
| 2 | 46561 | Commons | James McMurdock | Ministry of Defence | Unmanned Marine Systems: North Atlantic Ocean | To 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 N | Atlantic 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, 2026 | Dec 3, 2026 | questions-statements.parliament.uk/written-questions/detail/2026-11-25/46561 |
| 3 | 46565 | Commons | James McMurdock | Ministry of Defence | Unmanned Marine Systems: North Atlantic Ocean | To 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 h | As 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, 2026 | Dec 3, 2026 | questions-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.
- 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.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.