Firecrawl Alexandria

legislation.gov.uk

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.

Other sites in this stack:GOV.UKCompanies HouseIPO trade marks
1 Firecrawl tool uses legislation.gov.uk

Try legislation.gov.uk now.

Choose an example or ask your own question.

legislation.gov.uk
TRY ASKING
1Request
numberRequired

number

stringRequired

Legislation type code, e.g. `ukpga`, `uksi`, `asp`.

numberRequired

year

string

`affected`: changes made to this legislation. `affecting`: changes this legislation makes to others.

number

page

number

Effects per page (`results-count`), 1-50.

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "legislation-gov-uk",
    capability: "legislation/list_changes",
    options: {
      number: 29,
      per_page: 10,
      type: "ukpga",
      year: 2008,
    },
  },
});
2Response example

This is a sample shape. Press Run to see live data from legislation.gov.uk.

direction
affected
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
affected_provisionsaffected_titleaffected_uriaffecting_provisionsaffecting_titleaffecting_uriappliedcommencement_authorityeffect_idin_forcemodifiedrequires_appliedsavingstypeuri
s. 6(7)(b)(i)Planning Act 2008legislation.gov.uk/id/ukpga/2008/29s. 2(2)(a)Planning and Infrastructure Act 2025legislation.gov.uk/id/ukpga/2025/34trues. 118(1)(a)key-a2d5f3f9bf759e382f398045682a474etrues. 2(4) 116words omittedlegislation.gov.uk/id/effect/key-a2d5f3f9bf759e382f398045682a474e
s. 6(7A)Planning Act 2008legislation.gov.uk/id/ukpga/2008/29s. 2(2)(b)Planning and Infrastructure Act 2025legislation.gov.uk/id/ukpga/2025/34trues. 118(1)(a)key-299497a717169792b4b81dad1ec8dee2trues. 2(4) 116words omittedlegislation.gov.uk/id/effect/key-299497a717169792b4b81dad1ec8dee2
s. 6(10)Planning Act 2008legislation.gov.uk/id/ukpga/2008/29s. 2(2)(c)Planning and Infrastructure Act 2025legislation.gov.uk/id/ukpga/2025/34trues. 118(1)(a)key-c4860b9e5ee20d71e40426f2b0e84bcftrues. 2(4) 116insertedlegislation.gov.uk/id/effect/key-c4860b9e5ee20d71e40426f2b0e84bcf
s. 6ZAPlanning Act 2008legislation.gov.uk/id/ukpga/2008/29s. 1(6)Planning and Infrastructure Act 2025legislation.gov.uk/id/ukpga/2025/34trues. 118(1)(a)key-7d16af01b0d2de09a96f80415f3a660btrues. 116insertedlegislation.gov.uk/id/effect/key-7d16af01b0d2de09a96f80415f3a660b
s. 35B-35DPlanning Act 2008legislation.gov.uk/id/ukpga/2008/29s. 4(4)Planning and Infrastructure Act 2025legislation.gov.uk/id/ukpga/2025/34trues. 118(1)(c)key-dc603feaada09e5eeeb40a417dde475btrues. 116insertedlegislation.gov.uk/id/effect/key-dc603feaada09e5eeeb40a417dde475b
s. 35ZA(10A)Planning Act 2008legislation.gov.uk/id/ukpga/2008/29s. 4(3)Planning and Infrastructure Act 2025legislation.gov.uk/id/ukpga/2025/34trues. 118(1)(c)key-a72bcf8d3dfe39e7a76496b1aa340016trues. 116insertedlegislation.gov.uk/id/effect/key-a72bcf8d3dfe39e7a76496b1aa340016
s. 37(3)(b)Planning Act 2008legislation.gov.uk/id/ukpga/2008/29s. 6(2)(a)(i)Planning and Infrastructure Act 2025legislation.gov.uk/id/ukpga/2025/34trues. 118(1)(c)key-e18014e013e6a2a4a4e99cbf2dc70110trues. 116word insertedlegislation.gov.uk/id/effect/key-e18014e013e6a2a4a4e99cbf2dc70110
s. 37(3)(c)Planning Act 2008legislation.gov.uk/id/ukpga/2008/29s. 6(2)(a)(ii)Planning and Infrastructure Act 2025legislation.gov.uk/id/ukpga/2025/34trues. 118(1)(c)key-dfa9d3d457fcd64200484686387e305btrues. 116omittedlegislation.gov.uk/id/effect/key-dfa9d3d457fcd64200484686387e305b
s. 37(7)Planning Act 2008legislation.gov.uk/id/ukpga/2008/29s. 6(2)(b)Planning and Infrastructure Act 2025legislation.gov.uk/id/ukpga/2025/34trues. 118(1)(c)key-8d7eb3c9e8f61a7fe24deb926102ebf7trues. 116omittedlegislation.gov.uk/id/effect/key-8d7eb3c9e8f61a7fe24deb926102ebf7
s. 37(8)Planning Act 2008legislation.gov.uk/id/ukpga/2008/29s. 6(2)(b)Planning and Infrastructure Act 2025legislation.gov.uk/id/ukpga/2025/34trues. 118(1)(c)key-37bc29b801c63cd00444409ad694b685trues. 116omittedlegislation.gov.uk/id/effect/key-37bc29b801c63cd00444409ad694b685

Quality, speed and cost, last 24 hours, across every agent call to legislation.gov.uk through Alexandria.

Quality
85.7%
Calls answered without a tool error
Speed
833 ms
95% of successful calls finish faster
Cost
5 credits
Firecrawl credits per call
Calls
28
Last 24 hours, every Alexandria user
Browse the library
//
Get started
//
Give your agent legislation.gov.uk.
One API key for the live web and every provider in Alexandria.
Are you an AI agent? See setup options