data.gov.uk dataset catalogue
The data.gov.uk catalogue of UK government datasets: search by keyword and read a dataset's publisher, licence and download links.
No API key needed to call
- Source
- data.gov.uk (Government Digital Service)
- Licence and terms
- Open Government Licence v3.0
- Coverage
- United Kingdom
- Refresh cadence
- Answers are shared and cached for 3600 seconds.
Questions you can ask
Operations
Search UK government datasets
Answers: which UK government datasets are about a topic, who publishes them and under which licence? The licence of each dataset is in its record.
| q | required, string, Search keywords. |
|---|---|
| rows | optional, integer, default 8, How many datasets. |
Example: Which UK government datasets cover road traffic?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"ukdata","operation":"ukdata_dataset_search","params":{"q":"road traffic","rows":3}}}Over HTTP
curl '/v1/connectors/ukdata/ukdata_dataset_search?q=road+traffic&rows=3'UK government dataset record
Answers: what are the description, publisher, licence and download links of one data.gov.uk dataset?
| id | required, string, Dataset id or name (slug) from ukdata_dataset_search. |
|---|
Example: What files are in the data.gov.uk housing dataset?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"ukdata","operation":"ukdata_dataset","params":{"id":"housing"}}}Over HTTP
curl '/v1/connectors/ukdata/ukdata_dataset?id=housing'Source notice
Source: data.gov.uk. Contains information licensed under the Open Government Licence v3.0. Terms: "You are free to: copy, publish, distribute and transmit the Information; adapt the Information; exploit the Information commercially and non-commercially" under the Open Government Licence v3.0, which asks for attribution. Values are trimmed and reordered here; the publisher does not endorse this presentation.