Data Crawling vs Data Scraping
Web crawling and web scraping are not synonyms. Read this article to get to know the difference between these two terms.
One section of an Act can hold four dated versions and a list of effects not yet applied. Our legislation.gov.uk scraper returns each version, effect and instrument as a row.
Plans from €169 a month · Free project assessment · Reply within 1 business day
API · JSON feed · CSV · Excel · JSON · XML · FTP · SFTP · Amazon S3 · Google Cloud
API, JSON feed or CSV, XLSX and JSON files
ScheduleOne-time, monthly, weekly, daily or 3 times a day
legislation.gov.uk pages, filters, fields and a schedule
Built, monitored and repaired by our team
API, JSON feed or CSV, XLSX and JSON files
You define the slice of the statute book: document types such as ukpga, uksi, ssi or nisr, a range of years, a list of titles, or a subject heading. We build the crawler around those type codes, the year and the number, which form the address of modern items on legislation.gov.uk, allow for older Acts filed under a regnal year instead, and we run and repair it for as long as you need the data.
The hard part is size and structure. A long Act opens into hundreds of provisions, each with its own page, version list and annotations, and opening a whole Act in one go is slow. Pacing, rendering and retries are handled on our side. You receive a table with field documentation, after a free project assessment and, if you want one, a sample on titles you name.
The dataset has three levels that share one key - type code, year and number - so an Act, its sections and the effects on those sections join without matching on titles.
Every citation inside a footnote that points to another item is resolved to the same key, so the enabling Act of a set of regulations is a column, not a sentence to parse.


The richest table on the site is the Changes to Legislation list. Each line names the changed legislation and provision, the type of effect - substituted, inserted, omitted, modified, applied, excluded - the affecting legislation with its year and number, the affecting provision, whether the change has been made to the website text, and a note. It can be read in both directions: effects on an Act, and effects an Act makes elsewhere. The lists record changes made by legislation enacted from 2002 onwards.
Alongside it runs the timeline. Opening a provision shows its alternative versions by date, so a point in time copy of a section can be rebuilt for any date in that list. Section 1 of the Data Protection Act 2018, for example, carries versions for May 2018, the end of 2020, November 2025 and September 2026.
The What's new page groups fresh publications by day and by United Kingdom, Scotland, Wales and Northern Ireland, which suits a daily run: new instruments, then the effects they cause, then a fresh copy of every provision they touch. Draft legislation and impact assessments, the latter filed by department and by stage from Consultation to Post Implementation, show what may come next and how earlier measures were judged.
legislation.gov.uk is managed by The National Archives on behalf of HM Government. Its editorial team, together with staff of the Northern Ireland Statutory Publications Office, keeps the revised texts, so the same page is both the published Act and a maintained consolidation of it.
The collection is wider than current Westminster law. UK Public General Acts sit next to Local Acts, Private and Personal Acts, Church Measures, Acts of the Scottish Parliament, Acts of Senedd Cymru, Acts of the Northern Ireland Assembly and the Acts of the old English, Scottish and Irish parliaments. Secondary legislation covers UK, Welsh and Scottish Statutory Instruments, Northern Ireland Statutory Rules, Church Instruments, Ministerial Directions and Ministerial Orders. A separate branch holds Regulations, Decisions and Directives originating from the EU as they stood on IP completion day, with UK amendments applied since.
Two things matter to anyone building on it. Not every item is revised: many instruments are available only as made. And Welsh legislation exists in two languages, with a Welsh language search of its own, so the language of a row has to be stored with it.
Delivery: CSV, JSON or XLSX files, our API or a JSON feed. MCP server on request.
Full plan detailsA reader needs one page; a product needs the relations between pages. Regulatory monitoring teams follow a fixed list of Acts and want to know which section changed, by which instrument and from what date, with the outstanding effects shown before they reach the text.
Learn how to use web scraping to solve data problems for your organization
Web crawling and web scraping are not synonyms. Read this article to get to know the difference between these two terms.
Data scraping is the wide term that includes documents, scans and old screens; web scraping is the part that works on websites. We compare sources, daily work, output and cost drivers, give a briefing checklist and walk through two of our projects.
Leveraging advances in technology, the AI-powered web scraper has skyrocketed in demand and is helping to expand capabilities by automating tedious daily tasks and speeding up data collection from thousands of websites several times over.
ScrapeIt is a managed web scraping agency. For registers and legal sources such as legislation.gov.uk the work is mostly about keys and dates: one identifier per item, one row per provision, no version overwritten by the next. We agree the field list with you, deliver field documentation with the first file, and keep the crawler working when page layouts move. Plans start from EUR 169 a month, or EUR 199 for a one-time extract.
Still unsure? Write to info@scrapeit.io
Yes. The ScrapeIt legislation.gov.uk API returns citation, provision number, revised text, version date, type of effect and affecting provision as JSON from an endpoint we host, refreshed on the schedule you set. The same rows also come as CSV or XLSX files, a JSON feed or straight into your database.
Yes. Acts, instruments, annotations and the changes lists are published for everyone to read. We collect only publicly available data - everything a visitor can see on legislation.gov.uk - and we collect it legally. Names of individual signatories are left out by default; the office and department stay.
Yes. We store every dated version listed for a provision, so you get the old wording, the new wording, the amending instrument and the effective date. Effects still marked as outstanding arrive in a separate table, ready before the revised text catches up.
On your schedule: daily suits monitoring, because new items are grouped by publication day, and weekly is enough for most research files. Each row keeps the up to date statement the page carried, so you can see through which date known changes had been taken into account.
All four nations. United Kingdom, Scottish, Welsh and Northern Irish types can be collected together or one by one, and the geographical extent marker is kept per provision. Legislation originating from the EU, drafts and impact assessments are optional blocks with their own columns.
You share your needs, expectations, and desired timeframe. We'll suggest the best solution based on your request and budget.
Our specialists configure the crawlers and extract a sample dataset for your review before proceeding with the full-scale extraction.
Once you approve the sample, we launch the project and start full data collection. We gather, filter, and structure the data for easy use, delivering it on time in your preferred format.
Our team manages ongoing processes, monitors website changes, and supports all data extraction cycles. We can also help integrate data into your systems or create dashboards to simplify analysis.
Tell us which sites, which fields and how often. A couple of lines is enough to start.
legislation.gov.uk data from €169/month. Free project assessment, reply within 1 business day.