UK Legislation Scraper - Acts and Statutory Instruments
Independent tool. Trademarks referenced on this page are the property of their respective owners and are used only to identify the public website this tool reads. No affiliation or endorsement.
Sample output
20 real records from the actor's latest passing test run, updated . Download the sample as JSON or CSV.
| id | title | title_welsh | type | type_name | year | number | citation | legislation_url | full_text_url | description | made_date | coming_into_force_date | laid_date | subjects | version_status | version_date | repealed | extent | territorial_application | category | minor_type | total_paragraphs | pdf_url | explanatory_document_url | explanatory_document_type | isbn | published | last_updated | amends | amended_by | amendments_truncated | scraped_at |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| uksi/2020/1 | The Police Appeals Tribunals Rules 2020 | uksi | UnitedKingdomStatutoryInstrument | 2020 | 1 | 2020 No. 1 | https://www.legislation.gov.uk/uksi/2020/1 | https://www.legislation.gov.uk/uksi/2020/1/data.xml | These Rules set out the circumstances in which a member of a police force, a former police officer or a special constab… | 2020-01-06 | 2020-02-01 | 2020-01-10 | ["POLICE, ENGLAND AND WALES"] | revised | 2025-05-28 | false | E+W | secondary | rule | 28 | https://www.legislation.gov.uk/uksi/2020/1/pdfs/uksi_20200001_en.pdf | https://www.legislation.gov.uk/uksi/2020/1/pdfs/uksiem_20200001_en.pdf | UK Explanatory Memorandum | 9780111191835 | 2020-01-10T12:13:07.377727Z | 2025-06-10T11:59:31Z | [{"id":"uksi/2012/2630","title":"The Police Appeals Tribunals Rules 2012","url":"https://www.legislation.gov.uk/uksi/20… | [{"id":"uksi/2020/1","title":"The Police Appeals Tribunals Rules 2020","url":"https://www.legislation.gov.uk/uksi/2020/… | true | 2026-11-25T14:02:59.473Z | ||
| ukpga/2026/23 | English Devolution and Community Empowerment Act 2026 | ukpga | UnitedKingdomPublicGeneralAct | 2026 | 23 | 2026 Chapter 23 | https://www.legislation.gov.uk/ukpga/2026/23 | https://www.legislation.gov.uk/ukpga/2026/23/data.xml | An Act to make provision about combined authorities, combined county authorities, the Greater London Authority, local a… | 2026-04-29 | [] | revised | 2026-11-13 | false | E+W | E | primary | 936 | https://www.legislation.gov.uk/ukpga/2026/23/pdfs/ukpga_20260023_en.pdf | https://www.legislation.gov.uk/ukpga/2026/23/pdfs/ukpgaen_20260023_en.pdf | Explanatory Note | 9780105703273 | 2026-05-11T17:02:45.491003Z | 2026-11-16T10:59:12Z | 2026-11-25T14:02:43.976Z | |||||||
| ukpga/2026/24 | National Security (State Threats) Act 2026 | ukpga | UnitedKingdomPublicGeneralAct | 2026 | 24 | 2026 Chapter 24 | https://www.legislation.gov.uk/ukpga/2026/24 | https://www.legislation.gov.uk/ukpga/2026/24/data.xml | An Act to make provision for the designation of bodies involved in foreign power threat activity; to create offences re… | 2026-07-08 | [] | revised | 2026-07-08 | false | E+W+S+N.I. | primary | 47 | https://www.legislation.gov.uk/ukpga/2026/24/pdfs/ukpga_20260024_en.pdf | https://www.legislation.gov.uk/ukpga/2026/24/pdfs/ukpgaen_20260024_en.pdf | Explanatory Note | 9780105703280 | 2026-07-08T16:54:58.625226Z | 2026-10-05T08:34:03Z | 2026-11-25T14:02:43.976Z | ||||||||
| ukpga/2026/22 | Pension Schemes Act 2026 | ukpga | UnitedKingdomPublicGeneralAct | 2026 | 22 | 2026 Chapter 22 | https://www.legislation.gov.uk/ukpga/2026/22 | https://www.legislation.gov.uk/ukpga/2026/22/data.xml | An Act to make provision about pension schemes; and for connected purposes. | 2026-04-29 | [] | revised | 2026-06-29 | false | E+W+S+N.I. | primary | 192 | https://www.legislation.gov.uk/ukpga/2026/22/pdfs/ukpga_20260022_en.pdf | https://www.legislation.gov.uk/ukpga/2026/22/pdfs/ukpgaen_20260022_en.pdf | Explanatory Notes | 9780105703242 | 2026-05-08T10:28:07.70913Z | 2026-08-26T17:02:37Z | 2026-11-25T14:02:43.976Z | ||||||||
| ukpga/2026/21 | Children’s Wellbeing and Schools Act 2026 | ukpga | UnitedKingdomPublicGeneralAct | 2026 | 21 | 2026 Chapter 21 | https://www.legislation.gov.uk/ukpga/2026/21 | https://www.legislation.gov.uk/ukpga/2026/21/data.xml | An Act to make provision about the safeguarding and welfare of children; about support for children in care or leaving … | 2026-04-29 | [] | revised | 2026-11-18 | false | E+W+S+N.I. | primary | 272 | https://www.legislation.gov.uk/ukpga/2026/21/pdfs/ukpga_20260021_en.pdf | https://www.legislation.gov.uk/ukpga/2026/21/pdfs/ukpgaen_20260021_en.pdf | Explanatory Notes | 9780105703235 | 2026-05-07T12:57:29.026343Z | 2026-11-18T11:18:50Z | 2026-11-25T14:02:43.976Z | ||||||||
| ukpga/2026/20 | Crime and Policing Act 2026 | ukpga | UnitedKingdomPublicGeneralAct | 2026 | 20 | 2026 Chapter 20 | https://www.legislation.gov.uk/ukpga/2026/20 | https://www.legislation.gov.uk/ukpga/2026/20/data.xml | An Act to make provision about anti-social behaviour, offensive weapons, offences against people (including sexual offe… | 2026-04-29 | [] | revised | 2026-11-25 | false | E+W+S+N.I. | primary | 1072 | https://www.legislation.gov.uk/ukpga/2026/20/pdfs/ukpga_20260020_en.pdf | https://www.legislation.gov.uk/ukpga/2026/20/pdfs/ukpgaen_20260020_en.pdf | Explanatory Note | 9780105703266 | 2026-05-08T16:16:10.54178Z | 2026-11-25T00:10:00Z | 2026-11-25T14:02:43.976Z | ||||||||
| ukpga/2020/1 | European Union (Withdrawal Agreement) Act 2020 | ukpga | UnitedKingdomPublicGeneralAct | 2020 | 1 | 2020 c. 1 | https://www.legislation.gov.uk/ukpga/2020/1 | https://www.legislation.gov.uk/ukpga/2020/1/data.xml | An Act to implement, and make other provision in connection with, the agreement between the United Kingdom and the EU u… | 2020-01-23 | [] | revised | 2024-02-20 | false | E+W+S+N.I. | primary | 235 | https://www.legislation.gov.uk/ukpga/2020/1/pdfs/ukpga_20200001_en.pdf | https://www.legislation.gov.uk/ukpga/2020/1/pdfs/ukpgaen_20200001_en.pdf | Explanatory Note | 9780105700739 | 2020-01-23T18:16:25.074039Z | 2024-05-18T03:39:03Z | 2026-11-25T14:02:50.822Z | ||||||||
| ukpga/2026/28 | Sovereign Grant Act 2026 | ukpga | UnitedKingdomPublicGeneralAct | 2026 | 28 | 2026 Chapter 28 | https://www.legislation.gov.uk/ukpga/2026/28 | https://www.legislation.gov.uk/ukpga/2026/28/data.xml | An Act to specify the amount of the Sovereign Grant for the financial year 2027-28 and the percentage of the income acc… | 2026-11-02 | [] | revised | 2026-11-02 | false | E+W+S+N.I. | primary | 6 | https://www.legislation.gov.uk/ukpga/2026/28/pdfs/ukpga_20260028_en.pdf | 9780105703327 | 2026-11-02T17:48:17.341085Z | 2026-11-04T10:37:19Z | 2026-11-25T14:02:43.976Z | ||||||||||
| ukpga/2026/27 | Steel Industry (Nationalisation) Act 2026 | ukpga | UnitedKingdomPublicGeneralAct | 2026 | 27 | 2026 Chapter 27 | https://www.legislation.gov.uk/ukpga/2026/27 | https://www.legislation.gov.uk/ukpga/2026/27/data.xml | An Act to make provision enabling the Secretary of State in certain circumstances to make regulations relating to the t… | 2026-07-15 | [] | revised | 2026-07-15 | false | E+W+S+N.I. | primary | 64 | https://www.legislation.gov.uk/ukpga/2026/27/pdfs/ukpga_20260027_en.pdf | 9780105703297 | 2026-07-15T14:52:42.140746Z | 2026-08-18T10:10:53Z | 2026-11-25T14:02:43.976Z | ||||||||||
| ukpga/2026/26 | Taxation (Energy and Vehicles) Act 2026 | ukpga | UnitedKingdomPublicGeneralAct | 2026 | 26 | 2026 Chapter 26 | https://www.legislation.gov.uk/ukpga/2026/26 | https://www.legislation.gov.uk/ukpga/2026/26/data.xml | An Act to increase the rate of electricity generator levy and mileage amounts relating to income tax and to provide for… | 2026-07-15 | [] | revised | 2026-07-15 | false | E+W+S+N.I. | primary | 4 | https://www.legislation.gov.uk/ukpga/2026/26/pdfs/ukpga_20260026_en.pdf | 9780105703303 | 2026-07-15T14:58:03.989258Z | 2026-08-11T15:18:26Z | 2026-11-25T14:02:43.976Z | ||||||||||
| ukpga/2026/25 | Supply and Appropriation (Main Estimates) Act 2026 | ukpga | UnitedKingdomPublicGeneralAct | 2026 | 25 | 2026 Chapter 25 | https://www.legislation.gov.uk/ukpga/2026/25 | https://www.legislation.gov.uk/ukpga/2026/25/data.xml | An Act to authorise the use of resources for the year ending with 31 March 2027; to authorise both the issue of sums ou… | 2026-07-15 | [] | revised | 2026-07-15 | false | E+W+S+N.I. | primary | 8 | https://www.legislation.gov.uk/ukpga/2026/25/pdfs/ukpga_20260025_en.pdf | 9780105703310 | 2026-07-16T09:55:56.503633Z | 2026-08-18T10:48:53Z | 2026-11-25T14:02:43.976Z | ||||||||||
| ukpga/2026/19 | Victims and Courts Act 2026 | ukpga | UnitedKingdomPublicGeneralAct | 2026 | 19 | 2026 Chapter 19 | https://www.legislation.gov.uk/ukpga/2026/19 | https://www.legislation.gov.uk/ukpga/2026/19/data.xml | An Act to make provision about the experience of victims within the criminal justice system; about the functions of the… | 2026-04-29 | [] | revised | 2026-08-13 | false | E+W+S+N.I. | primary | 156 | https://www.legislation.gov.uk/ukpga/2026/19/pdfs/ukpga_20260019_en.pdf | 9780105703259 | 2026-05-08T10:28:13.966914Z | 2026-08-17T12:30:35Z | 2026-11-25T14:02:43.976Z | ||||||||||
| asp/2020/18 | Social Security Administration and Tribunal Membership (Scotland) Act 2020 | asp | ScottishAct | 2020 | 18 | https://www.legislation.gov.uk/asp/2020/18 | https://www.legislation.gov.uk/asp/2020/18/data.xml | An Act of the Scottish Parliament to modify the Social Security (Scotland) Act 2018 in relation to the appointment of p… | [] | 9780105903789 | 2020-11-10T15:10:53.532934Z | 2024-05-05T11:33:39Z | 2026-11-25T14:03:05.157Z | |||||||||||||||||||
| asp/2020/17 | Agriculture (Retained EU Law and Data) (Scotland) Act 2020 | asp | ScottishAct | 2020 | 17 | https://www.legislation.gov.uk/asp/2020/17 | https://www.legislation.gov.uk/asp/2020/17/data.xml | An Act of the Scottish Parliament to confer powers to modify certain retained EU law relating to agriculture, including… | [] | 9780105903772 | 2020-10-02T07:12:24.622404Z | 2025-07-03T09:09:13Z | 2026-11-25T14:03:05.157Z | |||||||||||||||||||
| asp/2020/16 | Children (Scotland) Act 2020 | asp | ScottishAct | 2020 | 16 | https://www.legislation.gov.uk/asp/2020/16 | https://www.legislation.gov.uk/asp/2020/16/data.xml | An Act of the Scottish Parliament to amend the law relating to children; and for connected purposes. | [] | 9780105903765 | 2020-10-02T07:07:22.934492Z | 2025-09-22T13:19:30Z | 2026-11-25T14:03:05.157Z | |||||||||||||||||||
| asp/2020/15 | Civil Partnership (Scotland) Act 2020 | asp | ScottishAct | 2020 | 15 | https://www.legislation.gov.uk/asp/2020/15 | https://www.legislation.gov.uk/asp/2020/15/data.xml | An Act of the Scottish Parliament to enable persons of different sexes to be in a civil partnership; and for connected … | [] | 9780105903758 | 2020-07-29T12:09:29.18356Z | 2024-05-15T11:17:34Z | 2026-11-25T14:03:05.157Z | |||||||||||||||||||
| asp/2020/14 | Animals and Wildlife (Penalties, Protections and Powers) (Scotland) Act 2020 | asp | ScottishAct | 2020 | 14 | https://www.legislation.gov.uk/asp/2020/14 | https://www.legislation.gov.uk/asp/2020/14/data.xml | An Act of the Scottish Parliament to increase penalties for the most serious animal welfare offences, to provide for fi… | [] | 9780105903741 | 2020-07-24T11:15:39.338904Z | 2024-05-05T11:27:37Z | 2026-11-25T14:03:05.157Z | |||||||||||||||||||
| asp/2020/13 | Disclosure (Scotland) Act 2020 | asp | ScottishAct | 2020 | 13 | https://www.legislation.gov.uk/asp/2020/13 | https://www.legislation.gov.uk/asp/2020/13/data.xml | An Act of the Scottish Parliament to restate and amend the law relating to the disclosure of criminal history and other… | [] | 9780105903734 | 2020-07-15T15:22:16.087612Z | 2026-04-01T11:30:13Z | 2026-11-25T14:03:05.157Z | |||||||||||||||||||
| asp/2020/12 | Scottish Elections (Reform) Act 2020 | asp | ScottishAct | 2020 | 12 | https://www.legislation.gov.uk/asp/2020/12 | https://www.legislation.gov.uk/asp/2020/12/data.xml | An Act of the Scottish Parliament to reform certain aspects of the law relating to Scottish parliamentary and local gov… | [] | 9780105903727 | 2020-07-14T07:27:40.621518Z | 2024-05-05T03:39:38Z | 2026-11-25T14:03:05.157Z | |||||||||||||||||||
| asp/2020/11 | Consumer Scotland Act 2020 | asp | ScottishAct | 2020 | 11 | https://www.legislation.gov.uk/asp/2020/11 | https://www.legislation.gov.uk/asp/2020/11/data.xml | An Act of the Scottish Parliament to establish Consumer Scotland and provide for its functions as a consumer advocacy a… | [] | 9780105903710 | 2020-06-10T07:26:17.676031Z | 2024-05-03T23:26:19Z | 2026-11-25T14:03:05.157Z |
Output fields
33 fields per record. Filled = share of the run's 20 records in which the field has a value.
| Field | Type | Description | Filled |
|---|---|---|---|
| id | string | Stable identifier: type/year/number, for example ukpga/2020/1 | 100% |
| title | string | Short title of the Act, instrument or measure (English) | 100% |
| title_welsh | string | Welsh-language title, for bilingual Welsh legislation | 0% |
| type | string | Legislation type code, for example ukpga, uksi, asp, wsi | 100% |
| type_name | string | Full type name, for example UnitedKingdomPublicGeneralAct | 100% |
| year | integer | Year of the item | 100% |
| number | string | Number within the year (regnal items use the chapter number) | 100% |
| citation | string | Official citation as printed, for example 2020 c. 1 or 2020 No. 1 (detail option) | 60% |
| legislation_url | string | Canonical page for the item | 100% |
| full_text_url | string | Full text as structured XML | 100% |
| description | string | Long title or explanatory summary | 100% |
| made_date | string | Date of Royal Assent, enactment or making, ISO-8601 (detail option) | 60% |
| coming_into_force_date | string | First coming-into-force date, ISO-8601 (statutory instruments, detail option) | 5% |
| laid_date | string | Date laid before Parliament, ISO-8601 (statutory instruments, detail option) | 5% |
| subjects | array | Subject headings | 5% |
| version_status | string | Status of the current text: enacted, made, final or revised (detail option) | 60% |
| version_date | string | Date the current version of the text is valid from, ISO-8601 (detail option) | 60% |
| repealed | boolean | True when the publisher marks the whole item as repealed (detail option). Items whose text has not been revised read false | 60% |
| extent | string | Territorial extent codes, for example E+W+S+N.I. (detail option) | 60% |
| territorial_application | string | Where an instrument applies when narrower than its extent, for example E (detail option, statutory instruments) | 5% |
| category | string | primary or secondary legislation (detail option) | 60% |
| minor_type | string | Instrument kind, for example order, regulation, rule (statutory instruments, detail option) | 5% |
| total_paragraphs | integer | Number of provisions in the text (detail option) | 60% |
| pdf_url | string | Official PDF of the item as published (detail option) | 60% |
| explanatory_document_url | string | PDF of the Explanatory Notes or Explanatory Memorandum, when published (detail option) | 35% |
| explanatory_document_type | string | Kind of explanatory document, for example Explanatory Note or UK Explanatory Memorandum (detail option) | 35% |
| isbn | string | ISBN of the printed edition | 100% |
| published | string | When the item was first published on the site | 100% |
| last_updated | string | When the record was last updated on the site | 100% |
| amends | array | Legislation this item amends, each with id, title, url, number of changes and change kinds (amendments option) | 5% |
| amended_by | array | Legislation that amends this item, in the same shape (amendments option) | 5% |
| amendments_truncated | boolean | True when more changes exist than the pages requested (amendments option) | 5% |
| scraped_at | string | Scraped at | 100% |
About this actor
UK Legislation Scraper — Acts and Statutory Instruments
Collects the UK statute book from legislation.gov.uk as structured records: Acts of Parliament, Scottish, Welsh and Northern Ireland legislation, Statutory Instruments, Church measures and retained EU law. Each record carries the reference, title, dates, territorial extent, subject headings and links to the official text, with an optional amendment trail showing which legislation changed which.
UK Legislation Scraper Features
- Covers 30 legislation types in one actor, from UK Public General Acts and Statutory Instruments to Scottish Acts, Welsh Statutory Instruments, Northern Ireland Orders and EU Regulations that still sit on the UK statute book
- Filters by type, year range and title text, so you can pull "every Statutory Instrument made in 2024" or "everything with 'data protection' in the title"
- Returns the enactment or making date, the first coming-into-force date, the date laid before Parliament, territorial extent (for example
E+W+S+N.I.) and the official subject headings - Optional amendment trail: the legislation each item amends and the legislation that amends it, with the number and kind of changes
- Links every record to the official page, the structured full-text XML and the published PDF
- Flat, consistent records that load straight into a spreadsheet, a database or a compliance tool
Who Uses UK Legislation Data?
- Regtech and compliance teams — keep a register of new and changed UK law against the obligations you track
- Policy and public affairs monitors — watch what a department, devolved parliament or subject area enacted this month
- Legal publishers and legal AI teams — build a clean index of the statute book to link, cite and train against
- Law firms and in-house counsel — find every instrument touching a subject, then follow the amendment trail
- Researchers — study legislative volume by year, type and nation
How the UK Legislation Scraper Works
- Choose the legislation types and an optional year range, or leave the types empty to walk the whole statute book, primary legislation first and newest first.
- The scraper lists every matching Act, instrument or measure.
- For each one it reads the dates, extent and subject headings, unless you turn that option off for a faster title-and-reference listing.
- With amendments switched on, it also reads which legislation each item amends and is amended by.
- Every item is saved as one structured record.
Input
{
"legislationTypes": ["uksi"],
"yearFrom": 2024,
"yearTo": 2024,
"includeDetail": true,
"includeAmendments": false,
"maxItems": 500
}
| Field | Type | Default | Description |
|---|---|---|---|
legislationTypes |
Array | all | Which types to collect, for example ukpga (UK Public General Acts), uksi (UK Statutory Instruments), asp (Acts of the Scottish Parliament), wsi (Welsh Statutory Instruments). Empty means every type. |
yearFrom |
Integer | none | Earliest year to include. |
yearTo |
Integer | none | Latest year to include. |
titleContains |
String | none | Keep only items whose title contains this text, for example "data protection". |
includeDetail |
Boolean | true | Add dates, extent, subjects, paragraph count and PDF link. Turn off for a faster listing. |
includeAmendments |
Boolean | false | Add the amends and amended_by lists. Slower, because it adds work per record. |
maxAmendmentPages |
Integer | 2 | Pages of changes to read per direction (up to 50 changes per page). Records are flagged amendments_truncated when more exist. |
maxItems |
Integer | 10 | Maximum number of items to save. |
Example: Acts of the Scottish Parliament passed in 2020
{
"legislationTypes": ["asp"],
"yearFrom": 2020,
"yearTo": 2020,
"maxItems": 50
}
Output
One record per Act, instrument or measure:
{
"id": "uksi/2020/1",
"title": "The Police Appeals Tribunals Rules 2020",
"type": "uksi",
"type_name": "UnitedKingdomStatutoryInstrument",
"year": 2020,
"number": "1",
"citation": "2020 No. 1",
"legislation_url": "https://www.legislation.gov.uk/uksi/2020/1",
"full_text_url": "https://www.legislation.gov.uk/uksi/2020/1/data.xml",
"description": "These Rules set out the circumstances in which a member of a police force ... may appeal to a police appeals tribunal.",
"made_date": "2020-01-06",
"coming_into_force_date": "2020-02-01",
"laid_date": "2020-01-10",
"subjects": ["POLICE, ENGLAND AND WALES"],
"version_status": "revised",
"version_date": "2025-05-28",
"repealed": false,
"extent": "E+W",
"territorial_application": null,
"category": "secondary",
"minor_type": "rule",
"total_paragraphs": 28,
"pdf_url": "https://www.legislation.gov.uk/uksi/2020/1/pdfs/uksi_20200001_en.pdf",
"explanatory_document_url": "https://www.legislation.gov.uk/uksi/2020/1/pdfs/uksiem_20200001_en.pdf",
"explanatory_document_type": "UK Explanatory Memorandum",
"isbn": "9780111191835",
"published": "2020-01-10T00:00:00+00:00",
"last_updated": "2025-06-10T12:00:00+01:00",
"amends": [
{ "id": "uksi/2012/2630", "title": "The Police Appeals Tribunals Rules 2012", "url": "https://www.legislation.gov.uk/uksi/2012/2630", "effects": 1, "effect_types": ["revoked"] }
],
"amended_by": [],
"amendments_truncated": false
}
| Field | Description |
|---|---|
id |
Stable identifier in the form type/year/number. |
title |
Short title. |
title_welsh |
Welsh-language title of bilingual Welsh legislation. |
type, type_name |
Type code and full type name. |
year, number |
Year and number within the year (older items use regnal references). |
citation |
Official citation as printed, such as 2020 c. 1 or 2020 No. 1. |
legislation_url |
Canonical page for the item. |
full_text_url |
Full text as structured XML. |
description |
Long title or summary. |
made_date |
Date of Royal Assent, enactment or making. |
coming_into_force_date |
First coming-into-force date (Statutory Instruments). |
laid_date |
Date laid before Parliament (Statutory Instruments). |
subjects |
Subject headings. |
version_status |
Status of the current text: enacted, made, final or revised. |
version_date |
Date the current version of the text is valid from. |
repealed |
true when the whole item is marked repealed. |
extent |
Territorial extent codes. |
territorial_application |
Where an instrument applies when narrower than its extent. |
category, minor_type |
primary or secondary, and the instrument kind. |
total_paragraphs |
Number of provisions in the text. |
pdf_url |
Official PDF as published. |
explanatory_document_* |
Explanatory Notes or Memorandum PDF and its kind, when published. |
amends, amended_by |
Counterpart legislation with change counts and kinds (only with includeAmendments). |
Some fields are empty where the publisher does not record them. Many recently made Statutory Instruments have no making date or extent yet, and amends/amended_by stay empty unless you turn amendments on.
Tips
- Whole statute book: leave
legislationTypesempty and raisemaxItems. The corpus is several hundred thousand items, so long runs are normal. Narrow by type and year to refresh just the part you track. - Keeping up with new law: filter to the current year and schedule a weekly run.
- Speed: switch
includeDetailoff for a plain reference list of titles and links. - Amendments: use a small
maxItemsfirst. Heavily amended Acts have hundreds of changes, andamendments_truncatedtells you when a list was cut at your page limit.
FAQ
Does it need an account or API key? No. It reads the public statute book.
Is the text itself included? Each record links the official full text as structured XML and the published PDF. The record carries the metadata, not the whole body of the Act.
Does it show whether an Act has been repealed?
version_status reports the state of the current text, and amended_by shows the legislation that changed or repealed an item. It does not give a single in-force or repealed flag.
Is the data current?
Yes. Records reflect the publisher's statute book at the time of the run, and last_updated shows when each item last changed.
Can I schedule it? Yes. Use Apify schedules to run weekly, filtered to the types and years you follow.