Reuse GOV.UK content

To reuse content published on GOV.UK you must meet the conditions of the .

GOV.UK APIs

As well as providing content for people, GOV.UK also provides content for computers. 皇冠体育appse are called APIs.

皇冠体育appre are 3 APIs that enable you to reuse GOV.UK content.

Content API

皇冠体育app Content API provides access to the data that renders content on GOV.UK. You can use the GOV.UK page URL to access the content and metadata hosted on GOV.UK.

Read the for guidance on accessing and using this API.

Bank Holidays API

皇冠体育app Bank Holidays API (in JSON format) provides access to data about when the next bank holidays are in England and Wales, Scotland and Northern Ireland.

Search API (unsupported)

You can access additional metadata that sits behind GOV.UK search results by using the GOV.UK Search API. You can filter this data in different ways.

For guidance on how to use this API, read the and the GOV.UK .

This is an unsupported API, which means the API may change without notice.

Scraping the site

You can scrape GOV.UK as long as you respect our robots.txt policy. If you make too many requests, your access will be limited until your request rate drops. This is known as rate limiting.

Schemas

GOV.UK uses to make it easier for web crawlers to index the site. 皇冠体育appse include:

Sitemap

GOV.UK provides a sitemap in XML format. This sitemap lists the majority of pages on GOV.UK.

Registers

provide lists of information via a secure API. Each register contains reliable and consistent data to design and build services with.

GOV.UK registers include:

Updates to this page

Last updated 9 December 2022