UK Government Consultations API

UK government consultations from GOV.UK, open, closed or with the government's response published, from every department and agency: the departments, opening and closing date and time, last update, a summary and the consultation page.

$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, 9 fieldsv1.0

Data from gov.uk/search/policy-papers-and-consultations

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

Statusoptional
open: still taking responses (the default); closed: closed and awaiting the government's response; outcome: the response is published; all: every consultation.
Searchoptional
Topic words, such as packaging or housing. A consultation needs only one of the words; put a phrase in quotes to require it, such as "extended producer responsibility".
Example: packaging
Departmentoptional
Only consultations from this department or agency: its GOV.UK name (HM Treasury), acronym (Defra) or address slug (department-for-environment-food-rural-affairs).
Example: department-for-environment-food-rural-affairs
Opened afteroptional
Only consultations that opened on or after this day, as YYYY-MM-DD.
Example: 2026-11-01
Closes afteroptional
Only consultations that close (or closed) on or after this day, as YYYY-MM-DD.
Example: 2026-12-15
Closes beforeoptional
Only consultations that close (or closed) on or before this day, as YYYY-MM-DD, such as the next four weeks.
Example: 2027-01-31
Updated afteroptional
Only consultations whose page was published or updated on or after this day, as YYYY-MM-DD: what changed since your last run.
Example: 2026-11-01
Sortoptional
newest: most recently published or updated first; oldest; closing_soonest: earliest closing date first; closing_latest; relevance: best match for search first. Empty means relevance with search words, else newest.

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-government-consultations/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-government-consultations/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"status":"open"},"max_items":50}'

Inputs

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

statustext
open: still taking responses (the default); closed: closed and awaiting the government's response; outcome: the response is published; all: every consultation.
default: openexample: openone of: open, closed, outcome, all
searchtext
Topic words, such as packaging or housing. A consultation needs only one of the words; put a phrase in quotes to require it, such as "extended producer responsibility".
example: packaging
departmenttext
Only consultations from this department or agency: its GOV.UK name (HM Treasury), acronym (Defra) or address slug (department-for-environment-food-rural-affairs).
example: department-for-environment-food-rural-affairs
opened_aftertext
Only consultations that opened on or after this day, as YYYY-MM-DD.
example: 2026-11-01
closes_aftertext
Only consultations that close (or closed) on or after this day, as YYYY-MM-DD.
example: 2026-12-15
closes_beforetext
Only consultations that close (or closed) on or before this day, as YYYY-MM-DD, such as the next four weeks.
example: 2027-01-31
updated_aftertext
Only consultations whose page was published or updated on or after this day, as YYYY-MM-DD: what changed since your last run.
example: 2026-11-01
sorttext
newest: most recently published or updated first; oldest; closing_soonest: earliest closing date first; closing_latest; relevance: best match for search first. Empty means relevance with search words, else newest.
one of: newest, oldest, closing_soonest, closing_latest, relevance

What's in each record

9 fields: 8 here, 1 technical one under Technical details.

Basics

  • Title

    The consultation's title.

    Example Reconsultation on reforming the General Medical Council's legislative framework

  • Status

    open, closed (awaiting the government's response) or outcome (response published).

    Example open

  • Departments

    The departments and agencies that run the consultation, such as Department for Transport.

    Example Department of Health and Social Care, The Scottish Government

  • Description

    The department's summary of the consultation.

    Example Seeks views on specific provisions in the revised draft General Medical Council Order.

Dates

  • Opens at

    When the consultation opened or opens (UTC).

    Example Dec 3, 2026

  • Closes at

    When the consultation closes or closed (UTC); responses are due by then.

    Example Feb 11, 2027

  • Updated

    When GOV.UK last published the page or a major change to it (UTC).

    Example Dec 3, 2026

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • ID idGOV.UK's content id of the consultation page.

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
idtextID (hidden)3 of 3
urllinkLink3 of 3
titletextTitle3 of 3
statustextStatus3 of 3
departmentslistDepartments3 of 3
opens_atdate and timeOpens at3 of 3
closes_atdate and timeCloses at3 of 3
updated_atdate and timeUpdated3 of 3
descriptiontextDescription3 of 3

How it reads the site

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

Sample records

Sample records
RecordTitleStatusDepartmentsDescriptionOpens atCloses atUpdatedLink
1Reconsultation on reforming the General Medical Council's legislative frameworkopenDepartment of Health and Social Care, The Scottish GovernmentSeeks views on specific provisions in the revised draft General Medical Council Order.Dec 3, 2026Feb 11, 2027Dec 3, 2026gov.uk/government/consultations/reconsultation-on-reforming-the-general-medical-councils-legislative-framework
2Proposed revocation of the A12 Chelmsford to A120 Widening Development Consent Order 2024openDepartment for TransportProposal to revoke the A12 Chelmsford to A120 Widening Development Consent Order 2024.Dec 3, 2026Jan 22, 2027Dec 3, 2026gov.uk/government/consultations/proposed-revocation-of-the-a12-chelmsford-to-a120-widening-development-consent-order-2024
3Updating the Waste Management Plan for England in 2027openDepartment for Environment, Food & Rural AffairsWe are seeking views on the draft update of the Waste Management Plan for England.Dec 3, 2026Jan 8, 2027Dec 3, 2026gov.uk/government/consultations/updating-the-waste-management-plan-for-england-in-2027

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
  • Consultations as departments and agencies publish them on GOV.UK: about 90 open, 1,100 closed and awaiting a response and 6,400 with an outcome in December 2026, the oldest from 2000. Consultations run only on other sites, such as most of the Scottish Government's, are not included.
  • A few consultations stay listed as open on GOV.UK after their closing date; this API gives them status closed and leaves them out of status open.
  • opens_at and closes_at are the times the department entered; a handful hold typing errors (such as the year 1016) and come out empty.
  • search matches words in the title, summary and page text; a consultation needs only one of the words unless they are in quotes.
  • updated_at moves when GOV.UK publishes a major change to the page, such as the outcome. At most 10,000 consultations per run.
  • GOV.UK allows 10 requests a second; this API reads up to 500 consultations per request and keeps well under that limit.
  • Contains public sector information licensed under the Open Government Licence v3.0, from GOV.UK. The UK government does not endorse this API.

Version history

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