To reuse content published on GOV.UK you must meet the conditions of the Open Government Licence.
GOV.UK Application Programming Interfaces (APIs)
There are 3 APIs that enable you to reuse GOV.UK content.
The 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 Content API documentation for guidance on accessing and using this API.
Bank Holidays API
The Bank Holidays API 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 Search API documentation and the GOV.UK blog post about using and filtering search data.
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.