data.gov.uk
Public recordsGBckan.publishing.service.gov.uk
The UK national open-data catalogue: search tens of thousands of public-sector datasets and read their metadata, resources and licences.
Capabilities (9)
GET /v1/data/datagovuk/catalog-dcat1 creditReturns one 100-dataset page of the catalogue as expanded DCAT JSON-LD - distributions, publishers and spatial extents - plus a hydra:PagedCollection node carrying totalItems and the first/next/last page URLs so you can drive the walk from the response itself.
GET /v1/data/datagovuk/dataset1 creditReturns the complete CKAN record for one dataset: title, description, licence, temporal and spatial extras, the owning organisation, and every resource with its download URL, format and description.
GET /v1/data/datagovuk/dataset-dcat1 creditReturns one dataset as compacted DCAT JSON-LD: a dcat:Dataset node with dct: metadata, a foaf:Organization publisher and one dcat:Distribution node per file carrying accessURL, format and byte size.
GET /v1/data/datagovuk/datasets1 creditRuns a Solr free-text query over all 59,417 data.gov.uk datasets and returns a total count plus full dataset records, each with its title, notes, licence, publishing organisation and resource list.
GET /v1/data/datagovuk/facets1 creditReturns dataset counts grouped by a catalogue field - file format, publisher, licence or tag - with no dataset records at all, as both a name-to-count map and a display-name list.
GET /v1/data/datagovuk/harvest-sources1 creditReturns the 100 registered upstream feeds data.gov.uk pulls metadata from - each with its source URL, harvester type (dcat_json, dcat_rdf, ckan, gemini-waf, gemini-csw, gemini-single, inventory), run frequency, active flag, owning publisher and a status block with job count and last harvest time.
GET /v1/data/datagovuk/organization1 creditReturns one publisher's record: display title, description, dataset count, logo, and the FOI and contact name, email, phone and web form that body has registered.
GET /v1/data/datagovuk/organizations1 creditReturns all 1,044 publishing bodies on data.gov.uk - departments, agencies, councils, NHS trusts - as an array of slugs, or as full records with dataset counts and logos when all_fields is set.
GET /v1/data/datagovuk/package-list1 creditReturns a flat array of every dataset slug in the catalogue, 59,888 of them, with no other metadata. This is the database list and runs ahead of the 59,417 that dataset search reports, because search only counts what Solr has indexed.
Licence
Open Government Licence v3.0 for the catalogue; each dataset carries its own licence in the record.
https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/Attribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Contains public sector information licensed under the Open Government Licence v3.0.
Cache: up to 3600s
