Pandex and legislation.gov.uk
legislation.gov.uk has one of the better public legal APIs in Europe: no key, point-in-time URLs, CLML and Akoma Ntoso. Pandex takes its text from there. What it adds is search across the whole statute book by meaning, sections served as plain passages, the Supreme Court judgments that cite each section, and the same calls for the rest of Europe.
legislation.gov.ukPandex
- Access
- legislation.gov.uk:No key; an identifying User-Agent. 1,500 requests in five minutes.
- Pandex:Free key, made on a page in a minute. 50 requests a day work without one.
- What you get back
- legislation.gov.uk:CLML XML, Akoma Ntoso, HTML snippets, RDF, Atom feeds.
- Pandex:JSON, or plain text for a model (format=text). REST and an MCP server with the same six operations.
- Search
- legislation.gov.uk:By title, type and year; a full-text Atom feed.
- Pandex:Words, meaning or both, in every language held. A citation ("§ 823 BGB", an ECLI, a CELEX number) is answered with that text.
- Past versions
- legislation.gov.uk:Yes, a date in the address; nothing before 1 February 1991. Secondary legislation is not revised.
- Pandex:The same versions as legislation.gov.uk holds: one argument (at=2015-04-06).
- Case law
- legislation.gov.uk:Not on legislation.gov.uk. Find Case Law is a separate service with its own API.
- Pandex:UK Supreme Court and Privy Council, 2009 on.
- Citations
- legislation.gov.uk:Effects between pieces of legislation.
- Pandex:Per section: which judgments cite it.
- Cost
- legislation.gov.uk:Free.
- Pandex:Free to 1,000 requests a day; then €1 per 1,000.
When to use legislation.gov.uk instead
- You work with UK law only and are happy to parse CLML: the API is free, keyless and well documented.
- You need the Court of Appeal, High Court or tribunals: Pandex holds only the Supreme Court and Privy Council.
- You need the list of outstanding effects (changes not yet applied to the revised text).
Section 1 of the Human Rights Act 1998
curl -s https://api.pandex.io/v1/document -H "Authorization: Bearer $KEY" \
-H "content-type: application/json" \
-d '{"id": "Human Rights Act 1998", "element": "1"}'Or connect https://api.pandex.io/mcp to Claude, Cursor or any MCP client and ask in words.
What Pandex holds for the United Kingdom
99,621 documents, 17 November 2026.
- UK Parliament · legislationcomplete
- UK Government · legislationcomplete
- Scottish Parliament and Government · legislationcomplete
- Senedd Cymru and Welsh Government · legislationcomplete
- Northern Ireland Assembly and Executive · legislationcomplete
- UK Supreme Court · decisionscomplete
- Judicial Committee of the Privy Council · decisionscomplete
- House of Lords, Appellate Committee · decisionsnot held
About 900 judgments of 1996 to 2009 on the archived parliament.uk pages, which our server cannot reach; earlier ones are not online at an official site.