GOV.UK Content API
Government Digital Service
- Licence
- Open Government Licence v3.0
- Cost
- Free
- Account needed
- No
- Harvestable
- Automated
What it contains
Structured JSON for every GOV.UK page including statistics collections and their attachments - the reliable way to discover DESNZ/Ofgem statistical file URLs without scraping HTML.
When you need it
Not yet mapped to a project stage. The stage axis is a first pass against a draft matrix, and a record with no stage means nobody has placed it rather than that it is useful at none.
Coverage and detail
- Geographic
- UK
- Nations
- UK-wide
- Resolution
- Publication
- Formats
- JSON
- Update cadence
- Continuous
Access and machine route
- Licence as stated
- Open Government Licence v3.0
- Assertion source
- as published by Government Digital Service
- Protocol
- REST API
- Harvest note
- yes-automated machine_endpoint is a URL template, not a resolvable link: https://www.gov.uk/api/content/<path>
Caveats
Attachment URLs on assets.publishing.service.gov.uk contain content hashes that change on every republication - always re-resolve, never cache the file URL.
Classification
- Category
- Unassigned
- Assigned by
- Not yet determined
- Data form
- Tabular
- Evidence confidence
- Not yet assessed. Only a person can set this.
How current this entry is
- Last updated here
- 2026-09-22
- Last checked against the holder
- 2026-09-07
- Checked by a person
- Not yet. Nobody has read this entry.
- Catalogue id
- gov-uk-content-api
Open at Government Digital Service
Openly licensed. No account needed.
Resolved
A server answered on 2026-09-08 and returned the expected page.
Checked by automated request, not in a browser. A site can answer a script and still fail for a reader, so treat this as a weak signal.
This record as JSON
Report a problem
Government Digital Service. GOV.UK Content API. Accessed via UK Geothermal Data Catalogue, https://catalogue.geothermaluk.org/id/gov-uk-content-api/. Record gov-uk-content-api.