[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [legislation.gov.uk amendment records](https://spiral.ai/integrations/n8n/legislation-gov-uk-amendment-records)

# How to Use legislation.gov.uk amendment records in n8n

Returns recorded amendments and commencements involving an Act or instrument, including whether changes have been applied. Use it to trace what changed; the records point to amending provisions rather than containing their text.

|  |  |
| --- | --- |
| Model | legislation.gov.uk amendment records |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with legislation.gov.uk amendment records in n8n

- Every Friday, use legislation.gov.uk amendment records for the Data Protection Act 2018 and report newly recorded effects or changes in whether amendments have been applied.
- Every Monday at 9am: use legislation.gov.uk amendment records to look this up and give me the result as a table.
- Pull the latest numbers from legislation.gov.uk amendment records and tell me what changed since last week.
- Check legislation.gov.uk amendment records and summarize what you find in three bullet points.
- Pull the newest data from legislation.gov.uk amendment records and give me the result as a table.

## How to set up legislation.gov.uk amendment records in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run legislation.gov.uk amendment records in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds legislation.gov.uk amendment records, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run legislation.gov.uk amendment records**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "legislation-gov-uk/legislation/list_changes",
    "input": {
      "type": "<type>",
      "year": 1200,
      "number": 1
    }
  }'
```

Then paste one of the prompts above: n8n finds legislation.gov.uk amendment records on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## legislation.gov.uk amendment records tools and prices

- [legislation.gov.uk · List changes](https://spiral.ai/tools/alexandria/legislation-gov-uk/legislation/list_changes) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 10000 | 1 | page |
| per_page | 1 to 50 | 20 | Effects per page (`results-count`), 1-50. |
| direction | affected, affecting | affected | `affected`: changes made to this legislation. `affecting`: changes this legislation makes to others. |

## What can you do with legislation.gov.uk amendment records in n8n?

Keep a research watchlist of legislation.gov.uk records for procurement, planning, or privacy work. A scheduled agent can compare retrieved titles, contents, provision wording, or amendment records between runs and report the differences it finds.

### Prepare a planning legislation brief

Find legislation about nationally significant infrastructure projects, resolve the cited Acts, map relevant headings, read selected provisions, and review recorded amendments for a planning research brief.

### Review privacy policy references

Research legislation cited in a business privacy policy, confirm each identifier, locate relevant sections, collect their wording, and examine amendment records before proposing policy revisions.

### Build a procurement research pack

Discover procurement legislation, confirm citations, organize the relevant Parts and schedules, retrieve selected text, and attach recorded changes for a purchasing team's review.

### Check a consumer rights explainer

Find the legislation behind an article's claims, establish exact identifiers, locate the cited provisions, compare the article with source wording, and inspect amendment records before publication.

### Investigate a recorded amendment

Start with an amendment record, then read the linked amending provision to understand the wording behind the recorded effect.

### Maintain a legislative research watchlist

Repeat searches for procurement or environmental legislation and compare amendment records for identified Acts to prepare a research update.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## legislation.gov.uk amendment records in other agents

- [Amp](https://spiral.ai/integrations/amp/legislation-gov-uk-amendment-records)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/legislation-gov-uk-amendment-records)
- [Claude](https://spiral.ai/integrations/claude-desktop/legislation-gov-uk-amendment-records)
- [Claude Code](https://spiral.ai/integrations/claude-code/legislation-gov-uk-amendment-records)
- [Cline](https://spiral.ai/integrations/cline/legislation-gov-uk-amendment-records)
- [Codex](https://spiral.ai/integrations/codex/legislation-gov-uk-amendment-records)
- [Cursor](https://spiral.ai/integrations/cursor/legislation-gov-uk-amendment-records)
- [Devin](https://spiral.ai/integrations/devin/legislation-gov-uk-amendment-records)
- [dots](https://spiral.ai/integrations/dots/legislation-gov-uk-amendment-records)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/legislation-gov-uk-amendment-records)
- [Gemini](https://spiral.ai/integrations/gemini/legislation-gov-uk-amendment-records)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/legislation-gov-uk-amendment-records)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/legislation-gov-uk-amendment-records)
- [goose](https://spiral.ai/integrations/goose/legislation-gov-uk-amendment-records)
- [Grok](https://spiral.ai/integrations/grok/legislation-gov-uk-amendment-records)
- [Grok Build](https://spiral.ai/integrations/grok-build/legislation-gov-uk-amendment-records)
- [Hermes](https://spiral.ai/integrations/hermes/legislation-gov-uk-amendment-records)
- [Instinct](https://spiral.ai/integrations/instinct/legislation-gov-uk-amendment-records)
- [Manus](https://spiral.ai/integrations/manus/legislation-gov-uk-amendment-records)
- [Muse](https://spiral.ai/integrations/muse/legislation-gov-uk-amendment-records)
- [Muse Code](https://spiral.ai/integrations/muse-code/legislation-gov-uk-amendment-records)
- [Notion](https://spiral.ai/integrations/notion/legislation-gov-uk-amendment-records)
- [OpenClaw](https://spiral.ai/integrations/openclaw/legislation-gov-uk-amendment-records)
- [opencode](https://spiral.ai/integrations/opencode/legislation-gov-uk-amendment-records)
- [Perplexity](https://spiral.ai/integrations/perplexity/legislation-gov-uk-amendment-records)
- [Raycast](https://spiral.ai/integrations/raycast/legislation-gov-uk-amendment-records)
- [VS Code](https://spiral.ai/integrations/vscode/legislation-gov-uk-amendment-records)
- [Windsurf](https://spiral.ai/integrations/windsurf/legislation-gov-uk-amendment-records)
- [Zapier](https://spiral.ai/integrations/zapier/legislation-gov-uk-amendment-records)

## More n8n guides

- [civicAPI live election results](https://spiral.ai/integrations/n8n/civicapi-live-election-results)
- [legislation.gov.uk identifier lookup](https://spiral.ai/integrations/n8n/legislation-gov-uk-identifier-lookup)
- [civicAPI election race details](https://spiral.ai/integrations/n8n/civicapi-election-race-details)
- [legislation.gov.uk legislation search](https://spiral.ai/integrations/n8n/legislation-gov-uk-legislation-search)
- [civicAPI election forecast](https://spiral.ai/integrations/n8n/civicapi-election-forecast)
- [legislation.gov.uk provision text](https://spiral.ai/integrations/n8n/legislation-gov-uk-provision-text)

## Questions about legislation.gov.uk amendment records in n8n

**Can n8n use legislation.gov.uk amendment records?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run legislation.gov.uk amendment records like any built-in tool.

**How much does legislation.gov.uk amendment records cost in n8n?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

**Do I need an Alexandria account to use legislation.gov.uk amendment records in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs legislation.gov.uk amendment records on its own Alexandria account.

**How long does it take to set up legislation.gov.uk amendment records in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while legislation.gov.uk amendment records runs?**

legislation.gov.uk amendment records runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Does legislation.gov.uk contain every UK law?**

No. It holds almost all UK primary and secondary legislation published since 1988, plus some earlier legislation, so an unsuccessful search does not establish that a law never existed.

**How quickly are amendment records added?**

The source says recording effects can take up to six weeks when a document is large or many new laws need analysis. That is the time to record changes, not a guarantee that the revised wording has incorporated them.

**Does the latest available text include every amendment?**

No. Legislation.gov.uk can have known changes that have not yet been applied to its text, and its XML metadata lists outstanding effects.

**How far back does the version history go?**

Requests before February 1, 1991, normally redirect to the base-date version; the corresponding base date for Northern Ireland legislation is January 1, 2006. Historical version coverage therefore has a different boundary from the date of the law itself.

**Can a subject search match exact phrases?**

Yes. Legislation.gov.uk supports phrases and Boolean queries in title and text searches, with uppercase AND and OR acting as operators.

