{"uid":"cap_TpwO_yf8CH6lTrM-YuL65","slug":"sitecheck-company-records-uk-data-gov-uk-catalogue-search-4352d401","name":"SiteCheck Company Records – UK data.gov.uk Catalogue Search","description":"UK government open datasets from the data.gov.uk catalogue (CKAN API): title, publisher, licence, last modified date, number of resources and dataset link, for a search term. Catalogue metadata only, not the data files themselves.","url":"https://api.companyrecords-api.workers.dev/api/gov/data-gov-uk?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string","description":"Search text, 2 to 80 characters"},"rows":{"type":"string","description":"Datasets to return, 1 to 10 (default 5)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"query":"health","source":"https://ckan.publishing.service.gov.uk/api/3/action/package_search","datasets":[{"url":"https://www.data.gov.uk/dataset/health","name":"health","title":"Health Trust Reference Costs 2014-15","licence":"UK Open Government Licence (OGL)","publisher":"OpenDataNI","lastModified":"2026-07-08","resourceCount":0},{"url":"https://www.data.gov.uk/dataset/oral-health","name":"oral-health","title":"Oral Health","licence":null,"publisher":"London Borough of Camden","lastModified":"2023-09-14","resourceCount":1}],"checkedAt":"2026-10-23T09:37:05.651Z","totalDatasets":5709}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FQv8q4t0WEXmu5L1xR2fS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches the UK government open data catalogue (data.gov.uk / CKAN API) and returns dataset metadata including title, publisher, licence, last modified date, resource count, and dataset link.","exampleAgentPrompt":"Search the UK data.gov.uk open data catalogue for datasets about 'air quality' and show me the top 5 results including publisher, licence, and when each was last updated.","exampleUseCases":[{"title":"Researching UK health datasets","prompt":"Search the UK government open data catalogue for datasets related to 'mental health' and return up to 8 results — I need the publisher, licence type, and last modified date for each."},{"title":"Finding environmental open data","prompt":"Can you look up what datasets the UK government has published on 'flood risk' on data.gov.uk? Just give me titles, publishers, and links."},{"title":"Checking data availability before a project","prompt":"I'm starting a project on UK housing — search data.gov.uk for 'housing' datasets and tell me how many total results there are, plus the top 5 with their licences and resource counts."}],"resultDescription":"Returns a JSON object with the search query, source CKAN API URL, a list of matched datasets (each with URL, slug name, title, licence, publisher, last modified date, and resource count), the timestamp of the check, and the total number of matching datasets in the catalogue.","failureModes":["Query too short (under 2 chars) or too long (over 80 chars) returns validation error","CKAN API upstream downtime may cause request failure or empty results","Search term matching no datasets returns an empty datasets array with totalDatasets 0","rows parameter outside 1–10 range may be rejected or clamped"],"whenToPreferThis":"Choose this endpoint when you need to discover what UK government open datasets exist on a topic — particularly when you need metadata such as publisher, licence, and freshness rather than the data files themselves. Ideal for research scoping, compliance checks on data licences, or building catalogues of government data sources. Prefer over generic web search when you specifically need structured CKAN metadata from the UK data.gov.uk catalogue.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:45:50.245Z","isFirstParty":false,"canonicalSlug":"sitecheck-company-records-uk-data-gov-uk-catalogue-search-4352d401"}