AustLII
A free resource of medium-neutral case law and unreported judgments for all Australian jurisdictions, covering the whole country since 1995.
Open legal data including case law, statutes, regulations, court filings, and corporate disclosures from various jurisdictions.
15sources
Legal and regulatory data covers court opinions, legislation, regulations, and corporate filings, and it is one of the areas where RAG genuinely shines. Legal questions demand answers grounded in the exact text of a statute or judgment, with a citation you can check, which is precisely what retrieval provides and what an unaided model, prone to inventing plausible-sounding cases, does badly. For any tool that touches law, compliance, or contracts, grounding every answer in a real source is not a nice-to-have, it is the whole point.
The first decision is jurisdiction. Law does not travel: a US federal opinion tells you nothing about UK employment rules, so match your sources to the legal systems your users care about before anything else. Then consider currency. Legislation is amended constantly, and a repealed section retrieved as if it were live can be worse than no answer at all, so favour sources that track amendments and version their text. Coverage also varies between case law, primary legislation, and regulatory guidance, and you may need more than one source to cover all three.
Watch for a few specifics. Court documents are often scanned images run through text recognition, which introduces errors that quietly corrupt a quotation. Formats lean towards long PDFs that need careful splitting so that sections stay intact. Licensing is usually generous, since public law is frequently free to reuse, but corporate filings and commercial legal databases can carry real restrictions.
The sources below span case law, legislation, and regulatory filings across several jurisdictions, so you can build for the legal system you actually serve.
A free resource of medium-neutral case law and unreported judgments for all Australian jurisdictions, covering the whole country since 1995.
A curated list of legal technology resources: open-source platforms, AI models, companies, datasets, and tools spanning the global legal ecosystem. Useful for tracking new entrants in a fast-moving space.
Free access to British and Irish primary legal materials, covering UK and Ireland case law and legislation. Alongside the National Archives, one of the main free sources for reading UK judgments.
A research dataset of more than 250,000 UK court cases, mostly from the 21st century but with some reaching back to the 16th century. Built by the University of Cambridge for legal natural language processing work, it is available under restricted access for research use.
A national legal information institute covering Canada's federal and provincial jurisdictions, hosting over 300 databases of legislation and case law. Bilingual, with thousands of commentaries on Canadian court decisions.
6.9M US court decisions spanning the 1600s to 2020, digitised by Harvard Law School Library and released in a consistent machine-readable format. Covers every official, book-published state and federal case, with a free bulk API.
An up-to-date electronic Code of Federal Regulations with a full bulk API. Continuously updated, unlike the annual print edition.
The US Securities and Exchange Commission's repository of corporate filings, including annual reports (10-K), quarterly reports (10-Q), current reports (8-K), and proxy statements. You can search the full text or pull filings in bulk through an API, which makes it a rich source for financial and regulatory RAG.
The official portal for European Union law. It provides EU treaties, legislation, case law, and legislative proposals in 24 languages, with bulk download available. A dependable source for multilingual legal and regulatory RAG across the EU.
Official UK court decisions published by the National Archives, with structured XML and a documented API. The authoritative modern source for downloading UK judgments.
The largest open collection of US court opinions, oral argument recordings, and judicial financial disclosures, run by the nonprofit Free Law Project. Its RECAP Archive holds hundreds of millions of federal court docket entries, and journalists at the Wall Street Journal and ProPublica have used it for investigations. A solid base for US legal RAG.
US federal legislation, regulations, and congressional records, with bulk data and API access. The authoritative source for US federal government publications.
The official UK government legislation database, holding all UK Acts of Parliament and statutory instruments. It is available as XML and linked data, so you can load the full statute book into a RAG system rather than scraping individual pages.
An open-source platform tracking US state legislation in real time. Bulk data and API access for bills, legislators, and votes across all 50 states.
A 256 GB dataset of open English-language legal and administrative text, covering court opinions, contracts, administrative rules, and legislative records. A ready starting point for building a legal RAG system without assembling sources yourself.