gb_search_govuk
Search GOV.UK for tribunal decisions, HMRC manuals, CMA cases, and other official documents. Filter by document type, date, and organisation to locate authoritative legal and regulatory information.
Instructions
Search GOV.UK documents - tribunal decisions, HMRC manuals, CMA cases and more.
Maps to the GOV.UK Search API (www.gov.uk/api/search.json - confirmed live
2026-07-07: keyless, Open Government Licence v3.0). One upstream aggregating many
institutions; filter with document_type. Legally weighty types with live-verified
totals (2026-07-07): employment_tribunal_decision (132,162),
hmrc_manual_section (85,315), residential_property_tribunal_decision
(17,088), employment_appeal_tribunal_decision (2,571), cma_case (2,565),
utaac_decision (2,031), tax_tribunal_decision (1,414),
asylum_support_decision (101).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | max items to return (1..100). | |
| query | No | full-text search terms. | |
| start | No | result offset for pagination (0-based). | |
| to_date | No | ISO 8601 date (YYYY-MM-DD), inclusive. Same server-side filter. | |
| from_date | No | ISO 8601 date (YYYY-MM-DD), inclusive - passed server-side via ``filter_public_timestamp`` (unlike Find Case Law, GOV.UK supports this). | |
| organisation | No | GOV.UK organisation slug, e.g. ``"competition-and-markets-authority"``. | |
| document_type | No | GOV.UK ``content_store_document_type`` slug (see above). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | ||
| total | Yes | ||
| query_echo | No | ||
| dataset_note | No | www.gov.uk Search API + Content API (keyless, Crown copyright, Open Government Licence v3.0) - one upstream aggregating many institutions' documents: employment tribunal decisions, employment appeal tribunal decisions, tax tribunal decisions, Upper Tribunal (AAC) decisions, residential property tribunal decisions, HMRC internal manuals, CMA competition cases and more (filter by document_type). GOV.UK documents have no neutral-citation or ELI scheme; human_readable_citation is '{Title} ({document type}, {date}, GOV.UK)'. Tribunal decisions carry the judgment as a PDF attachment with a short HTML body; HMRC manual sections carry the full text in body_html. |