For Agents
Query parliamentary written questions, ministerial answers, and written statements across 7 endpoints.
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the UK Parliament Written Questions API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with UK Parliament Written Questions API API.
Search written questions by keyword, MP, or department
Retrieve ministerial written answers by question ID
List written questions by answering body or date range
Access written ministerial statements by department or date
GET STARTED
Use for: Find all written questions asked to the Home Office, What written questions has this MP asked recently?, Retrieve the minister's answer to a specific question, List unanswered written questions from last month
Not supported: Covers parliamentary written questions, ministerial written answers, and written ministerial statements. Does not include oral questions, debate transcripts, or committee evidence — use Oral Questions, Hansard, or Committee APIs for those.
Jentic publishes the only available OpenAPI document for UK Parliament Written Questions API, keeping it validated and agent-ready.
Jentic publishes the only agent-ready OpenAPI specification for the UK Parliament Written Questions API, keeping it validated and up to date. The API exposes parliamentary written questions and ministerial written answers, along with written ministerial statements, allowing tracking of ministerial accountability and parliamentary scrutiny across government departments. It powers research platforms, political monitoring tools, and accountability systems analyzing ministerial responses.
Filter questions by answered or unanswered status
Track question-to-answer timelines and response delays
Query historical written questions by parliamentary session
Patterns agents use UK Parliament Written Questions API API for, with concrete tasks.
★ Ministerial Accountability Tracking
Monitor written questions tabled to government departments and track ministerial response times. GET /api/writtenquestions/questions returns all written questions with filtering by answering body, status, and date. Cross-reference with GET /api/writtenquestions/questions/{id} to retrieve full question text and ministerial answers. Essential for parliamentary researchers tracking government accountability.
GET /api/writtenquestions/questions?answeringBody=Home Office&answered=false to list unanswered Home Office questions
Policy Research and Analysis
Search written questions by keyword or topic to research government policy positions and ministerial statements on specific issues. The API supports full-text search across question and answer text, enabling researchers to track how government policy evolves through written parliamentary responses.
GET /api/writtenquestions/questions?search=climate&answered=true to retrieve all answered questions mentioning climate
Written Ministerial Statements
Access written ministerial statements published by government departments via GET /api/writtenministrialstatements. These statements provide official government announcements and policy positions outside of oral parliamentary proceedings. Filter by department and date to track departmental communications.
GET /api/writtenministrialstatements?department=Treasury&date=2026-06-01 to retrieve Treasury statements from June 2026
AI-Powered Parliamentary Research via Jentic
An AI agent researching UK government policy can search written questions by topic or minister, track response times, and retrieve ministerial answers through Jentic without managing pagination or complex filtering. Jentic resolves intents like 'find housing questions' to the correct Written Questions API endpoints.
Search Jentic for 'find written questions by department', load GET /api/writtenquestions/questions schema, and execute
7 endpoints — jentic publishes the only agent-ready openapi specification for the uk parliament written questions api, keeping it validated and up to date.
METHOD
PATH
DESCRIPTION
/api/writtenquestions/questions
List or search written questions with filtering
/api/writtenquestions/questions/{id}
Retrieve a specific written question and its answer
/api/writtenministrialstatements
List written ministerial statements
/api/writtenquestions/questions/answeredbetween
Query questions answered within a date range
/api/writtenquestions/questions
List or search written questions with filtering
/api/writtenquestions/questions/{id}
Retrieve a specific written question and its answer
/api/writtenministrialstatements
List written ministerial statements
/api/writtenquestions/questions/answeredbetween
Query questions answered within a date range
Three things that make agents converge on Jentic-routed access.
Credential isolation
No authentication required — the Written Questions API is open-access. Jentic handles filtering logic and pagination so agents receive structured questions and answers without managing complex query parameters or text parsing.
Intent-based discovery
Agents search by intent (e.g. 'find housing questions', 'check unanswered questions') and Jentic returns the matching Written Questions API endpoint with the request schema pre-shaped for execution.
Time to first call
Direct integration: 2-3 days mapping 7 endpoints, handling filtering, and parsing question-answer relationships. Through Jentic: under 20 minutes — search by intent, load schema, execute.
Alternatives and complements available in the Jentic catalogue.
UK Parliament Oral Questions API
Parliamentary oral questions and Early Day Motions
Use Written Questions API for questions answered in writing; use Oral Questions API for questions answered verbally in chamber
UK Parliament Members API
MPs and Lords biographical data, voting records, and parliamentary roles
Use Written Questions API to see what questions members have asked; use Members API for member biographical context
UK Parliament Bills API
Legislative bills and amendments tracking across parliamentary sessions
Written questions often relate to bills and policy; use both APIs to connect ministerial responses to legislative context
Specific to using UK Parliament Written Questions API API through Jentic.
What is the difference between oral and written questions?
Written questions are submitted to ministers for written answers published in Hansard, allowing detailed information requests. Oral questions are answered verbally in the chamber. This API covers written questions and answers; use the Oral Questions API for questions answered in chamber.
Can I filter questions by government department?
Yes. Use GET /api/writtenquestions/questions with the answeringBody parameter to filter by the government department responsible for answering. This is essential for tracking scrutiny of specific departments or policy areas.
How do I find unanswered questions?
Use the answered=false filter in GET /api/writtenquestions/questions to retrieve questions that have been tabled but not yet answered by ministers. This helps track outstanding accountability requests and ministerial response times.
Can I search the content of questions and answers?
Yes. Use the search parameter in GET /api/writtenquestions/questions to perform keyword searches across question and answer text. This enables topic-based research into government policy positions expressed through ministerial answers.
Is authentication required for this API?
No. The UK Parliament Written Questions API is a public API with no authentication required. It provides open access to parliamentary questions and ministerial answers for research and accountability monitoring.
Where does Jentic's OpenAPI spec for this API come from?
Jentic imports and validates the official Swagger spec published by UK Parliament at https://writtenquestions-api.parliament.uk/swagger/v1/swagger.json, converts it to OpenAPI 3.0.3, and keeps it updated so AI agents and developers can call the API via structured tooling.