UK Legislation
legislation.gov.uk, the official home of revised UK legislation: Acts of Parliament, devolved legislation and statutory instruments, with editorial notes on amendments, commencement and extent. Text is plain, numbered and ready for an LLM to quote.
- cost
- Free every endpoint, within the daily allowance
- after that
- from $0.0005 / call · card or USDC
- endpoints
- 6
No signup needed over MCP: 50 free calls a day, or 500 with a free key.
Act or instrument overview Free
Title, long title, enactment/made date, status, extent, count of outstanding changes and the full table of contents.
- cost
- Free then $0.003 / call
- MCP tool
- uk-legislation__item
- method
- GET
Free up to 50 calls a day over MCP (500 with a free key), then $0.003 per call by card credit or USDC. Free key · Pay by card
GET https://fourzerotwo.si/v1/uk-legislation/item
| Param | Type | Description |
|---|---|---|
| type | string | Legislation type code (ukpga, uksi, asp, ssi, wsi, nisr…; see types) |
| year | string | Year (or regnal year for pre-1963, e.g. Eliz2/10-11) |
| number | integer | Chapter or SI number |
# free: send a free key from https://fourzerotwo.si/free curl -H "X-API-Key: fzt_…" "https://fourzerotwo.si/v1/uk-legislation/item?type=ukpga&year=2018&number=12" # no key: returns 402 with the price, for x402 agents curl -i "https://fourzerotwo.si/v1/uk-legislation/item?type=ukpga&year=2018&number=12"
by fourzerotwo
Report this endpoint
Amendments made to it Free
Most recent 50 changes (substitutions, repeals, insertions…) made by later legislation, with the amending provision, in-force dates and whether the change is reflected in the text yet.
- cost
- Free then $0.003 / call
- MCP tool
- uk-legislation__changes
- method
- GET
Free up to 50 calls a day over MCP (500 with a free key), then $0.003 per call by card credit or USDC. Free key · Pay by card
GET https://fourzerotwo.si/v1/uk-legislation/changes
| Param | Type | Description |
|---|---|---|
| type | string | Legislation type code (ukpga, uksi, asp, ssi, wsi, nisr…; see types) |
| year | string | Year (or regnal year for pre-1963, e.g. Eliz2/10-11) |
| number | integer | Chapter or SI number |
# free: send a free key from https://fourzerotwo.si/free curl -H "X-API-Key: fzt_…" "https://fourzerotwo.si/v1/uk-legislation/changes?type=ukpga&year=2018&number=12" # no key: returns 402 with the price, for x402 agents curl -i "https://fourzerotwo.si/v1/uk-legislation/changes?type=ukpga&year=2018&number=12"
by fourzerotwo
Report this endpoint
Newly published legislation Free
The newest Acts and instruments published, optionally of one type.
- cost
- Free then $0.001 / call
- MCP tool
- uk-legislation__latest
- method
- GET
Free up to 50 calls a day over MCP (500 with a free key), then $0.001 per call by card credit or USDC. Free key · Pay by card
GET https://fourzerotwo.si/v1/uk-legislation/latest
| Param | Type | Description |
|---|---|---|
| type? | string | Type code |
# free: send a free key from https://fourzerotwo.si/free curl -H "X-API-Key: fzt_…" "https://fourzerotwo.si/v1/uk-legislation/latest" # no key: returns 402 with the price, for x402 agents curl -i "https://fourzerotwo.si/v1/uk-legislation/latest"
by fourzerotwo
Report this endpoint
Legislation type codes Free
Type codes and what they mean.
- cost
- Free then $0.0005 / call
- MCP tool
- uk-legislation__types
- method
- GET
Free up to 50 calls a day over MCP (500 with a free key), then $0.0005 per call by card credit or USDC. Free key · Pay by card
GET https://fourzerotwo.si/v1/uk-legislation/types
# free: send a free key from https://fourzerotwo.si/free curl -H "X-API-Key: fzt_…" "https://fourzerotwo.si/v1/uk-legislation/types" # no key: returns 402 with the price, for x402 agents curl -i "https://fourzerotwo.si/v1/uk-legislation/types"
by fourzerotwo
Report this endpoint
Search legislation Free
Find Acts and instruments by title words or full text, optionally by type and year.
- cost
- Free then $0.002 / call
- MCP tool
- uk-legislation__search
- method
- GET
Free up to 50 calls a day over MCP (500 with a free key), then $0.002 per call by card credit or USDC. Free key · Pay by card
GET https://fourzerotwo.si/v1/uk-legislation/search
| Param | Type | Description |
|---|---|---|
| title? | string | Words in the title |
| text? | string | Words anywhere in the text |
| type? | string | Type code (see types) |
| year? | integer | Year |
| page? | integer | Results page (20 per page) |
# free: send a free key from https://fourzerotwo.si/free curl -H "X-API-Key: fzt_…" "https://fourzerotwo.si/v1/uk-legislation/search" # no key: returns 402 with the price, for x402 agents curl -i "https://fourzerotwo.si/v1/uk-legislation/search"
by fourzerotwo
Report this endpoint
Provision text Free
Plain numbered text of one section, regulation, article or schedule paragraph, as it stands today or on a past date, with amendment and commencement notes.
- cost
- Free then $0.003 / call
- MCP tool
- uk-legislation__provision
- method
- GET
Free up to 50 calls a day over MCP (500 with a free key), then $0.003 per call by card credit or USDC. Free key · Pay by card
GET https://fourzerotwo.si/v1/uk-legislation/provision
| Param | Type | Description |
|---|---|---|
| type | string | Legislation type code (ukpga, uksi, asp, ssi, wsi, nisr…; see types) |
| year | string | Year (or regnal year for pre-1963, e.g. Eliz2/10-11) |
| number | integer | Chapter or SI number |
| provision | string | Path such as section/3, regulation/2, article/5 or schedule/1/paragraph/4 |
| date? | string | Point in time, YYYY-MM-DD (default: current revised text) |
# free: send a free key from https://fourzerotwo.si/free curl -H "X-API-Key: fzt_…" "https://fourzerotwo.si/v1/uk-legislation/provision?type=ukpga&year=2018&number=12&provision=section%2F3" # no key: returns 402 with the price, for x402 agents curl -i "https://fourzerotwo.si/v1/uk-legislation/provision?type=ukpga&year=2018&number=12&provision=section%2F3"
by fourzerotwo
Report this endpoint
Contains public sector information from legislation.gov.uk licensed under the Open Government Licence v3.0.