Search UK legislation
regulatory-intelligence_uk-searchSearch UK legislation by keyword, document type, year, and jurisdiction. Note: legislation.gov.uk does not provide a public JSON search API. This endpoint has limited functionality. Price $0.05 USDC. POST /api/v1/regulatory-intelligence/uk/search. An unpaid call returns the x402 payment terms and does not run.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "regulatory-intelligence_uk-search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | year, integer, from 1000 to 3000. Optional. | |
| limit | No | limit, integer, from 1 to 50. Required. | |
| query | Yes | query, string, length 1 to 200. Required. | |
| jurisdiction | No | jurisdiction, string, length 0 to 50. Optional. | |
| legislationType | No | legislationType, string, length 0 to 50. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | query. String. | |
| results | No | results. Array. | |
| sources | No | sources. Array. | |
| limitations | No | limitations. Array. | |
| resultCount | No | resultCount. Number. | |
| retrievedAt | No | retrievedAt. String. |