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.
1 Firecrawl tool uses legislation.gov.ukTry legislation.gov.uk now.
Choose an example or ask your own question.
const result = await firecrawl.scrape({
alexandria: {
provider: "legislation-gov-uk",
capability: "legislation/list_changes",
options: {
number: 29,
per_page: 10,
type: "ukpga",
year: 2008,
},
},
});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_provisions | affected_title | affected_uri | affecting_provisions | affecting_title | affecting_uri | applied | commencement_authority | effect_id | in_force | modified | requires_applied | savings | type | uri |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| s. 6(7)(b)(i) | Planning Act 2008 | legislation.gov.uk/id/ukpga/2008/29 | s. 2(2)(a) | Planning and Infrastructure Act 2025 | legislation.gov.uk/id/ukpga/2025/34 | true | s. 118(1)(a) | key-a2d5f3f9bf759e382f398045682a474e | true | s. 2(4) 116 | words omitted | legislation.gov.uk/id/effect/key-a2d5f3f9bf759e382f398045682a474e | ||
| s. 6(7A) | Planning Act 2008 | legislation.gov.uk/id/ukpga/2008/29 | s. 2(2)(b) | Planning and Infrastructure Act 2025 | legislation.gov.uk/id/ukpga/2025/34 | true | s. 118(1)(a) | key-299497a717169792b4b81dad1ec8dee2 | true | s. 2(4) 116 | words omitted | legislation.gov.uk/id/effect/key-299497a717169792b4b81dad1ec8dee2 | ||
| s. 6(10) | Planning Act 2008 | legislation.gov.uk/id/ukpga/2008/29 | s. 2(2)(c) | Planning and Infrastructure Act 2025 | legislation.gov.uk/id/ukpga/2025/34 | true | s. 118(1)(a) | key-c4860b9e5ee20d71e40426f2b0e84bcf | true | s. 2(4) 116 | inserted | legislation.gov.uk/id/effect/key-c4860b9e5ee20d71e40426f2b0e84bcf | ||
| s. 6ZA | Planning Act 2008 | legislation.gov.uk/id/ukpga/2008/29 | s. 1(6) | Planning and Infrastructure Act 2025 | legislation.gov.uk/id/ukpga/2025/34 | true | s. 118(1)(a) | key-7d16af01b0d2de09a96f80415f3a660b | true | s. 116 | inserted | legislation.gov.uk/id/effect/key-7d16af01b0d2de09a96f80415f3a660b | ||
| s. 35B-35D | Planning Act 2008 | legislation.gov.uk/id/ukpga/2008/29 | s. 4(4) | Planning and Infrastructure Act 2025 | legislation.gov.uk/id/ukpga/2025/34 | true | s. 118(1)(c) | key-dc603feaada09e5eeeb40a417dde475b | true | s. 116 | inserted | legislation.gov.uk/id/effect/key-dc603feaada09e5eeeb40a417dde475b | ||
| s. 35ZA(10A) | Planning Act 2008 | legislation.gov.uk/id/ukpga/2008/29 | s. 4(3) | Planning and Infrastructure Act 2025 | legislation.gov.uk/id/ukpga/2025/34 | true | s. 118(1)(c) | key-a72bcf8d3dfe39e7a76496b1aa340016 | true | s. 116 | inserted | legislation.gov.uk/id/effect/key-a72bcf8d3dfe39e7a76496b1aa340016 | ||
| s. 37(3)(b) | Planning Act 2008 | legislation.gov.uk/id/ukpga/2008/29 | s. 6(2)(a)(i) | Planning and Infrastructure Act 2025 | legislation.gov.uk/id/ukpga/2025/34 | true | s. 118(1)(c) | key-e18014e013e6a2a4a4e99cbf2dc70110 | true | s. 116 | word inserted | legislation.gov.uk/id/effect/key-e18014e013e6a2a4a4e99cbf2dc70110 | ||
| s. 37(3)(c) | Planning Act 2008 | legislation.gov.uk/id/ukpga/2008/29 | s. 6(2)(a)(ii) | Planning and Infrastructure Act 2025 | legislation.gov.uk/id/ukpga/2025/34 | true | s. 118(1)(c) | key-dfa9d3d457fcd64200484686387e305b | true | s. 116 | omitted | legislation.gov.uk/id/effect/key-dfa9d3d457fcd64200484686387e305b | ||
| s. 37(7) | Planning Act 2008 | legislation.gov.uk/id/ukpga/2008/29 | s. 6(2)(b) | Planning and Infrastructure Act 2025 | legislation.gov.uk/id/ukpga/2025/34 | true | s. 118(1)(c) | key-8d7eb3c9e8f61a7fe24deb926102ebf7 | true | s. 116 | omitted | legislation.gov.uk/id/effect/key-8d7eb3c9e8f61a7fe24deb926102ebf7 | ||
| s. 37(8) | Planning Act 2008 | legislation.gov.uk/id/ukpga/2008/29 | s. 6(2)(b) | Planning and Infrastructure Act 2025 | legislation.gov.uk/id/ukpga/2025/34 | true | s. 118(1)(c) | key-37bc29b801c63cd00444409ad694b685 | true | s. 116 | omitted | legislation.gov.uk/id/effect/key-37bc29b801c63cd00444409ad694b685 |
Firecrawl tools
1Ready-made Firecrawl tools that call legislation.gov.uk.
Skills
Official skills using legislation.gov.uk
Vaping policy impact snapshotUse when a tobacco control policy analyst at a health department or charity assesses vaping regulation for a briefing. Compares tobacco use prevalence across countries from WHO, tracks public search interest in vaping products over time, reads the current UK legislative text and amendments, and gathers recent studies on youth uptake into one sourced snapshot.
For one jurisdiction considering a measure (flavour ban, disposable ban, tax) and two or three comparator countries.
1. Prevalence baseline
Find tobacco and e-cigarette indicators with
Indicators (query tobacco use, e-cigarette).
Pull values for the jurisdiction and comparators with
Data (spatial_dims ISO3, sex dimension where offered). Note survey years.
2. Public behaviour signal
Read
Interest over time for disposable vape, vape shop and nicotine pouches in each country (geo) across the policy date. A drop or shift to substitutes after a measure is a signal worth testing.
Check
Related queries for rising substitutes or cross-border buying terms.
3. Law as written
Find the UK instrument with
Search legislation (title vapes or tobacco), read the key provision with
Get provision and commencement with
List changes.
4. Evidence
Search
Search (e-cigarette policy plus youth, flavour, natural experiment; last three years) and read key abstracts with
Article.
Write the snapshot
Baseline table: country, measure, prevalence, survey year.
Signals: search trend changes around policy dates, labelled as indicative.
Law: provisions, commencement dates.
Evidence: study, design, finding, PMID.
Sources: WHO codes, trend queries, legislation ids, PMIDs. Say what could not be found.
Benchmarks
Public records benchmarksQuality, speed and cost, last 24 hours, across every agent call to legislation.gov.uk through Alexandria.
- Quality
- 100%
- Calls answered without a tool error
- Speed
- 2.9 s
- 95% of successful calls finish faster
- Cost
- 5 credits
- Firecrawl credits per call
- Calls
- 88
- Last 24 hours, every Alexandria user
| Tool | Quality | Speed | Calls |
|---|---|---|---|
| Lookup identifier | 100% | 1.5 s | 57 |
| Get provision | 100% | 2.9 s | 20 |