Legal research API · Any commercial use
Search, retrieve, and cite-check more than 10 million U.S. court opinions, 60,000 U.S. Code sections, the Code of Federal Regulations, over 1.9 million state statutes, federal and state court rules, U.S. and state constitutions, and specialty corpora (IRS tax authorities) from your own product. Any commercial purpose: an app for yourself, your firm, or the public.
Use the LawDiver API in your own legal app. Keep it to yourself. Run it inside your firm. Offer it to the general public. A private research desk, the software your colleagues open every morning, or a product you charge the world for — including serving API returns to third parties for compensation — each of those is allowed.
Other legal research APIs are not built this way.
CourtListener's membership API is fenced in. It covers personal, educational, research, journalistic, and exploratory use. It may not power a product that makes money, serve a firm of more than five attorneys, or run internal tools that support an organization. Cross any of those lines and you need a separate commercial agreement before you ship.
Westlaw and Lexis are a different kind of no. Their opinions stay inside their own products. A license to pipe that data into an application that competes with them is not a form they hand out.
We provide the raw materials — the cases, the statutes, the regulations, and the rules — and an API your product calls. Your interface, your users. You may not use the API to recreate, rebuild, or mirror the LawDiver database; wholesale corpus copies require a separate bulk data license. See Section 8 of the Terms of Service.
Most teams building a legal app hit the same wall: models are easy to wire up; authoritative legal data is not. Scraping court sites does not give you boolean search, good-law signals, or a cite checker that covers statutes and agency authorities.
LawDiver's API is the programmatic surface over the live LawDiver corpus: case search, full opinion retrieval, and citation verification across cases, codes, regulations, rules, and specialty administrative authorities. Use it inside research products, drafting assistants, compliance pipelines, or internal firm tools — without a Westlaw contract for those workflows.
Discover endpoints at /api/v1. Full field-level reference lives in the API documentation.
Search, retrieval, cite check, and bulk upload cover the research loop most legal apps need.
Semantic, boolean, and metadata search across federal and state opinions, with jurisdiction and court filters — the same engines the site uses.
Fetch full opinion text and structured metadata — holdings, citations, court, and dates — for a specific case by id or resolved cite.
One endpoint for the full authority stack CiteCheck uses: cases (existence, treatment, subsequent history), U.S.C. and C.F.R., over 1.9 million state statutes, court rules, constitutions, and specialty administrative cites.
Upload a JSON file of searches, cite checks, and retrievals. Each call is attempted three times. When the job finishes you download one combined result. Quiet periods run the file in parallel.
Connect Claude, ChatGPT, or Cursor with the MCP server using the same API key and usage meter as REST.
Caselaw alone is not enough for most products. Briefs cite the U.S. Code, state codes, the C.F.R., and court rules. A legal data API should answer whether those authorities exist in the corpus and return structured records — identifiers, metadata, and held text — not scraped HTML pages. LawDiver's REST surface is built around that full authority stack: more than 10 million U.S. court opinions, 60,000 U.S. Code sections, the Code of Federal Regulations, over 1.9 million state statutes, federal and state court rules, U.S. and state constitutions, and specialty corpora (IRS tax authorities).
Responses for cases include identifiers, metadata, full opinion text, PDFs where available, and good-law / citing-opinion signals. Specialty lanes already on cite-check include IRS tax authorities (Rev. Rul., PLR, and related forms). Search and retrieval sit next to verification on the same key, so a product can pull primary law and then prove a citation is real without a second vendor.
Search and retrieve are table stakes. The hard part — and where LawDiver's API earns its keep — is proving a citation is real against stored corpora, not asking another language model to guess. That is the same stack as CiteCheck, over REST or MCP.
A single POST /api/v1/citecheck/cite call can verify:
Field-level detail and examples: /docs/api#citecheck-specialty.
The LawDiver API is free during the current rollout: create an account, issue a key, and call the REST endpoints. No credit card is required to start. Usage is recorded so you can see what you ran. Pricing, if introduced later, will be published; until then the documented surface at /docs/api is the self-serve path. See /pricing for the current free-tier summary.
Administrative cites that usually require a second vendor seat — verified against LawDiver corpora.
Rev. Rul., Rev. Proc., Notices, T.D.s, PLRs, TAMs, CCAs, and related IRB / written-determination forms against the tax_authority corpus.
Sign up with email and password.
Keys are scoped and revocable. One key covers REST and MCP.
Follow the TypeScript and Python examples in the docs. Usage is logged so you can see what you ran.
Cite-check covers cases, federal and state statutes, the C.F.R., court rules, constitutions, and specialty administrative authorities — not every secondary source or treatise bundled into Westlaw or Lexis, and not every specialty board until its resolve lane ships. For human search without an API key, use case search. For uploading a brief and cite-checking the whole document, use CiteCheck.
Yes. Under the Terms of Service, API customers may use the API in their own applications, including serving API returns to third parties for compensation. You may not recreate the LawDiver database through the API; wholesale corpus copies require a separate bulk-data license. CourtListener's membership API does not work that way: it is limited to personal, educational, research, journalistic, and exploratory use, and a revenue-generating product, a firm of more than five attorneys, or internal tools that support an organization each require a separate commercial agreement. Westlaw and Lexis do not license their opinions into an app that competes with theirs.
Yes. Create an account, get an API key, and call search, retrieval, and cite-check endpoints over more than 10 million U.S. court opinions, 60,000 U.S. Code sections, the Code of Federal Regulations, over 1.9 million state statutes, federal and state court rules, U.S. and state constitutions, and specialty corpora (IRS tax authorities). Usage is recorded so you can see what you ran.
Yes. That is what it is for. Call search, retrieval, and cite-check from an app you keep to yourself, from software your firm runs, or from a product you offer the public. Any commercial purpose is allowed.
Case search (semantic, boolean, and metadata with jurisdiction and court filters), case retrieval (full opinion text plus structured metadata), and cite check — existence and good-law signals for cases, plus corpus verification for U.S.C., C.F.R., state statutes, court rules, constitutions, and specialty administrative authorities (IRS tax authorities (Rev. Rul., PLR, and related forms)).
The same path as CiteCheck: more than 10 million U.S. court opinions, 60,000 U.S. Code sections, the Code of Federal Regulations, over 1.9 million state statutes, federal and state court rules, U.S. and state constitutions, and specialty corpora (IRS tax authorities). Send the citation as written to POST /api/v1/citecheck/cite — no extra parameter for specialty forms. Specialty hits return authorityCoverage with a stable authorityKey. See /docs/api#citecheck-specialty.
Yes. Live specialty resolve covers IRS tax authorities (Rev. Rul., PLR, and related forms). Send the citation as written to POST /api/v1/citecheck/cite — no extra parameter. See /docs/api#citecheck-specialty.
No. One key covers both. Keys are scoped and revocable.
Yes. POST /api/v1/bulk accepts a JSON file of calls and returns one combined document when the job finishes. Every API call has a time limit. When usage is high, complex searches can time out before they complete and come back as errors. Bulk upload attempts each call three times before giving up, which raises the quality of a large run. When usage is low, the same upload runs calls in parallel and can finish faster than sending them one at a time. See /docs/api#bulk.
The developer reference at /docs/api covers authentication, every endpoint and field, error codes, idempotency, and runnable examples in TypeScript and Python.
The full developer reference covers authentication, every endpoint and field, error codes, idempotency, and runnable examples in TypeScript and Python.