---
type: "firecrawl-provider"
description: "UK legislation from legislation.gov.uk (The National Archives): search and listing feeds across every legislation type (UK Public General Acts, Statutory Instruments, Scottish, Welsh and Northern Ireland legislation, retained EU law), title-to-identifier lookup, tables of contents, the text of one provision or structural division (section, article, regulation, part, chapter, schedule) in its current, enacted/made or point-in-time version, and the changes-to-legislation register. Reads the site's stateless XML/Atom representations (CLML data.xml, Atom data.feed) under the Open Government Licence v3.0."
use_when: "UK legislation from legislation.gov.uk (The National Archives): search and listing feeds across every legislation type (UK Public General Acts, Statutory Instruments, Scottish, Welsh and Northern Ireland legislation, retained EU law), title-to-identifier lookup, tables of contents, the text of one provision or structural division (section, article, regulation, part, chapter, schedule) in its current, enacted/made or point-in-time version, and the changes-to-legislation register. Reads the site's stateless XML/Atom representations (CLML data.xml, Atom data.feed) under the Open Government Licence v3.0."
categories: "Public records"
capabilities: 5
credits_per_call: 5
---
# legislation.gov.uk on Firecrawl Alexandria

UK legislation from legislation.gov.uk (The National Archives): search and listing feeds across every legislation type (UK Public General Acts, Statutory Instruments, Scottish, Welsh and Northern Ireland legislation, retained EU law), title-to-identifier lookup, tables of contents, the text of one provision or structural division (section, article, regulation, part, chapter, schedule) in its current, enacted/made or point-in-time version, and the changes-to-legislation register. Reads the site's stateless XML/Atom representations (CLML data.xml, Atom data.feed) under the Open Government Licence v3.0.

- Categories: Public records
- Category index: [Public records category](https://firecrawl.dev/alexandria/agents/categories/public-records)
- Provider key: `legislation-gov-uk`
- Access: Firecrawl credits
- Cost: 5 credits per call

## More

- [Human guide](https://firecrawl.dev/app/alexandria/legislation-gov-uk)
- [OpenAPI spec](https://firecrawl.dev/alexandria/agents/providers/legislation-gov-uk/openapi.json)

## Capabilities

- [Get contents](https://firecrawl.dev/alexandria/agents/providers/legislation-gov-uk/legislation/get_contents): Table of contents of one Act or instrument from its CLML `contents/data.xml`: document metadata (title, long title, identifier and document URIs, document class, enactment or made date, modified and valid dates, extent) and a flat, ordered list of every part, chapter, cross-heading, section/article/regulation and schedule with its number, title, depth, identifier URI, document URI and extent. `version` selects the as-enacted/as-made text or a point-in-time date; the default is the current text.
- [Get provision](https://firecrawl.dev/alexandria/agents/providers/legislation-gov-uk/legislation/get_provision): The text of one provision or structural division of an Act or instrument from its CLML `data.xml`: `provision` is the site's path such as `section/14`, `article/3`, `regulation/2`, `part/3`, `chapter/2`, `schedule/6` or `schedule/6/paragraph/1`. Returns document metadata, the division's heading, every section-level provision (`P1`) inside it with its number, heading, identifier URI and plain text (sub-provisions numbered `(1)`, `(a)`), the in-force and extent restrictions, the list of other versions the site holds, and any changes the editorial team has not yet applied (`unapplied_effects`, so you know when the text lags). `version` selects `enacted`/`made`, `prospective` or a `YYYY-MM-DD` point-in-time text; the default is the current text.
- [List changes](https://firecrawl.dev/alexandria/agents/providers/legislation-gov-uk/legislation/list_changes): The changes-to-legislation register for one Act or instrument as the site's Atom feed (`/changes/{affected|affecting}/{type}/{year}/{number}/data.feed`): `affected` lists effects made on this legislation by others, `affecting` lists effects this legislation makes on others. Each effect carries the effect id and URI, the kind of change, affected and affecting legislation (title, URI, provisions), whether the editorial team has applied it, and the in-force dates with the commencing instrument. `per_page` (default 20, at most 50) effects per page, newest modified first; the continuation cursor is the next page number.
- [Lookup identifier](https://firecrawl.dev/alexandria/agents/providers/legislation-gov-uk/legislation/lookup_identifier): Resolve a legislation title (optionally narrowed by type, year and number) to its identifier through `/id?title=...`. A unique match is a 301 to `/id/{type}/{year}/{number}` and returns `resolved: true` with that identifier; an ambiguous title is the site's 300 Multiple Choices page and returns `resolved: false` with every candidate (identifier, title). A title the site knows nothing about is `not_found`. Uncached lookups can take several seconds.
- [Search legislation](https://firecrawl.dev/alexandria/agents/providers/legislation-gov-uk/legislation/search_legislation): Search or list UK legislation as the site's Atom feed (`/{type}[/{year}]/data.feed`): title words, full-text words, a legislation type or family (`ukpga`, `uksi`, `asp`, ..., or `all`, `primary`, `secondary`, `primary+secondary`) and a year, 20 results per page. Each result carries the identifier URI (`/id/{type}/{year}/{number}`), type, year, number, title, long-title summary, subject categories, dates and the URLs of its contents and XML. With `sort: "published"` and no query this is the newest-legislation listing. A query with no matches is an empty `results` array, not an error.

## 1. Choose this provider when

UK legislation from legislation.gov.uk (The National Archives): search and listing feeds across every legislation type (UK Public General Acts, Statutory Instruments, Scottish, Welsh and Northern Ireland legislation, retained EU law), title-to-identifier lookup, tables of contents, the text of one provision or structural division (section, article, regulation, part, chapter, schedule) in its current, enacted/made or point-in-time version, and the changes-to-legislation register. Reads the site's stateless XML/Atom representations (CLML data.xml, Atom data.feed) under the Open Government Licence v3.0.

## 2. Minimal request

Call `POST https://api.firecrawl.dev/v2/scrape` with `{ alexandria: { provider, capability, options } }`. For a batch, send `{ alexandria: [...] }` with up to 10 calls.

```json
{
  "provider": "legislation-gov-uk",
  "capability": "legislation/get_contents",
  "options": {
    "number": 21,
    "type": "ukpga",
    "year": 2008
  }
}
```

## 3. Add provider options

Use only the options needed for the task:

- `number` (number, required): number Example: `10`
- `type` (string, required): Legislation type code, e.g. `ukpga`, `uksi`, `asp`, `wsi`, `nisr`, `eur`. Pattern: ^[a-z]{2,6}$. Example: `<type>`
- `version` (string): `enacted` (Acts) or `made` (instruments) for the original text, or a `YYYY-MM-DD` point-in-time date. Omit for the current text. Pattern: ^(enacted|made|[0-9]{4}-[0-9]{2}-[0-9]{2})$. Example: `<version>`
- `year` (number, required): year Example: `1200`

## 4. Request through your preferred interface

### JavaScript

```javascript
const result = await firecrawl.scrape({
  alexandria: {
    provider: "legislation-gov-uk",
    capability: "legislation/get_contents",
    options: {
      number: 21,
      type: "ukpga",
      year: 2008,
    },
  },
});
```

### Python

```python
result = firecrawl.scrape_alexandria({
  "provider": "legislation-gov-uk",
  "capability": "legislation/get_contents",
  "options": {
    "number": 21,
    "type": "ukpga",
    "year": 2008
  }
})
```

### cURL

```sh
curl https://api.firecrawl.dev/v2/scrape \
  -H "Authorization: Bearer $FIRECRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "alexandria": {
    "provider": "legislation-gov-uk",
    "capability": "legislation/get_contents",
    "options": {
      "number": 21,
      "type": "ukpga",
      "year": 2008
    }
  }
}'
```

### CLI

```sh
firecrawl scrape 'legislation-gov-uk/legislation/get_contents' \
  --options '{"number":21,"type":"ukpga","year":2008}'
```


### MCP

Call the FCX MCP retrieve tool with this object:

```json
{
  "provider": "legislation-gov-uk",
  "capability": "legislation/get_contents",
  "options": {
    "number": 21,
    "type": "ukpga",
    "year": 2008
  }
}
```

Ask for only the returned fields needed by the task.

## 5. Full request shape

```json
{
  "provider": "legislation-gov-uk",
  "capability": "legislation/get_contents",
  "options": {
    "number": 21,
    "type": "ukpga",
    "year": 2008
  }
}
```

## 6. Response data

The response includes `success`, `provider`, `capability`, `creditsCost` and `data`. This example shows the provider payload in `data`:

```json
{
  "document_class": "UnitedKingdomPublicGeneralAct",
  "document_uri": "http://www.legislation.gov.uk/ukpga/2008/21",
  "enactment_date": "2008-11-13",
  "html_url": "https://www.legislation.gov.uk/ukpga/2008/21/contents",
  "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/21",
  "identifier": "ukpga/2008/21",
  "items": [
    {
      "depth": 0,
      "document_uri": "http://www.legislation.gov.uk/ukpga/2008/21/section/1",
      "extent": "E+W",
      "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/21/section/1",
      "level": "item",
      "number": "1",
      "ref": "section-1",
      "start_date": "2026-03-25",
      "title": "Energy policies"
    },
    {
      "depth": 0,
      "document_uri": "http://www.legislation.gov.uk/ukpga/2008/21/section/2",
      "extent": "E+W",
      "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/21/section/2",
      "level": "item",
      "number": "2",
      "ref": "section-2",
      "start_date": "2026-03-25",
      "title": "Interpretation"
    },
    {
      "depth": 0,
      "document_uri": "http://www.legislation.gov.uk/ukpga/2008/21/section/3",
      "extent": "E+W",
      "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/21/section/3",
      "level": "item",
      "number": "3",
      "ref": "section-3",
      "start_date": "2008-11-13",
      "title": "Short title and extent"
    }
  ],
  "long_title": "An Act to enable local planning authorities to set requirements for energy use and energy efficiency in local plans.",
  "modified": "2026-04-30",
  "number_of_provisions": 3,
  "observed_at_ms": 1790487996764,
  "restrict_extent": "E+W",
  "source_url": "https://www.legislation.gov.uk/ukpga/2008/21/contents/data.xml",
  "title": "Planning and Energy Act 2008",
  "valid": "2026-03-25",
  "version": "current"
}
```

## API reference-derived contract

The following capability contract is generated from the same normalized Alexandria API reference exposed in the API spec.

### Get contents

- Capability: `legislation/get_contents`
- Description: Table of contents of one Act or instrument from its CLML `contents/data.xml`: document metadata (title, long title, identifier and document URIs, document class, enactment or made date, modified and valid dates, extent) and a flat, ordered list of every part, chapter, cross-heading, section/article/regulation and schedule with its number, title, depth, identifier URI, document URI and extent. `version` selects the as-enacted/as-made text or a point-in-time date; the default is the current text.
- Instructions: To navigate an Act before `get_provision`: find the section numbers under a heading (e.g. the thresholds in Part 3 of the Planning Act 2008).
- Cost: 5 credits per call
- Capability file: [Get contents](https://firecrawl.dev/alexandria/agents/providers/legislation-gov-uk/legislation/get_contents)

Accepted options:
- `number` (number, required): number Example: `10`
- `type` (string, required): Legislation type code, e.g. `ukpga`, `uksi`, `asp`, `wsi`, `nisr`, `eur`. Pattern: ^[a-z]{2,6}$. Example: `<type>`
- `version` (string): `enacted` (Acts) or `made` (instruments) for the original text, or a `YYYY-MM-DD` point-in-time date. Omit for the current text. Pattern: ^(enacted|made|[0-9]{4}-[0-9]{2}-[0-9]{2})$. Example: `<version>`
- `year` (number, required): year Example: `1200`

Response schema example:
```json
{
  "document_class": "UnitedKingdomPublicGeneralAct",
  "document_uri": "http://www.legislation.gov.uk/ukpga/2008/21",
  "enactment_date": "2008-11-13",
  "html_url": "https://www.legislation.gov.uk/ukpga/2008/21/contents",
  "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/21",
  "identifier": "ukpga/2008/21",
  "items": [
    {
      "depth": 0,
      "document_uri": "http://www.legislation.gov.uk/ukpga/2008/21/section/1",
      "extent": "E+W",
      "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/21/section/1",
      "level": "item",
      "number": "1",
      "ref": "section-1",
      "start_date": "2026-03-25",
      "title": "Energy policies"
    },
    {
      "depth": 0,
      "document_uri": "http://www.legislation.gov.uk/ukpga/2008/21/section/2",
      "extent": "E+W",
      "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/21/section/2",
      "level": "item",
      "number": "2",
      "ref": "section-2",
      "start_date": "2026-03-25",
      "title": "Interpretation"
    },
    {
      "depth": 0,
      "document_uri": "http://www.legislation.gov.uk/ukpga/2008/21/section/3",
      "extent": "E+W",
      "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/21/section/3",
      "level": "item",
      "number": "3",
      "ref": "section-3",
      "start_date": "2008-11-13",
      "title": "Short title and extent"
    }
  ],
  "long_title": "An Act to enable local planning authorities to set requirements for energy use and energy efficiency in local plans.",
  "modified": "2026-04-30",
  "number_of_provisions": 3,
  "observed_at_ms": 1790487996764,
  "restrict_extent": "E+W",
  "source_url": "https://www.legislation.gov.uk/ukpga/2008/21/contents/data.xml",
  "title": "Planning and Energy Act 2008",
  "valid": "2026-03-25",
  "version": "current"
}
```

### Get provision

- Capability: `legislation/get_provision`
- Description: The text of one provision or structural division of an Act or instrument from its CLML `data.xml`: `provision` is the site's path such as `section/14`, `article/3`, `regulation/2`, `part/3`, `chapter/2`, `schedule/6` or `schedule/6/paragraph/1`. Returns document metadata, the division's heading, every section-level provision (`P1`) inside it with its number, heading, identifier URI and plain text (sub-provisions numbered `(1)`, `(a)`), the in-force and extent restrictions, the list of other versions the site holds, and any changes the editorial team has not yet applied (`unapplied_effects`, so you know when the text lags). `version` selects `enacted`/`made`, `prospective` or a `YYYY-MM-DD` point-in-time text; the default is the current text.
- Instructions: To read statute text: e.g. Planning Act 2008 s.14 (nationally significant infrastructure project definitions) or ss.15-30 (thresholds), or Part 3 in one call.
- Cost: 5 credits per call
- Capability file: [Get provision](https://firecrawl.dev/alexandria/agents/providers/legislation-gov-uk/legislation/get_provision)

Accepted options:
- `number` (number, required): number Example: `10`
- `provision` (string, required): Provision path: `section/14`, `article/3`, `regulation/2`, `part/3`, `chapter/1`, `schedule/6`, `schedule/6/paragraph/1`, `part/3/chapter/2`. Pattern: ^(section|article|regulation|rule|part|chapter|schedule|paragraph)/[A-Za-z0-9.]+(/[a-z]+/[A-Za-z0-9.]+)*$. Example: `section/14`
- `type` (string, required): Legislation type code, e.g. `ukpga`, `uksi`, `asp`, `wsi`, `nisr`, `eur`. Pattern: ^[a-z]{2,6}$. Example: `<type>`
- `version` (string): `enacted` (Acts) or `made` (instruments) for the original text, `prospective` for text not yet in force, or a `YYYY-MM-DD` point-in-time date. Omit for the current text. Pattern: ^(enacted|made|prospective|[0-9]{4}-[0-9]{2}-[0-9]{2})$. Example: `<version>`
- `year` (number, required): year Example: `1200`

Response schema example:
```json
{
  "division": {
    "document_uri": "http://www.legislation.gov.uk/ukpga/2008/29/section/14",
    "extent": "E+W+S",
    "heading": "Nationally significant infrastructure projects: general",
    "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29/section/14",
    "kind": "p1",
    "number": "14",
    "start_date": "2023-07-02"
  },
  "document_class": "UnitedKingdomPublicGeneralAct",
  "document_uri": "http://www.legislation.gov.uk/ukpga/2008/29",
  "html_url": "https://www.legislation.gov.uk/ukpga/2008/29/section/14",
  "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29",
  "identifier": "ukpga/2008/29",
  "modified": "2026-08-04",
  "observed_at_ms": 1790487979492,
  "provision": "section/14",
  "provisions": [
    {
      "document_uri": "http://www.legislation.gov.uk/ukpga/2008/29/section/14",
      "extent": "E+W+S",
      "heading": "Nationally significant infrastructure projects: general",
      "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29/section/14",
      "number": "14",
      "start_date": "2023-07-02",
      "subprovisions": [
        {
          "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29/section/14/1",
          "number": "1",
          "start_date": "2018-01-01",
          "text": "(1) In this Act “nationally significant infrastructure project” means a project which consists of any of the following—\n(a) the construction or extension of a generating station;\n(b) the installation of an electric line above ground;\n(c) development relating to underground gas storage facilities;\n(d) the construction or alteration of an LNG facility;\n(e) the construction or alteration of a gas reception facility;\n(f) the construction of a pipe-line by a gas transporter;\n(g) the construction of a pipe-line other than by a gas transporter;\n(h) highway-related development;\n(i) airport-related development;\n(j) the construction or alteration of harbour facilities;\n(k) the construction or alteration of a railway;\n(l) the construction or alteration of a rail freight interchange;\n(m) the construction or alteration of a dam or reservoir;\n(n) development relating to the transfer of water resources;\n(na) the construction or alteration of a desalination plant;\n(o) the construction or alteration of a waste water treatment plant or of infrastructure for the transfer or storage of waste water ;\n(p) the construction or alteration of a hazardous waste facility ;\n(q) development relating to a radioactive waste geological disposal facility."
        },
        {
          "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29/section/14/2",
          "number": "2",
          "start_date": "2010-03-01",
          "text": "(2) Subsection (1) is subject to sections 15 to 30A ."
        },
        {
          "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29/section/14/3",
          "number": "3",
          "start_date": "2010-03-01",
          "text": "(3) The Secretary of State may by order—\n(a) amend subsection (1) to add a new type of project or vary or remove an existing type of project;\n(b) make further provision, or amend or repeal existing provision, about the types of project which are, and are not, within subsection (1)."
        },
        {
          "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29/section/14/3A",
          "number": "3A",
          "start_date": null,
          "text": "(3A) An order under subsection (3)(a) may also amend section 6(7)(a) of the Public Order Act 2023 (obstruction etc of major transport works)."
        },
        {
          "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29/section/14/4",
          "number": "4",
          "start_date": "2010-03-01",
          "text": "(4) An order under subsection (3)(b) may amend this Act."
        },
        {
          "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29/section/14/5",
          "number": "5",
          "start_date": "2010-03-01",
          "text": "(5) The power conferred by subsection (3) may be exercised to add a new type of project to subsection (1) only if—\n(a) a project of the new type is a project for the carrying out of works in one or more of the fields specified in subsection (6), and\n(b) the works are to be carried out wholly in one or more of the areas specified in subsection (7)."
        },
        {
          "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29/section/14/6",
          "number": "6",
          "start_date": "2010-03-01",
          "text": "(6) The fields are—\n(a) energy;\n(b) transport;\n(c) water;\n(d) waste water;\n(e) waste."
        },
        {
          "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29/section/14/7",
          "number": "7",
          "start_date": "2010-03-01",
          "text": "(7) The areas are—\n(a) England;\n(b) waters adjacent to England up to the seaward limits of the territorial sea;\n(c) in the case of a project for the carrying out of works in the field of energy, a Renewable Energy Zone, except any part of a Renewable Energy Zone in relation to which the Scottish Ministers have functions."
        }
      ],
      "text": "(1) In this Act “nationally significant infrastructure project” means a project which consists of any of the following—\n(a) the construction or extension of a generating station;\n(b) the installation of an electric line above ground;\n(c) development relating to underground gas storage facilities;\n(d) the construction or alteration of an LNG facility;\n(e) the construction or alteration of a gas reception facility;\n(f) the construction of a pipe-line by a gas transporter;\n(g) the construction of a pipe-line other than by a gas transporter;\n(h) highway-related development;\n(i) airport-related development;\n(j) the construction or alteration of harbour facilities;\n(k) the construction or alteration of a railway;\n(l) the construction or alteration of a rail freight interchange;\n(m) the construction or alteration of a dam or reservoir;\n(n) development relating to the transfer of water resources;\n(na) the construction or alteration of a desalination plant;\n(o) the construction or alteration of a waste water treatment plant or of infrastructure for the transfer or storage of waste water ;\n(p) the construction or alteration of a hazardous waste facility ;\n(q) development relating to a radioactive waste geological disposal facility.\n(2) Subsection (1) is subject to sections 15 to 30A .\n(3) The Secretary of State may by order—\n(a) amend subsection (1) to add a new type of project or vary or remove an existing type of project;\n(b) make further provision, or amend or repeal existing provision, about the types of project which are, and are not, within subsection (1).\n(3A) An order under subsection (3)(a) may also amend section 6(7)(a) of the Public Order Act 2023 (obstruction etc of major transport works).\n(4) An order under subsection (3)(b) may amend this Act.\n(5) The power conferred by subsection (3) may be exercised to add a new type of project to subsection (1) only if—\n(a) a project of the new type is a project for the carrying out of works in one or more of the fields specified in subsection (6), and\n(b) the works are to be carried out wholly in one or more of the areas specified in subsection (7).\n(6) The fields are—\n(a) energy;\n(b) transport;\n(c) water;\n(d) waste water;\n(e) waste.\n(7) The areas are—\n(a) England;\n(b) waters adjacent to England up to the seaward limits of the territorial sea;\n(c) in the case of a project for the carrying out of works in the field of energy, a Renewable Energy Zone, except any part of a Renewable Energy Zone in relation to which the Scottish Ministers have functions."
    }
  ],
  "restrict_extent": "E+W+S+N.I.",
  "restrict_start_date": "2026-07-24",
  "source_url": "https://www.legislation.gov.uk/ukpga/2008/29/section/14/data.xml",
  "title": "Planning Act 2008",
  "unapplied_effects": [
    {
      "affected_provisions": "Sch. 6 para. 4(6A)-(6C)",
      "affecting_provisions": "s. 12(4)",
      "affecting_title": "Planning and Infrastructure Act 2025",
      "affecting_uri": "http://www.legislation.gov.uk/id/ukpga/2025/34",
      "effect_id": "key-68d934151df99d5f70e9e84b2e6f574c",
      "in_force": [
        {
          "applied": false,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        }
      ],
      "type": "inserted",
      "uri": "http://www.legislation.gov.uk/id/effect/key-68d934151df99d5f70e9e84b2e6f574c"
    },
    {
      "affected_provisions": "s. 5(11)",
      "affecting_provisions": "Sch. 2 para. 387",
      "affecting_title": "Planning (Consequential Provisions) (Wales) Act 2026",
      "affecting_uri": "http://www.legislation.gov.uk/id/asc/2026/7",
      "effect_id": "key-bb98d0330e5dd1ed182fd1eefa7a4cc5",
      "in_force": [
        {
          "applied": false,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        }
      ],
      "type": "inserted",
      "uri": "http://www.legislation.gov.uk/id/effect/asc-2026-7-7j0muiu6-1315"
    },
    {
      "affected_provisions": "s. 32(1A)",
      "affecting_provisions": "Sch. 2 para. 388(a)",
      "affecting_title": "Planning (Consequential Provisions) (Wales) Act 2026",
      "affecting_uri": "http://www.legislation.gov.uk/id/asc/2026/7",
      "effect_id": "key-6686338b8d534631eac361d2132b4c62",
      "in_force": [
        {
          "applied": false,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        }
      ],
      "type": "inserted",
      "uri": "http://www.legislation.gov.uk/id/effect/asc-2026-7-7j0muiu6-1316"
    },
    {
      "affected_provisions": "s. 53(12)",
      "affecting_provisions": "Sch. 2 para. 389",
      "affecting_title": "Planning (Consequential Provisions) (Wales) Act 2026",
      "affecting_uri": "http://www.legislation.gov.uk/id/asc/2026/7",
      "effect_id": "key-31a420de96929a765f5ecd755480ece5",
      "in_force": [
        {
          "applied": false,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        }
      ],
      "type": "inserted",
      "uri": "http://www.legislation.gov.uk/id/effect/asc-2026-7-7j0muiu6-1322"
    },
    {
      "affected_provisions": "s. 138(4AA)",
      "affecting_provisions": "Sch. 2 para. 390",
      "affecting_title": "Planning (Consequential Provisions) (Wales) Act 2026",
      "affecting_uri": "http://www.legislation.gov.uk/id/asc/2026/7",
      "effect_id": "key-55ec2bf7dbe76b1aad869368ca4fc5a5",
      "in_force": [
        {
          "applied": false,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        }
      ],
      "type": "inserted",
      "uri": "http://www.legislation.gov.uk/id/effect/asc-2026-7-7j0muiu6-1323"
    },
    {
      "affected_provisions": "s. 235(1A)",
      "affecting_provisions": "Sch. 2 para. 396(b)",
      "affecting_title": "Planning (Consequential Provisions) (Wales) Act 2026",
      "affecting_uri": "http://www.legislation.gov.uk/id/asc/2026/7",
      "effect_id": "key-b95b0391fd4d9e902df7f9acfd7fbe03",
      "in_force": [
        {
          "applied": false,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        }
      ],
      "type": "inserted",
      "uri": "http://www.legislation.gov.uk/id/effect/asc-2026-7-7j0muiu6-1342"
    },
    {
      "affected_provisions": "s. 206(3)(aa)(ab)",
      "affecting_provisions": "Sch. 17 para. 1(2)(a)",
      "affecting_title": "English Devolution and Community Empowerment Act 2026",
      "affecting_uri": "http://www.legislation.gov.uk/id/ukpga/2026/23",
      "effect_id": "key-1e2c2d613544ba9a8760555b5f0c6194",
      "in_force": [
        {
          "applied": false,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        }
      ],
      "type": "inserted",
      "uri": "http://www.legislation.gov.uk/id/effect/key-1e2c2d613544ba9a8760555b5f0c6194"
    },
    {
      "affected_provisions": "s. 206(3A)",
      "affecting_provisions": "Sch. 17 para. 1(2)(b)",
      "affecting_title": "English Devolution and Community Empowerment Act 2026",
      "affecting_uri": "http://www.legislation.gov.uk/id/ukpga/2026/23",
      "effect_id": "key-7e43bd05e7953b284af904c0b00e3641",
      "in_force": [
        {
          "applied": false,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        }
      ],
      "type": "inserted",
      "uri": "http://www.legislation.gov.uk/id/effect/key-7e43bd05e7953b284af904c0b00e3641"
    },
    {
      "affected_provisions": "s. 206(7)(8)",
      "affecting_provisions": "Sch. 17 para. 1(2)(d)",
      "affecting_title": "English Devolution and Community Empowerment Act 2026",
      "affecting_uri": "http://www.legislation.gov.uk/id/ukpga/2026/23",
      "effect_id": "key-fb12d965c56f70940813992245ccf943",
      "in_force": [
        {
          "applied": false,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        }
      ],
      "type": "inserted",
      "uri": "http://www.legislation.gov.uk/id/effect/key-fb12d965c56f70940813992245ccf943"
    },
    {
      "affected_provisions": "s. 213(3ZA)(3ZB)",
      "affecting_provisions": "Sch. 17 para. 1(3)(c)",
      "affecting_title": "English Devolution and Community Empowerment Act 2026",
      "affecting_uri": "http://www.legislation.gov.uk/id/ukpga/2026/23",
      "effect_id": "key-e5e28d2df8b2ab490fbc8a2f6756ebb8",
      "in_force": [
        {
          "applied": false,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        }
      ],
      "type": "inserted",
      "uri": "http://www.legislation.gov.uk/id/effect/key-e5e28d2df8b2ab490fbc8a2f6756ebb8"
    },
    {
      "affected_provisions": "s. 214(6A)-(6C)",
      "affecting_provisions": "Sch. 17 para. 1(4)(c)",
      "affecting_title": "English Devolution and Community Empowerment Act 2026",
      "affecting_uri": "http://www.legislation.gov.uk/id/ukpga/2026/23",
      "effect_id": "key-54e5f3a4b1928db79940a70679450f08",
      "in_force": [
        {
          "applied": false,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        }
      ],
      "type": "inserted",
      "uri": "http://www.legislation.gov.uk/id/effect/key-54e5f3a4b1928db79940a70679450f08"
    },
    {
      "affected_provisions": "s. 223(1)(za)",
      "affecting_provisions": "s. 139(6)",
      "affecting_title": "Levelling-up and Regeneration Act 2023",
      "affecting_uri": "http://www.legislation.gov.uk/id/ukpga/2023/55",
      "effect_id": "key-34aac93b7cb0d373126e5b931b2f9c95",
      "in_force": [
        {
          "applied": false,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        }
      ],
      "type": "inserted",
      "uri": "http://www.legislation.gov.uk/id/effect/key-34aac93b7cb0d373126e5b931b2f9c95"
    },
    {
      "affected_provisions": "Pt. 10A",
      "affecting_provisions": "Sch. 12 para. 1",
      "affecting_title": "Levelling-up and Regeneration Act 2023",
      "affecting_uri": "http://www.legislation.gov.uk/id/ukpga/2023/55",
      "effect_id": "key-2817ce77c05b36a8e449a9261688dacb",
      "in_force": [
        {
          "applied": false,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        }
      ],
      "type": "inserted",
      "uri": "http://www.legislation.gov.uk/id/effect/key-2817ce77c05b36a8e449a9261688dacb"
    }
  ],
  "valid": "2026-07-24",
  "version": "current",
  "versions": [
    {
      "label": "enacted",
      "url": "http://www.legislation.gov.uk/ukpga/2008/29/section/14/enacted"
    },
    {
      "label": "2008-11-26",
      "url": "http://www.legislation.gov.uk/ukpga/2008/29/section/14/2008-11-26"
    },
    {
      "label": "2010-03-01",
      "url": "http://www.legislation.gov.uk/ukpga/2008/29/section/14/2010-03-01"
    },
    {
      "label": "2011-04-06",
      "url": "http://www.legislation.gov.uk/ukpga/2008/29/section/14/2011-04-06"
    },
    {
      "label": "2011-10-01",
      "url": "http://www.legislation.gov.uk/ukpga/2008/29/section/14/2011-10-01"
    },
    {
      "label": "2012-06-23",
      "url": "http://www.legislation.gov.uk/ukpga/2008/29/section/14/2012-06-23"
    },
    {
      "label": "2015-03-27",
      "url": "http://www.legislation.gov.uk/ukpga/2008/29/section/14/2015-03-27"
    },
    {
      "label": "2018-01-01",
      "url": "http://www.legislation.gov.uk/ukpga/2008/29/section/14/2018-01-01"
    },
    {
      "label": "2019-01-09",
      "url": "http://www.legislation.gov.uk/ukpga/2008/29/section/14/2019-01-09"
    },
    {
      "label": "2023-07-02",
      "url": "http://www.legislation.gov.uk/ukpga/2008/29/section/14/2023-07-02"
    }
  ]
}
```

### List changes

- Capability: `legislation/list_changes`
- Description: The changes-to-legislation register for one Act or instrument as the site's Atom feed (`/changes/{affected|affecting}/{type}/{year}/{number}/data.feed`): `affected` lists effects made on this legislation by others, `affecting` lists effects this legislation makes on others. Each effect carries the effect id and URI, the kind of change, affected and affecting legislation (title, URI, provisions), whether the editorial team has applied it, and the in-force dates with the commencing instrument. `per_page` (default 20, at most 50) effects per page, newest modified first; the continuation cursor is the next page number.
- Instructions: To see amendments, repeals and commencements touching an Act (e.g. what the Planning and Infrastructure Act 2025 changed in the Planning Act 2008) and whether they are applied in the current text yet.
- Cost: 5 credits per call
- Capability file: [List changes](https://firecrawl.dev/alexandria/agents/providers/legislation-gov-uk/legislation/list_changes)

Accepted options:
- `direction` (string): `affected`: changes made to this legislation. `affecting`: changes this legislation makes to others. Example: `affected`
- `number` (number, required): number Example: `10`
- `page` (number): page Example: `1`
- `per_page` (number): Effects per page (`results-count`), 1-50. Example: `20`
- `type` (string, required): Legislation type code, e.g. `ukpga`, `uksi`, `asp`. Pattern: ^[a-z]{2,6}$. Example: `<type>`
- `year` (number, required): year Example: `1200`

Response schema example:
```json
{
  "direction": "affected",
  "effects": [
    {
      "affected_provisions": "s. 6(7)(b)(i)",
      "affected_title": "Planning Act 2008",
      "affected_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29",
      "affecting_provisions": "s. 2(2)(a)",
      "affecting_title": "Planning and Infrastructure Act 2025",
      "affecting_uri": "http://www.legislation.gov.uk/id/ukpga/2025/34",
      "applied": true,
      "commencement_authority": "s. 118(1)(a)",
      "effect_id": "key-a2d5f3f9bf759e382f398045682a474e",
      "in_force": [
        {
          "applied": true,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        },
        {
          "applied": null,
          "commencing_uri": "http://www.legislation.gov.uk/id/uksi/2025/1370",
          "date": "2026-02-18",
          "prospective": null,
          "qualification": "wholly in force"
        }
      ],
      "modified": "2026-08-17T12:59:34Z",
      "requires_applied": true,
      "savings": "s. 2(4) 116",
      "type": "words omitted",
      "uri": "http://www.legislation.gov.uk/id/effect/key-a2d5f3f9bf759e382f398045682a474e"
    },
    {
      "affected_provisions": "s. 6(7A)",
      "affected_title": "Planning Act 2008",
      "affected_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29",
      "affecting_provisions": "s. 2(2)(b)",
      "affecting_title": "Planning and Infrastructure Act 2025",
      "affecting_uri": "http://www.legislation.gov.uk/id/ukpga/2025/34",
      "applied": true,
      "commencement_authority": "s. 118(1)(a)",
      "effect_id": "key-299497a717169792b4b81dad1ec8dee2",
      "in_force": [
        {
          "applied": true,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        },
        {
          "applied": null,
          "commencing_uri": "http://www.legislation.gov.uk/id/uksi/2025/1370",
          "date": "2026-02-18",
          "prospective": null,
          "qualification": "wholly in force"
        }
      ],
      "modified": "2026-08-17T12:59:34Z",
      "requires_applied": true,
      "savings": "s. 2(4) 116",
      "type": "words omitted",
      "uri": "http://www.legislation.gov.uk/id/effect/key-299497a717169792b4b81dad1ec8dee2"
    },
    {
      "affected_provisions": "s. 6(10)",
      "affected_title": "Planning Act 2008",
      "affected_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29",
      "affecting_provisions": "s. 2(2)(c)",
      "affecting_title": "Planning and Infrastructure Act 2025",
      "affecting_uri": "http://www.legislation.gov.uk/id/ukpga/2025/34",
      "applied": true,
      "commencement_authority": "s. 118(1)(a)",
      "effect_id": "key-c4860b9e5ee20d71e40426f2b0e84bcf",
      "in_force": [
        {
          "applied": true,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        },
        {
          "applied": null,
          "commencing_uri": "http://www.legislation.gov.uk/id/uksi/2025/1370",
          "date": "2026-02-18",
          "prospective": null,
          "qualification": "wholly in force"
        }
      ],
      "modified": "2026-08-17T12:59:34Z",
      "requires_applied": true,
      "savings": "s. 2(4) 116",
      "type": "inserted",
      "uri": "http://www.legislation.gov.uk/id/effect/key-c4860b9e5ee20d71e40426f2b0e84bcf"
    },
    {
      "affected_provisions": "s. 6ZA",
      "affected_title": "Planning Act 2008",
      "affected_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29",
      "affecting_provisions": "s. 1(6)",
      "affecting_title": "Planning and Infrastructure Act 2025",
      "affecting_uri": "http://www.legislation.gov.uk/id/ukpga/2025/34",
      "applied": true,
      "commencement_authority": "s. 118(1)(a)",
      "effect_id": "key-7d16af01b0d2de09a96f80415f3a660b",
      "in_force": [
        {
          "applied": true,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        },
        {
          "applied": null,
          "commencing_uri": "http://www.legislation.gov.uk/id/uksi/2025/1370",
          "date": "2026-02-18",
          "prospective": null,
          "qualification": "wholly in force"
        }
      ],
      "modified": "2026-08-17T12:59:34Z",
      "requires_applied": true,
      "savings": "s. 116",
      "type": "inserted",
      "uri": "http://www.legislation.gov.uk/id/effect/key-7d16af01b0d2de09a96f80415f3a660b"
    },
    {
      "affected_provisions": "s. 35B-35D",
      "affected_title": "Planning Act 2008",
      "affected_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29",
      "affecting_provisions": "s. 4(4)",
      "affecting_title": "Planning and Infrastructure Act 2025",
      "affecting_uri": "http://www.legislation.gov.uk/id/ukpga/2025/34",
      "applied": true,
      "commencement_authority": "s. 118(1)(c)",
      "effect_id": "key-dc603feaada09e5eeeb40a417dde475b",
      "in_force": [
        {
          "applied": true,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        },
        {
          "applied": null,
          "commencing_uri": "http://www.legislation.gov.uk/id/uksi/2026/641",
          "date": "2026-07-24",
          "prospective": null,
          "qualification": "wholly in force"
        }
      ],
      "modified": "2026-08-17T12:59:34Z",
      "requires_applied": true,
      "savings": "s. 116",
      "type": "inserted",
      "uri": "http://www.legislation.gov.uk/id/effect/key-dc603feaada09e5eeeb40a417dde475b"
    },
    {
      "affected_provisions": "s. 35ZA(10A)",
      "affected_title": "Planning Act 2008",
      "affected_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29",
      "affecting_provisions": "s. 4(3)",
      "affecting_title": "Planning and Infrastructure Act 2025",
      "affecting_uri": "http://www.legislation.gov.uk/id/ukpga/2025/34",
      "applied": true,
      "commencement_authority": "s. 118(1)(c)",
      "effect_id": "key-a72bcf8d3dfe39e7a76496b1aa340016",
      "in_force": [
        {
          "applied": true,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        },
        {
          "applied": null,
          "commencing_uri": "http://www.legislation.gov.uk/id/uksi/2026/641",
          "date": "2026-07-24",
          "prospective": null,
          "qualification": "wholly in force"
        }
      ],
      "modified": "2026-08-17T12:59:34Z",
      "requires_applied": true,
      "savings": "s. 116",
      "type": "inserted",
      "uri": "http://www.legislation.gov.uk/id/effect/key-a72bcf8d3dfe39e7a76496b1aa340016"
    },
    {
      "affected_provisions": "s. 37(3)(b)",
      "affected_title": "Planning Act 2008",
      "affected_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29",
      "affecting_provisions": "s. 6(2)(a)(i)",
      "affecting_title": "Planning and Infrastructure Act 2025",
      "affecting_uri": "http://www.legislation.gov.uk/id/ukpga/2025/34",
      "applied": true,
      "commencement_authority": "s. 118(1)(c)",
      "effect_id": "key-e18014e013e6a2a4a4e99cbf2dc70110",
      "in_force": [
        {
          "applied": true,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        },
        {
          "applied": null,
          "commencing_uri": "http://www.legislation.gov.uk/id/uksi/2026/641",
          "date": "2026-07-24",
          "prospective": null,
          "qualification": "wholly in force"
        }
      ],
      "modified": "2026-08-17T12:59:34Z",
      "requires_applied": true,
      "savings": "s. 116",
      "type": "word inserted",
      "uri": "http://www.legislation.gov.uk/id/effect/key-e18014e013e6a2a4a4e99cbf2dc70110"
    },
    {
      "affected_provisions": "s. 37(3)(c)",
      "affected_title": "Planning Act 2008",
      "affected_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29",
      "affecting_provisions": "s. 6(2)(a)(ii)",
      "affecting_title": "Planning and Infrastructure Act 2025",
      "affecting_uri": "http://www.legislation.gov.uk/id/ukpga/2025/34",
      "applied": true,
      "commencement_authority": "s. 118(1)(c)",
      "effect_id": "key-dfa9d3d457fcd64200484686387e305b",
      "in_force": [
        {
          "applied": true,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        },
        {
          "applied": null,
          "commencing_uri": "http://www.legislation.gov.uk/id/uksi/2026/641",
          "date": "2026-07-24",
          "prospective": null,
          "qualification": "wholly in force"
        }
      ],
      "modified": "2026-08-17T12:59:34Z",
      "requires_applied": true,
      "savings": "s. 116",
      "type": "omitted",
      "uri": "http://www.legislation.gov.uk/id/effect/key-dfa9d3d457fcd64200484686387e305b"
    },
    {
      "affected_provisions": "s. 37(7)",
      "affected_title": "Planning Act 2008",
      "affected_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29",
      "affecting_provisions": "s. 6(2)(b)",
      "affecting_title": "Planning and Infrastructure Act 2025",
      "affecting_uri": "http://www.legislation.gov.uk/id/ukpga/2025/34",
      "applied": true,
      "commencement_authority": "s. 118(1)(c)",
      "effect_id": "key-8d7eb3c9e8f61a7fe24deb926102ebf7",
      "in_force": [
        {
          "applied": true,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        },
        {
          "applied": null,
          "commencing_uri": "http://www.legislation.gov.uk/id/uksi/2026/641",
          "date": "2026-07-24",
          "prospective": null,
          "qualification": "wholly in force"
        }
      ],
      "modified": "2026-08-17T12:59:34Z",
      "requires_applied": true,
      "savings": "s. 116",
      "type": "omitted",
      "uri": "http://www.legislation.gov.uk/id/effect/key-8d7eb3c9e8f61a7fe24deb926102ebf7"
    },
    {
      "affected_provisions": "s. 37(8)",
      "affected_title": "Planning Act 2008",
      "affected_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29",
      "affecting_provisions": "s. 6(2)(b)",
      "affecting_title": "Planning and Infrastructure Act 2025",
      "affecting_uri": "http://www.legislation.gov.uk/id/ukpga/2025/34",
      "applied": true,
      "commencement_authority": "s. 118(1)(c)",
      "effect_id": "key-37bc29b801c63cd00444409ad694b685",
      "in_force": [
        {
          "applied": true,
          "commencing_uri": null,
          "date": null,
          "prospective": true,
          "qualification": null
        },
        {
          "applied": null,
          "commencing_uri": "http://www.legislation.gov.uk/id/uksi/2026/641",
          "date": "2026-07-24",
          "prospective": null,
          "qualification": "wholly in force"
        }
      ],
      "modified": "2026-08-17T12:59:34Z",
      "requires_applied": true,
      "savings": "s. 116",
      "type": "omitted",
      "uri": "http://www.legislation.gov.uk/id/effect/key-37bc29b801c63cd00444409ad694b685"
    }
  ],
  "html_url": "https://www.legislation.gov.uk/changes/affected/ukpga/2008/29",
  "identifier": "ukpga/2008/29",
  "items_per_page": 10,
  "observed_at_ms": 1790488001043,
  "page": 1,
  "source_url": "https://www.legislation.gov.uk/changes/affected/ukpga/2008/29/data.feed?results-count=10&sort=modified&page=1",
  "start_index": 1,
  "total_pages": 123,
  "total_results": 1222
}
```

### Lookup identifier

- Capability: `legislation/lookup_identifier`
- Description: Resolve a legislation title (optionally narrowed by type, year and number) to its identifier through `/id?title=...`. A unique match is a 301 to `/id/{type}/{year}/{number}` and returns `resolved: true` with that identifier; an ambiguous title is the site's 300 Multiple Choices page and returns `resolved: false` with every candidate (identifier, title). A title the site knows nothing about is `not_found`. Uncached lookups can take several seconds.
- Instructions: When you have an exact or near-exact title and need the `type`/`year`/`number` key; use `search_legislation` for word searches and paging.
- Cost: 5 credits per call
- Capability file: [Lookup identifier](https://firecrawl.dev/alexandria/agents/providers/legislation-gov-uk/legislation/lookup_identifier)

Accepted options:
- `number` (number): number Example: `10`
- `title` (string, required): Title, e.g. `Planning Act 2008`. Example: `Planning Act 2008`
- `type` (string): Legislation type code to narrow the match (`ukpga`, `uksi`, `asp`, ...). Pattern: ^[a-z]{2,6}$. Example: `<type>`
- `year` (number): year Example: `1200`

Response schema example:
```json
{
  "candidates": [
    {
      "id_uri": "http://www.legislation.gov.uk/id/ukpga/2007/2",
      "identifier": "ukpga/2007/2",
      "number": "2",
      "title": "Planning-gain Supplement (Preparations) Act 2007",
      "type": "ukpga",
      "year": 2007
    },
    {
      "id_uri": "http://www.legislation.gov.uk/id/asp/2006/17",
      "identifier": "asp/2006/17",
      "number": "17",
      "title": "Planning etc. (Scotland) Act 2006",
      "type": "asp",
      "year": 2006
    },
    {
      "id_uri": "http://www.legislation.gov.uk/id/ukpga/2025/34",
      "identifier": "ukpga/2025/34",
      "number": "34",
      "title": "Planning and Infrastructure Act 2025",
      "type": "ukpga",
      "year": 2025
    },
    {
      "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/21",
      "identifier": "ukpga/2008/21",
      "number": "21",
      "title": "Planning and Energy Act 2008",
      "type": "ukpga",
      "year": 2008
    },
    {
      "id_uri": "http://www.legislation.gov.uk/id/ukpga/2004/5",
      "identifier": "ukpga/2004/5",
      "number": "5",
      "title": "Planning and Compulsory Purchase Act 2004",
      "type": "ukpga",
      "year": 2004
    },
    {
      "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29",
      "identifier": "ukpga/2008/29",
      "number": "29",
      "title": "Planning Act 2008",
      "type": "ukpga",
      "year": 2008
    },
    {
      "id_uri": "http://www.legislation.gov.uk/id/nia/2011/25",
      "identifier": "nia/2011/25",
      "number": "25",
      "title": "Planning Act (Northern Ireland) 2011",
      "type": "nia",
      "year": 2011
    },
    {
      "id_uri": "http://www.legislation.gov.uk/id/asc/2026/6",
      "identifier": "asc/2026/6",
      "number": "6",
      "title": "Planning (Wales) Act 2026",
      "type": "asc",
      "year": 2026
    },
    {
      "id_uri": "http://www.legislation.gov.uk/id/anaw/2015/4",
      "identifier": "anaw/2015/4",
      "number": "4",
      "title": "Planning (Wales) Act 2015",
      "type": "anaw",
      "year": 2015
    },
    {
      "id_uri": "http://www.legislation.gov.uk/id/asp/2019/13",
      "identifier": "asp/2019/13",
      "number": "13",
      "title": "Planning (Scotland) Act 2019",
      "type": "asp",
      "year": 2019
    },
    {
      "id_uri": "http://www.legislation.gov.uk/id/ukpga/1997/10",
      "identifier": "ukpga/1997/10",
      "number": "10",
      "title": "Planning (Hazardous Substances) (Scotland) Act 1997",
      "type": "ukpga",
      "year": 1997
    },
    {
      "id_uri": "http://www.legislation.gov.uk/id/asc/2026/7",
      "identifier": "asc/2026/7",
      "number": "7",
      "title": "Planning (Consequential Provisions) (Wales) Act 2026",
      "type": "asc",
      "year": 2026
    },
    {
      "id_uri": "http://www.legislation.gov.uk/id/ukpga/1997/11",
      "identifier": "ukpga/1997/11",
      "number": "11",
      "title": "Planning (Consequential Provisions) (Scotland) Act 1997",
      "type": "ukpga",
      "year": 1997
    },
    {
      "id_uri": "http://www.legislation.gov.uk/id/nia/2001/2",
      "identifier": "nia/2001/2",
      "number": "2",
      "title": "Planning (Compensation, etc.) Act (Northern Ireland) 2001",
      "type": "nia",
      "year": 2001
    },
    {
      "id_uri": "http://www.legislation.gov.uk/id/ukpga/2016/13",
      "identifier": "ukpga/2016/13",
      "number": "13",
      "title": "Northern Ireland (Stormont Agreement and Implementation Plan) Act 2016",
      "type": "ukpga",
      "year": 2016
    },
    {
      "id_uri": "http://www.legislation.gov.uk/id/ukpga/2017/20",
      "identifier": "ukpga/2017/20",
      "number": "20",
      "title": "Neighbourhood Planning Act 2017",
      "type": "ukpga",
      "year": 2017
    },
    {
      "id_uri": "http://www.legislation.gov.uk/id/ukpga/2016/22",
      "identifier": "ukpga/2016/22",
      "number": "22",
      "title": "Housing and Planning Act 2016",
      "type": "ukpga",
      "year": 2016
    },
    {
      "id_uri": "http://www.legislation.gov.uk/id/eudn/2012/140",
      "identifier": "eudn/2012/140",
      "number": "140",
      "title": "Commission Decision of 20 September 2011 on the measure C 35/10 (ex N 302/10) which Denmark is planning to implement in the form of duties for online gambling in the Danish Gaming Duties Act (notified under document C(2011) 6499) (Only the Danish text is authentic) (Text with EEA relevance) (2012/140/EU)",
      "type": "eudn",
      "year": 2012
    },
    {
      "id_uri": "http://www.legislation.gov.uk/id/asp/2026/16",
      "identifier": "asp/2026/16",
      "number": "16",
      "title": "Children (Care, Care Experience and Services Planning) (Scotland) Act 2026",
      "type": "asp",
      "year": 2026
    },
    {
      "id_uri": "http://www.legislation.gov.uk/id/ukpga/2020/16",
      "identifier": "ukpga/2020/16",
      "number": "16",
      "title": "Business and Planning Act 2020",
      "type": "ukpga",
      "year": 2020
    }
  ],
  "match": null,
  "observed_at_ms": 1790487992690,
  "query": {
    "number": null,
    "title": "Planning Act",
    "type": null,
    "year": null
  },
  "resolved": false,
  "source_url": "https://www.legislation.gov.uk/id?title=Planning+Act"
}
```

### Search legislation

- Capability: `legislation/search_legislation`
- Description: Search or list UK legislation as the site's Atom feed (`/{type}[/{year}]/data.feed`): title words, full-text words, a legislation type or family (`ukpga`, `uksi`, `asp`, ..., or `all`, `primary`, `secondary`, `primary+secondary`) and a year, 20 results per page. Each result carries the identifier URI (`/id/{type}/{year}/{number}`), type, year, number, title, long-title summary, subject categories, dates and the URLs of its contents and XML. With `sort: "published"` and no query this is the newest-legislation listing. A query with no matches is an empty `results` array, not an error.
- Instructions: Start here to find the `type`/`year`/`number` of an Act or instrument by title or subject words before calling `get_contents`, `get_provision` or `list_changes`.
- Cost: 5 credits per call
- Capability file: [Search legislation](https://firecrawl.dev/alexandria/agents/providers/legislation-gov-uk/legislation/search_legislation)

Accepted options:
- `page` (number): 1-based page of 20 results; the continuation cursor is the next page number. Example: `1`
- `sort` (string): `published` orders by publication date, newest first (the site's What's New listing). Omit for the site's default relevance/title order. Example: `published`
- `text` (string): Full-text search words, e.g. `nationally significant infrastructure project`. Example: `nationally significant infrastructure project`
- `title` (string): Words that must appear in the title, e.g. `Planning Act`. Example: `Planning Act`
- `type` (string): Legislation type code (`ukpga`, `ukla`, `asp`, `asc`, `anaw`, `nia`, `uksi`, `wsi`, `ssi`, `nisr`, `eur`, `eudn`, `eudr`, ...) or family: `all`, `primary`, `secondary`, `primary+secondary` (default). Pattern: ^[a-z]{2,9}(\+[a-z]{2,9})?$. Example: `primary+secondary`
- `year` (number): Calendar year of the legislation. Example: `1200`

Response schema example:
```json
{
  "items_per_page": 20,
  "observed_at_ms": 1790487988557,
  "page": 1,
  "query": {
    "sort": null,
    "text": null,
    "title": "Planning Act",
    "type": "primary+secondary",
    "year": 2008
  },
  "results": [
    {
      "categories": [
        "Planning (town and country)",
        "Hearings",
        "Waste local plan",
        "Waste policies and regulation",
        "Injunctions"
      ],
      "contents_url": "http://www.legislation.gov.uk/ukpga/2008/29/contents",
      "data_xml_url": "http://www.legislation.gov.uk/ukpga/2008/29/2026-07-24/data.xml",
      "document_class": "UnitedKingdomPublicGeneralAct",
      "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/29",
      "identifier": "ukpga/2008/29",
      "isbn": "9780105429081",
      "latest_version_url": "http://www.legislation.gov.uk/ukpga/2008/29/2026-07-24",
      "number": "29",
      "published": "2008-11-26T00:00:00+01:00",
      "summary": "An Act to establish the Infrastructure Planning Commission and make provision about its functions; to make provision about, and about matters ancillary to, the authorisation of projects for the development of nationally significant infrastructure; to make provision about town and country planning; to make provision about the imposition of a Community Infrastructure Levy; and for connected purposes.",
      "title": "Planning Act 2008",
      "type": "ukpga",
      "updated": "2026-08-04T11:48:01+01:00",
      "year": 2008
    },
    {
      "categories": [
        "Planning applications",
        "Planning (town and country)",
        "Energy efficiency",
        "Building regulations",
        "Compulsory purchase"
      ],
      "contents_url": "http://www.legislation.gov.uk/ukpga/2008/21/contents",
      "data_xml_url": "http://www.legislation.gov.uk/ukpga/2008/21/2026-03-25/data.xml",
      "document_class": "UnitedKingdomPublicGeneralAct",
      "id_uri": "http://www.legislation.gov.uk/id/ukpga/2008/21",
      "identifier": "ukpga/2008/21",
      "isbn": "9780105421085",
      "latest_version_url": "http://www.legislation.gov.uk/ukpga/2008/21/2026-03-25",
      "number": "21",
      "published": "2008-11-13T00:00:00+01:00",
      "summary": "An Act to enable local planning authorities to set requirements for energy use and energy efficiency in local plans.",
      "title": "Planning and Energy Act 2008",
      "type": "ukpga",
      "updated": "2026-04-30T09:29:35+01:00",
      "year": 2008
    },
    {
      "categories": [
        "Compulsory purchase",
        "Planning (town and country)",
        "Community development",
        "Planning applications",
        "Urban development",
        "TOWN AND COUNTRY PLANNING, WALES",
        "Local Government",
        "CYNLLUNIO GWLAD A THREF, CYMRU"
      ],
      "contents_url": "http://www.legislation.gov.uk/wsi/2008/2162/contents/made/welsh",
      "data_xml_url": "http://www.legislation.gov.uk/wsi/2008/2162/made/welsh/data.xml",
      "document_class": "WelshStatutoryInstrument",
      "id_uri": "http://www.legislation.gov.uk/id/wsi/2008/2162",
      "identifier": "wsi/2008/2162",
      "isbn": "9780110918334",
      "latest_version_url": "http://www.legislation.gov.uk/wsi/2008/2162/made",
      "number": "2162",
      "published": "2008-08-12T00:00:00+01:00",
      "summary": "This Order brings to an end the transitional arrangements made under the Planning and Compulsory Purchase Act 2004 (Commencement No.4 and Consequential, Transitional and Savings Provisions) (Wales) Order 2005 (“the No.4 Order”) in relation to “Neath Port Talbot County Borough Council (“the Council”). Mae'r Gorchymyn hwn yn dod â'r trefniadau trosiannol a wnaed o dan Orchymyn Deddf Cynllunio a Phrynu Gorfodol 2004 (Cychwyn Rhif 4 a Darpariaethau Canlyniadol a Throsiannol a Darpariaethau Arbed) (Cymru) 2005 (“Gorchymyn Rhif 4”) i ben o ran Cyngor Bwrdeistref Sirol Castell-nedd Port Talbot (“y Cyngor”).",
      "title": "The Planning and Compulsory Purchase Act 2004 (Commencement No.4 and Consequential, Transitional and Savings Provisions) (Wales) (Amendment No.2) Order 2008 / Gorchymyn Deddf Cynllunio a Phrynu Gorfodol 2004 (Cychwyn Rhif 4 a Darpariaethau Canlyniadol a Throsiannol a Darpariaethau Arbed) (Cymru) (Diwygio Rhif 2) 2008",
      "type": "wsi",
      "updated": "2023-04-24T11:23:50+01:00",
      "year": 2008
    },
    {
      "categories": [
        "Structure plans",
        "Council policies and plans",
        "Planning (town and country)",
        "Community development",
        "Planning applications",
        "TOWN AND COUNTRY PLANNING"
      ],
      "contents_url": "http://www.legislation.gov.uk/ssi/2008/427/contents/made",
      "data_xml_url": "http://www.legislation.gov.uk/ssi/2008/427/made/data.xml",
      "document_class": "ScottishStatutoryInstrument",
      "id_uri": "http://www.legislation.gov.uk/id/ssi/2008/427",
      "identifier": "ssi/2008/427",
      "isbn": "9780111001707",
      "latest_version_url": "http://www.legislation.gov.uk/ssi/2008/427/made",
      "number": "427",
      "published": "2008-12-18T00:00:00+01:00",
      "summary": "This Order makes saving, transitional and consequential provisions in relation to the substitution of a new Part 2 to the Town and Country Planning (Scotland) Act 1997 (c. 8) (“the 1997 Act”) by section 2 of the Planning etc. (Scotland) Act 2006 (asp 17).",
      "title": "The Planning etc. (Scotland) Act 2006 (Development Planning) (Saving, Transitional and Consequential Provisions) Order 2008",
      "type": "ssi",
      "updated": "2023-04-24T10:04:58+01:00",
      "year": 2008
    },
    {
      "categories": [
        "Town planning",
        "TOWN AND COUNTRY PLANNING"
      ],
      "contents_url": "http://www.legislation.gov.uk/ssi/2008/411/contents/made",
      "data_xml_url": "http://www.legislation.gov.uk/ssi/2008/411/made/data.xml",
      "document_class": "ScottishStatutoryInstrument",
      "id_uri": "http://www.legislation.gov.uk/id/ssi/2008/411",
      "identifier": "ssi/2008/411",
      "isbn": "9780111001295",
      "latest_version_url": "http://www.legislation.gov.uk/ssi/2008/411/made",
      "number": "411",
      "published": "2008-12-11T00:00:00+01:00",
      "summary": "This Order brings section 52(1) of the Planning etc. (Scotland) Act 2006 (“the Act”) into force on 12th December 2008 and Parts 3 and 4 and section 54(17) of the Act into force on that date only for the purposes of enabling orders or regulations to be made.",
      "title": "The Planning etc. (Scotland) Act 2006 (Commencement No. 5) Order 2008",
      "type": "ssi",
      "updated": "2023-04-24T10:04:58+01:00",
      "year": 2008
    },
    {
      "categories": [
        "Listed buildings",
        "TOWN AND COUNTRY PLANNING"
      ],
      "contents_url": "http://www.legislation.gov.uk/ssi/2008/191/contents/made",
      "data_xml_url": "http://www.legislation.gov.uk/ssi/2008/191/made/data.xml",
      "document_class": "ScottishStatutoryInstrument",
      "id_uri": "http://www.legislation.gov.uk/id/ssi/2008/191",
      "identifier": "ssi/2008/191",
      "isbn": "9780110816555",
      "latest_version_url": "http://www.legislation.gov.uk/ssi/2008/191/made",
      "number": "191",
      "published": "2008-05-15T00:00:00+01:00",
      "summary": "This Order brings section 55(2) of the Planning etc. (Scotland) Act 2006 (“the Act”) into force on 1st June 2008.",
      "title": "The Planning etc. (Scotland) Act 2006 (Commencement No. 4) Order 2008",
      "type": "ssi",
      "updated": "2023-04-24T10:04:58+01:00",
      "year": 2008
    },
    {
      "categories": [
        "Town planning",
        "TOWN AND COUNTRY PLANNING"
      ],
      "contents_url": "http://www.legislation.gov.uk/ssi/2008/165/contents/made",
      "data_xml_url": "http://www.legislation.gov.uk/ssi/2008/165/made/data.xml",
      "document_class": "ScottishStatutoryInstrument",
      "id_uri": "http://www.legislation.gov.uk/id/ssi/2008/165",
      "identifier": "ssi/2008/165",
      "isbn": "9780110816272",
      "latest_version_url": "http://www.legislation.gov.uk/ssi/2008/165/made",
      "number": "165",
      "published": "2008-04-22T00:00:00+01:00",
      "summary": "This Order preserves Part 2 of the Town and Country Planning (Scotland) Act 1997 (“the 1997 Act”) in full force and effect notwithstanding the commencement for certain purposes of section 2 of the Planning etc. (Scotland) Act 2006 (“the 2006 Act”). Section 2 of the 2006 Act substitutes a new Part 2 for Part 2 of the 1997 Act.",
      "title": "The Planning etc. (Scotland) Act 2006 (Development Planning) (Saving Provisions) Order 2008",
      "type": "ssi",
      "updated": "2023-04-24T10:04:58+01:00",
      "year": 2008
    },
    {
      "categories": [
        "Town planning",
        "TOWN AND COUNTRY PLANNING"
      ],
      "contents_url": "http://www.legislation.gov.uk/ssi/2008/164/contents/made",
      "data_xml_url": "http://www.legislation.gov.uk/ssi/2008/164/made/data.xml",
      "document_class": "ScottishStatutoryInstrument",
      "id_uri": "http://www.legislation.gov.uk/id/ssi/2008/164",
      "identifier": "ssi/2008/164",
      "isbn": "9780110816258",
      "latest_version_url": "http://www.legislation.gov.uk/ssi/2008/164/made",
      "number": "164",
      "published": "2008-04-22T00:00:00+01:00",
      "summary": "This Order brings section 2 of the Planning etc. (Scotland) Act 2006 (“the Act”) into force on 19th May 2008 for the purposes of enabling orders and regulations to be made and directions and guidance to be issued. The Order brings sections 2 and 54 (17)(a)(i) of the Act into force for other purposes on 25th June 2008.",
      "title": "The Planning etc. (Scotland) Act 2006 (Commencement No. 3) Order 2008",
      "type": "ssi",
      "updated": "2023-04-24T10:04:58+01:00",
      "year": 2008
    },
    {
      "categories": [
        "Compulsory purchase",
        "Planning (town and country)",
        "Community development",
        "Planning applications",
        "Urban development",
        "TOWN AND COUNTRY PLANNING, WALES",
        "CYNLLUNIO GWLAD A THREF, CYMRU"
      ],
      "contents_url": "http://www.legislation.gov.uk/wsi/2008/10/contents/made/welsh",
      "data_xml_url": "http://www.legislation.gov.uk/wsi/2008/10/made/welsh/data.xml",
      "document_class": "WelshStatutoryInstrument",
      "id_uri": "http://www.legislation.gov.uk/id/wsi/2008/10",
      "identifier": "wsi/2008/10",
      "isbn": "9780110917276",
      "latest_version_url": "http://www.legislation.gov.uk/wsi/2008/10/made",
      "number": "10",
      "published": "2008-01-08T00:00:00+01:00",
      "summary": "This Order brings to an end the transitional arrangements made under the Planning and Compulsory Purchase Act 2004 (Commencement No.4 and Consequential, Transitional and Savings Provisions) (Wales) Order 2005 (“the No.4 Order”) in relation to Newport City Council (“the Council”). Mae'r Gorchymyn hwn yn dod â'r trefniadau trosiannol a wnaed o dan Orchymyn Deddf Cynllunio a Phrynu Gorfodol 2004 (Cychwyn Rhif 4 a Darpariaethau Canlyniadol a Throsiannol a Darpariaethau Arbed) (Cymru) 2005 (“Gorchymyn Rhif 4”) i ben o ran Cyngor Dinas Casnewydd (“y Cyngor”).",
      "title": "The Planning and Compulsory Purchase Act 2004 (Commencement No.4 and Consequential, Transitional and Savings Provisions) (Wales) (Amendment No.1) Order 2008 / Gorchymyn Diwygio Deddf Cynllunio a Phrynu Gorfodol 2004 (Cychwyn Rhif 4 a Darpariaethau Canlyniadol a Throsiannol a Darpariaethau Arbed) (Cymru) (Diwygio Rhif 1) 2008",
      "type": "wsi",
      "updated": "2023-04-24T11:23:50+01:00",
      "year": 2008
    }
  ],
  "source_url": "https://www.legislation.gov.uk/primary+secondary/2008/data.feed?title=Planning+Act",
  "start_index": 1,
  "total_results": 9
}
```
