Skip to content

BAILII Scraper – UK & Irish Case Law

Try for free

Search UK and Irish case law on BAILII by keywords, case name, citation, court and date. Get case name, neutral citation, court, date, link and the full judgment text. Courts, tribunals, England and Wales, Scotland, Northern Ireland and Ireland. No login needed.

⚖️ BAILII Scraper – UK & Irish Case Law

Search the British and Irish Legal Information Institute (bailii.org) and export judgments with their case name, neutral citation, court, date, link and full judgment text. Search by keywords, case name or citation, narrow by court or tribunal and date, and sort by relevance or date. It covers UK courts and tribunals, England and Wales, Northern Ireland, Scotland and Ireland, for example the Supreme Court, Court of Appeal, High Court, Upper Tribunal (Lands Chamber), First-tier Tribunal (Property Chamber), Employment Appeal Tribunal and the Irish High Court. No login needed.

✨ Why use BAILII Scraper?

  • 📚 Full judgment text: every judgment's text in one field, ready for review, search or AI analysis. PDF-only judgments are read from their PDF.
  • 🔎 The site's own search: all words, any word, exact phrase or BAILII's advanced syntax (and, or, not, near, *).
  • 🏛️ Court and date filters: one court, several courts, or a whole jurisdiction, with a date range.
  • 🧾 Clean citations: neutral citation plus every law-report citation BAILII lists, court code, jurisdiction and ISO date.
  • 📑 Look up known cases: by citation ([2024] EWCA Civ 1) or by BAILII link.
  • ♾️ No page limits: pages through all of BAILII's results up to the number you ask for.

🎯 Use cases

  • 📝 Legal document review: collect lease, service-charge, forfeiture or tribunal decisions with full text for review.
  • 🤖 AI and search: build a case-law corpus for retrieval, summarisation or classification.
  • 📈 Legal research and monitoring: track new judgments of a court or on a topic with scheduled runs, newest first.
  • 🏢 Property and employment practice: pull First-tier Tribunal (Property Chamber), Lands Chamber or Employment Appeal Tribunal decisions in bulk.

🚀 How to use

  1. Enter one or more Search terms (each line is one search), or a Case name, Citations or Judgment links.
  2. Optionally pick Courts and tribunals, a Judgment date range and Sort by.
  3. Set Max judgments per search and keep Include full judgment text on (turn it off for a fast list of cases only).
  4. Click Start and download the results as JSON, CSV, Excel or HTML, or read them through the API.

📥 Input

FieldWhat it does
searchTermsWords to search in the judgments; each line is one search
matchModeall (default), any, phrase or advanced (BAILII query syntax, e.g. pollut* and (nuclear or radioactiv*))
caseNameWords that must be in the case name, e.g. street v mountford; combined with the search terms, or on its own
courtsCourt or tribunal codes, e.g. UKSC, EWCA_CIV, EWHC_CH, UKUT_LC, UKFTT_PC, UKEAT, NICA, SCOTCS, IEHC, or whole jurisdictions UK_ALL, EW_ALL, NI_ALL, SCOT_ALL, IE_ALL; empty = all UK and Irish case law
dateFrom, dateToJudgment date range: YYYY, YYYY-MM or YYYY-MM-DD (an end year or month includes all of it)
sortByrelevance (default), newest or oldest
maxResultsJudgments per search (default 20)
includeFullTextSave the full judgment text (default on)
citationsCitations to look up, e.g. [1985] UKHL 4
judgmentUrlsBAILII judgment links to read directly
proxyConfigurationProxy settings; the default datacenter proxy works

Property Chamber and Lands Chamber decisions on service charges in 2024, newest first:

{
  "searchTerms": ["service charge"],
  "courts": ["UKFTT_PC", "UKUT_LC"],
  "dateFrom": "2024-01-01",
  "dateTo": "2024-12-31",
  "sortBy": "newest",
  "maxResults": 50
}

Irish landlord and tenant judgments, list only:

{
  "searchTerms": ["landlord tenant"],
  "courts": ["IE_ALL"],
  "includeFullText": false,
  "maxResults": 200
}

📤 Output

One row per judgment.

FieldDescription
caseNameCase name (parties) as BAILII lists it; tribunal decisions may carry a subject in brackets
neutralCitationNeutral citation, e.g. [2024] EWCA Civ 1
citationsEvery citation BAILII lists (neutral and law reports)
court, courtCode, jurisdictionCourt or tribunal name, code from the BAILII path (e.g. EWCA Civ, UKFTT PC), and jurisdiction
dateJudgment date (YYYY-MM-DD)
url, pdfUrlJudgment page and its printable PDF on bailii.org (pdfUrl with full text on, when BAILII offers a PDF)
fullText, textLength, fullTextSourceFull judgment text, its length, and whether it came from the page (html) or the PDF (pdf)
fullTextTruncated, pdfPagesWhether the text was cut at 3,000,000 characters, and the PDF's page count when the text came from the PDF
titleFull title with citation and date
searchTerm, searchType, position, totalResultsWhich search found the row, its position and BAILII's total for that search
relevance, sizeKbBAILII's relevance score (relevance sort) and document size
scrapedAtScrape time (UTC)

Example row (text shortened):

{
  "caseName": "Commissioners for His Majesty's Revenue and Customs v Dolphin Drilling Ltd",
  "neutralCitation": "[2024] EWCA Civ 1",
  "citations": ["[2024] 3 WLR 38", "[2024] Ch 255", "[2024] BTC 3", "[2024] WLR(D) 19", "[2024] STC 157", "[2024] EWCA Civ 1"],
  "court": "England and Wales Court of Appeal (Civil Division) Decisions",
  "courtCode": "EWCA Civ",
  "jurisdiction": "England and Wales",
  "date": "2024-01-11",
  "url": "https://www.bailii.org/ew/cases/EWCA/Civ/2024/1.html",
  "pdfUrl": "https://www.bailii.org/ew/cases/EWCA/Civ/2024/1.pdf",
  "fullText": "Neutral Citation Number: [2024] EWCA Civ 1\n\nCase No: CA-2022-002088 ...",
  "textLength": 52000,
  "fullTextSource": "html"
}

❓ FAQ

Which courts are covered? Everything BAILII publishes for the UK, England and Wales, Northern Ireland, Scotland and Ireland: courts, tribunals and bodies such as the Supreme Court, House of Lords, Privy Council, Court of Appeal, High Court divisions, Upper Tribunal and First-tier Tribunal chambers, Employment Tribunals, the Court of Session and the Irish Supreme, Appeal and High Courts. Coverage per court is whatever BAILII holds.

How current is it? Every run searches BAILII live, so new judgments appear as soon as BAILII publishes them.

Is there a result limit? No fixed limit: the Actor pages through BAILII's results until it has maxResults judgments per search or BAILII has no more. Judgment text is kept up to 3,000,000 characters per judgment (far longer than almost any judgment) so each row stays within the dataset's 9 MB row limit; fullTextTruncated shows when that happens.

Why do some rows have a case name like "- v -"? Some anonymised tribunal decisions are listed on BAILII without party names; the subject is shown in brackets.

How fast is it? About half a second to a second per judgment with full text, a few seconds for a list of 200 cases without text. The Actor paces its requests to keep the load on BAILII low.

⚠️ Limits

  • Search results and texts are BAILII's; a judgment BAILII does not hold cannot be found.
  • Only case law: legislation and other materials on BAILII are not included.
  • BAILII's search engine can return nothing when a case name is combined with a wildcard (*) term; use whole words together with a case name.
  • Judgment pages that fail to load after several attempts, and links BAILII does not hold, are skipped (not charged) and counted in the run's status message and OUTPUT record.
  • totalResults is BAILII's own count; its result pages can repeat a document, which the Actor saves once, so a full run can end a few rows below that count.

Questions or ideas: hello@scrape.ly

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.