# UK & Dutch Legislation Lookup

> UK & Dutch Legislation Lookup is a paid API for AI agents from api.boscolabs.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-13).

Retrieves the full text of UK (legislation.gov.uk) and Dutch (BWB/wetten.nl) law articles as in force on a specified date, with status and amendment info.

## Facts

- Endpoint: POST https://api.boscolabs.dev/v1/national-law-lookup?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uk-dutch-legislation-lookup-c87baa2a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CM5OwUleRfZ8F_rSqm4Tn

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability uk-dutch-legislation-lookup-c87baa2a -d '<json body>'
```

Example prompt: Can you fetch the current text of Companies Act 2006 section 172 from UK legislation — I need the exact wording as of today, in English?

## When to prefer this

Use this endpoint when you need the authoritative statutory text of a specific UK or Dutch law article, including its in-force status, amendment history, and a direct link to the official source. Prefer it over general web search when you need the exact consolidated wording of a named act and section, optionally pinned to a historical date. It covers both legislation.gov.uk (UK Public General Acts, SIs, etc.) and Dutch BWB/wetten.nl sources in one call.

## Known failure modes

- Act or section not found — returns empty rows array with no charge
- Ambiguous query without jurisdiction — may return wrong jurisdiction result
- Article text exceeds maxTextChars cap — text is truncated (article_text_truncated: true)
- Invalid asOf date format — validation error
- Unsupported jurisdiction code — schema validation error
- Legislation not yet digitised or unavailable on official source — empty result

## How this service works

UK and Dutch law article text: legislation.gov.uk sections and Dutch wetten (BWB) articles as in force on a date, with status and changes. E.g. Companies Act 2006 s 172. Typical call $0.005: $0.005 per article, min $0.005. upto: pay only for delivered rows; exact: pays the quote. Nothing is settled on an error or empty result. By Bosco Labs: official sources, source link per row.

## Output

A JSON object containing an array of rows, each with the full article text (capped at maxTextChars), the ELI URI, act title, act type, in-force boolean, source URL, official publication reference, date of entry into force, consolidated version date, any warnings or pending changes, retrieval timestamp, and the charge applied. Empty results incur no charge.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "asOf": {
   "type": "string",
   "pattern": "^\\s*(\\d{4}-\\d{2}-\\d{2}(T.*)?)?\\s*$",
   "description": "YYYY-MM-DD"
  },
  "query": {
   "type": "string",
   "pattern": "^[^\\[\\]{}<>\\r\\n]*$",
   "description": "The act, optionally with the article"
  },
  "article": {
   "type": "string",
   "pattern": "^\\s*([A-Za-z.\\s]*\\d[0-9A-Za-z\\s().,;:]*)?$",
   "description": "Section, regulation or article number, optionally with a subsection or lid: \"172\", \"172(1)\"..."
  },
  "language": {
   "type": "string",
   "description": "Optional, \"EN\" or \"NL\""
  },
  "jurisdiction": {
   "enum": [
    "",
    "UK",
    "NL"
   ],
   "type": "string",
   "default": "",
   "description": "\"UK\" or \"NL\""
  },
  "maxTextChars": {
   "type": "integer",
   "default": 30000,
   "maximum": 500000,
   "minimum": 1000,
   "description": "Cap on article_text, in characters, e.g. 30000 (default)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "rows": [
   {
    "eli": "http://www.legislation.gov.uk/id/ukpga/2006/46",
    "as_of": null,
    "query": "Companies Act 2006 s 172",
    "title": "Companies Act 2006",
    "act_id": "ukpga/2006/46",
    "act_url": "https://www.legislation.gov.uk/id/ukpga/2006/46",
    "article": "172",
    "act_type": "UK Public General Act",
    "data_url": "https://www.legislation.gov.uk/ukpga/2006/46/section/172/data.xml",
    "in_force": true,
    "language": "EN",
    "warnings": [],
    "paragraph": null,
    "long_title": "An Act to reform company law and restate the greater part of the enactments r...",
    "source_url": "https://www.legislation.gov.uk/ukpga/2006/46/section/172",
    "text_notice": "Revised (consolidated) text prepared by the legislation.gov.uk editorial team...",
    "article_text": "(1) A director of a company must act in the way he considers, in good faith, ...",
    "jurisdiction": "UK",
    "retrieved_at": "2026-11-05T22:54:33+00:00",
    "text_version": "consolidated",
    "act_type_code": "ukpga",
    "article_title": "Duty to promote the success of the company",
    "date_document": "2006-11-08",
    "schema_version": "1",
    "pending_changes": [],
    "date_publication": null,
    "duration_seconds": 0.1,
    "article_amended_by": [],
    "date_end_of_validity": null,
    "official_publication": "2006 c. 46",
    "date_entry_into_force": "2007-10-01",
    "article_text_truncated": false,
    "consolidated_version_date": "2026-07-16",
    "latest_consolidated_version_date": "2026-07-16"
   }
  ],
  "tool": "national-law-lookup",
  "count": 1,
  "message": "",
  "paid_via": "x402",
  "warnings": [],
  "balance_usd": 0,
  "charged_usd": 0.025,
  "duration_seconds": 1.2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uk-dutch-legislation-lookup-c87baa2a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.boscolabs.dev](https://www.zero.xyz/host/api.boscolabs.dev/llms.txt)
