Library / Research & legal / Court opinions

Court opinions & case law

Search 9M US court opinions in full text, each with its court, date, docket number, author, judges and precedential status.

9MUS court opinions
Full textof every opinion
Structuredcourt, docket and status
POST api.exa.ai/search
California Supreme Court decisions on noncompete agreements
includeDomains: exa.ai/library/legal/opinion
exa.ai/library/legal/opinion · California Supreme Court
Edwards v. Arthur Andersen LLP
Docket No. S147190 · Lead opinion · Published
We granted review to address the validity of noncompetition agreements in California and the permissible scope of employment release agreements…

See a full example: Marbury v. Madison (1803) →

What's in the dataset

One page per opinion

A decision with a dissent or concurrence gets one page for each opinion.

Case details

Case name, court, date and docket number.

Opinion and judges

The opinion type, such as lead, concurrence or dissent, its author and the judges on it.

Precedential status

The opinion's precedential status, such as published.

Full text

The complete opinion, not a summary.

Search by what matters

Legal issueCourtCase nameJudgeDocket number

Describe the legal question in plain language, or search by case name, court or docket number. To keep results to opinion pages, add includeDomains: ["exa.ai/library/legal/opinion"].

Read the docs →
# Same endpoint and API key as web search
curl https://api.exa.ai/search \
  -H "x-api-key: $EXA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "California appellate decisions on non-compete enforceability",
  "includeDomains": ["exa.ai/library/legal/opinion"],
  "contents": { "text": true }
}'

What teams build with it

Legal research agents

Find relevant cases from a plain-language question.

Litigation research

See how courts have ruled on an issue, with the full reasoning.

Legal RAG

Ground answers in the full opinion text, with citation details.

Searchable alongside the general web index

Court opinions live in the same index as the open web. There's no separate API or integration: use the same /search endpoint and API key you already use.

Query court opinions on their own, or mix them with web results in a single call.

General web indexweb
Court opinions9M
Patents10M
SEC filings19M
↓ one request
POST /search

Common questions

How many court opinions does Exa have?

About 9M US court opinions.

Are dissents and concurrences included?

Yes. Each opinion in a decision gets its own page.

What's on an opinion page?

The case name, court, date, docket number, opinion type, author, judges, precedential status and the complete opinion text.

Is there a case law API?

Yes. Court opinions are searchable through the same Exa /search endpoint and API key you use for web search, so there's no separate API to set up.

How do I search only court opinions?

Pass includeDomains: ["exa.ai/library/legal/opinion"] to the /search endpoint.

Start searching court opinions

Get an API key in minutes, or talk to us about volume, coverage and enterprise terms.