Skip to main content

Case Law API Buyer Checklist: Eight Questions to Ask First

A vendor page tells you how many cases it holds. It does not tell you whether a citation you already know returns the right record, whether a dissent is labelled as one, or how you would notice a gap. You can find all of that out before you write any integration code.

Short answer: ask every case law API vendor the same eight questions, and turn each answer into a result you can check. Coverage for the courts you need. Citation matching. Full opinion text with each separate opinion. Links between opinions. How search works. How errors and limits behave. What the licence lets you store. How a new opinion arrives. Each test below takes about ten minutes and uses a real call or a real document. A vendor that answers with a number or a brochure has not answered.

Written and checked on 25 November 2026. This is general information, not legal advice; check the cited opinion before relying on it.

TL;DR

  • Test with cases you know. Pick two Supreme Court cites and one obscure state case before you open any demo.
  • A count is not coverage. Ask for decisions per court and per year, and compare one year with the court's own site.
  • One citation can match two or three records. What matters is whether the API shows you all of them and lets you choose.
  • Read the terms before the first call. The line between free use and production use is a licence question, not a technical one.

Opinion text, as of 25 November 2026

Case: Gideon v. Wainwright, 372 U.S. 335 (1963), argued January 15, 1963 and decided March 18, 1963. We use it as the test case because it has a majority opinion and separate concurrences.

What it says, verbatim: "any person haled into court, who is too poor to hire a lawyer, cannot be assured a fair trial unless counsel is provided for him." (372 U.S. at 344.) Justice Harlan's concurrence opens: "I agree that Betts v. Brady should be overruled, but consider it entitled to a more respectful burial than has been accorded" (372 U.S. at 349).

Read from: the Library of Congress scan of the case, where both sentences sit on the pages numbered 344 and 349, and the Cornell LII copy, which has the same words. The API text we read carried the star-page markers *344 and *350, so the pinpoints could be checked.

How the tests were run

Questions 1 to 4 and 8 below show live calls to the Vaquill API made on 25 November 2026, with two Supreme Court citations chosen in advance: 372 U.S. 335 and 529 U.S. 266. Questions 5 to 7 rest on the docs or a third party's page, each dated where it is used. Treat the output as one worked example. Run the same tests on every vendor you are weighing, this one included.

This post is about case law. To split the market by data type first, read best legal data APIs for developers. For the statutes version of this exercise, read ten questions to ask a legal data vendor.

1. Does it cover the courts and years you need?

Why it matters. A headline count mixes courts, years and record types. Millions of cases can still leave your state's intermediate appeals court thin for the decade you care about.

The test. Write down three courts and the years you need. Ask for a per-court read: decisions held, and decisions per year. Then open each court's own website, count the opinions it lists for one recent year, and compare. A year with a sudden drop inside a court's range is the thing to find.

Example run. The example API has a free courts call with a coverage option, and a per-year option on top of it. On 25 November 2026 it reported 88,472 decisions held for the Ohio Supreme Court, 88,457 of them searchable. The per-year option adds a count for each year. The docs say some decisions are held and served by id without being searchable, and that a year with few decisions inside a court's range can be a gap in what is held, not a quiet year. We did not compare the Ohio figures with the court's own list, so they show the shape of an answer, not that the count is complete.

Good answer: a per-court, per-year read you can pull yourself, with the held and searchable figures kept apart. Bad answer: one corpus-wide number, a list of states with no courts, or "we cover everything." For how free sources state their own ranges, see free case law databases compared.

2. Does a known citation resolve to the right record, and what if it returns two?

Why it matters. Citations are how lawyers, briefs and AI tools name cases. If your product turns a citation into a record, you need to know what happens when the citation matches more than one.

The test. Send five strings to the citation lookup: two famous Supreme Court cites, one state appeals cite you know, one string that is not a citation, and one that looks real but does not exist. Record the status of each, how many records come back, and whether the case name matches what you expected.

Example run, 25 November 2026:

SentStatusWhat came back
372 U.S. 335ambiguousTwo records, both Gideon v. Wainwright, Supreme Court, decided 1963-03-18
529 U.S. 266ambiguousThree records, all Florida v. J.L., Supreme Court, decided 2000-03-28, docket 98-1993
not a citationunparsedNothing returned, and no charge for it
999 U.S. 1not_foundNothing returned, and charged

We checked the cases against Cornell LII: Gideon is 372 U.S. 335, decided March 18, 1963, and Florida v. J.L. is 529 U.S. 266, decided March 28, 2000.

The two Gideon records differ. One lists five reporter citations and 6,085 citing cases. The other lists only 372 U.S. 335 and 6,950 citing cases. The three J.L. records show 1,176, 1,587 and 6 citing cases. The API did not pick one. Its docs say an ambiguous status means several records match, sometimes copies of one case, and the response lists every candidate.

That is the behaviour to look for. Your code then has to choose a record on purpose and keep its id. The docs also warn that a resolved status means the citation exists, not that the case name or quote is right, and that not_found does not prove a citation is fake. How to find a case by its citation walks through the checks that follow.

Good answer: every candidate returned, a status that says none was chosen, and no charge for a string that is not a citation. Bad answer: the first match returned silently, a different case under the right cite, or an error with no explanation.

3. Is the full opinion text returned, with concurrences and dissents you can tell apart?

Why it matters. A quote from a dissent presented as the holding is a classic mistake. If the API gives you one blob of text, your product will make it too.

The test. Pick a case you know has a separate opinion. Fetch the case record, count the opinions it lists, and compare with the court's own volume. Fetch the text of each. Copy one sentence from the court's own copy and search the returned text for it. Check whether print page markers are present, so a pinpoint can be checked, and whether the record says the text was read from a scan.

Example run, 25 November 2026. The official volume prints four opinions in Gideon, which we confirmed on the Library of Congress scan. Of the two records from question 2, record 1 is the one with 6,950 citing cases and record 2 is the one with 6,085. We ran the test twice that day. On the first run, record 1 listed three opinions and Douglas's concurrence sat inside the lead opinion's text, under its own heading, with no entry of its own. The record was corrected later the same day. The table shows the second run:

OpinionStarts on pageRecord 1 in the APIRecord 2 in the API
Black, for the Court335leadone entry, labelled combined, no author name
Douglas345concurrencenot read
Clark, concurring in the result347concurrencenot read
Harlan, concurring349concurrencenot read

After the correction, record 1 lists four opinions in the order of the volume: Black as the lead opinion, then Douglas, Clark and Harlan as concurrences. Black, Clark and Harlan are flagged as read from scans. Douglas's text is flagged as not from a scan. The record still carries a quality flag with the code duplicate_cluster and the severity warn, which the docs define as a defect that may affect use, with the text still served. We read the lead opinion and Douglas's opinion. The lead opinion now ends at the word "Reversed." and its footnotes, and Douglas's opinion starts at the line "MR. JUSTICE DOUGLAS." Its star pages *346 and *347 fall where the pages break on the scan. Harlan's concurrence text carried the star pages *350 to *352, and they matched the scan.

The first run is the failure to look for: the author of a separate opinion could be recovered by reading, but not from the record's labels. Record 2 still shows the other shape, one combined entry with no author. A vendor should tell you which shape each record has. For the fields of an opinion record, see court opinions as JSON.

Good answer: one entry per opinion, each with a kind, an author and its own text, page markers where known, and a flag when text came from a scan. Bad answer: a single text field, kinds that are guessed, or no way to find a pinpoint.

4. Are the citations between opinions available?

Why it matters. You may want to follow the authority an opinion relied on, or find later cases that cite it. A list of citing cases is also easy to over-read.

The test. Take a case you know well. Ask for the cases it cites and check that three you know are there. Ask for the cases that cite it, then open two of them and search their text for the name. Compare the counts on any duplicate records. Check the dates on the listed cases against the cite year.

Example run, 25 November 2026. For record 1, the API listed the cases it cites, most mentioned first. The first five were Betts v. Brady, Powell v. Alabama, O'Neil v. Vermont, Avery v. Alabama and Shaffer v. Warden of Maryland House of Correction. All five appear in the opinion texts we read. Among the cases that cite it, the two most mentioned were Loper v. Beto and Argersinger v. Hamlin. We opened both on Cornell LII (Loper and Argersinger), and each names Gideon. We did not check the mention counts the API reports.

A citing list shows that a later case mentions an earlier one. It does not show whether the later case agrees, limits or overrules it. That takes reading the later opinion.

Good answer: citations in both directions, each linked to a record you can fetch, with the limits of the list stated. Bad answer: a citing count with no list, or a list that implies more than it shows.

5. How does search work: keyword, boolean or semantic?

Why it matters. The three behave differently. A keyword search that needs every word fails on a natural-language question. A boolean search lets you join synonyms. A semantic search can return a case that never uses your words, which matters if you plan to quote it.

The test. Run the same idea three ways: a full natural-language question, three keywords in the opinion's own vocabulary, and one exact phrase copied from an opinion you know. Add a query that joins two words with OR. Record the result count for each and whether the first hit is the case you expected. Open the first hit and search its text for your words.

Example. As an example of a plain answer, Vaquill's docs say case search is keyword-only: every word must appear in the opinion, you may quote up to three phrases, and OR, NOT and wildcards are not supported. The docs also say sort and the minimum-citations filter work on the top matches, not on every match, which is worth asking any vendor about. We read these on 25 November 2026. We did not run a live search for this post, so no result counts are shown.

Good answer: one sentence in the docs that names the semantics, and filters for court, date and judge that you can combine. Bad answer: "AI-powered search" with no statement of how a query is matched, or a ranking you cannot reproduce.

6. How do pagination, rate limits and failures behave?

Why it matters. Your code will meet an empty page, a timeout and a rate limit. What each one costs, and what the response tells you, decides how much retry code you write and whether a failed batch costs money.

The test. Page a long result to the end and note how paging works. Send one malformed request, one unknown id and one request that is too large. For each, record the status code, which fields the error body has, and whether you were charged. Look in a normal response for rate-limit headers.

Example from the docs. The example API's error page, read on 25 November 2026, says errors return JSON with a detail field, and that metered routes also carry a stable code, a requestId and a retryable flag. It says to branch on the code and quote the request id to support. A 503 means a backend is temporarily unavailable and is not charged. A 504 is refunded, a withdrawn case answers 410 and is not charged, and a 429 means back off and retry. A 429 or 503 that carries a Retry-After header also carries retryAfterSeconds in the body. Rate-limit headers come back on every response. The pagination page says case lists page by cursor or by offset up to 10,000, and the change feed page says an empty page is charged. We ran no failure tests for this post.

That is a good answer in shape: a code to branch on, a retry flag, a retry hint, a request id to quote to support, and a plain statement about charges. Check each vendor for the same five things.

Good answer: documented status codes, a machine-readable error code, a retry hint, rate-limit headers, and a stated rule for what a failure costs. Bad answer: a generic 500 page, silent truncation of long results, or billing for calls that failed.

7. What does the licence let you store, cache or train on?

Why it matters. The code works in a day and the licence can stop the product in a month. Some access tiers bar anything that earns revenue, and some count internal tools too.

The test. Before your first call, find the terms and answer six questions from them in writing. May you keep responses in your own database, and for how long? May you build embeddings or other indexes? May you show the text to your users? May you train a model on it? May you redistribute it? What do the terms treat as commercial use? If a question is not answered, email it and keep the reply.

Example of a clear page. Free Law Project's allowed-usage page, read on 25 November 2026, draws its line in plain words. Membership-based API access "may not be used to power a revenue-positive commercial product, service, or feature", and "We consider internal tooling that supports an organization's operation to be commercial use". It tells commercial users to contact its partnerships team, and says commercial agreements "come with higher rate limits, support, and terms appropriate for production use." We make no claim here about any other provider's licence, because the point is to read each one yourself. For more on the free side, see is CourtListener reliable and free case law databases compared.

Ask one more thing: whether the licence covers the text of the opinions, the vendor's compiled database, or both. They can carry different terms.

Good answer: a terms page with yes or no answers to the six questions, and a named route for commercial use. Bad answer: "open" or "free" with no document, or terms that change by email.

8. How does a new opinion arrive, and how would you notice a gap?

Why it matters. Courts publish all the time, and some withdraw decisions. A corpus that is quietly stale, or that keeps a decision a court has taken down, hurts you without any error.

The test. Open a court you need on its own website and find the newest opinion it lists. Search for it in the vendor, and note how long it takes to appear. Repeat on another day. Then ask four things: where new opinions come from, whether you can list what was added, changed or removed since a time you choose, what a removal looks like, and which date fields each record carries.

Example run, 25 November 2026. The example API carries addedAt, updatedAt, firstSeenAt and sourcePublishedDate on a case record, and a newest decision date and newest added date per court on the free courts read. In the two Gideon records, addedAt was 2026-11-21 for both, though the case was decided in 1963. It records when the record entered the database, not when the court decided it. firstSeenAt and sourcePublishedDate were null in both, and the updatedAt values differed. Ask what a null means before you rely on a field. The docs describe a change feed that lists cases added, changed or removed after a time you choose, and say a removed row means you should delete your copy. For a published look at how one vendor measured this, see US case law data quality, measured.

We did not measure how soon any court's new opinion appears, and this post makes no claim about it. That is the test to run.

Good answer: per-record dates you can read, a way to list changes since a time, and a plain rule for removals. Bad answer: "updated regularly," no feed, and no way to tell a stale record from a current one.

What goes wrong

  • Testing only famous cases. Famous cases are the best covered. Add one obscure state case and one trial-court order, which may have no reporter cite at all.
  • Trusting a count. A count of records is not a count of opinions you can search.
  • Treating resolved as checked. A matched citation does not confirm the name, the quote or the pinpoint.
  • Choosing between two records silently. Two records can carry different citing counts and different opinion lists. Pick one on purpose and store its id.
  • Quoting from text with no page markers. Take the pinpoint from the official volume.
  • Reading the terms after launch. Do it before the first call, and keep the answers.
  • Testing once. Failure behaviour shows up under load and on other days. Repeat the tests.

The checklist on one page

QuestionTen-minute testWhat to record
1. CoveragePer-court, per-year read for three courts; count one year on the court's siteHeld and searchable figures, the year compared, any gap year
2. Citation matchingSend five strings: two famous, one state, one invalid, one made upStatus for each, number of records, case name against expectation
3. Opinion textCount opinions on a case with a concurrence; search the text for a sentence from the court's copyOpinions listed against printed, labels, page markers, scan flag
4. Citations between opinionsCheck three known cited cases; open two citing casesMissing or extra cases, date mismatches, counts on duplicate records
5. SearchSame idea as question, keywords and quoted phrase; add an ORResult counts, rank of the expected case, whether hits hold your words
6. Errors and limitsMalformed request, unknown id, oversized request, then a long page walkStatus, error fields, retry hint, headers, whether you were charged
7. LicenceAnswer six storage and use questions from the termsWritten answers, the commercial-use line, open questions emailed
8. ProvenanceFind a court's newest opinion; search for it on two daysLag, date fields, null meanings, how changes and removals are listed
Run the test
Question 1 of 4

You send 529 U.S. 266 to a citation lookup. It returns status ambiguous with three candidates, all Florida v. J.L., decided 2000-03-28. What should your code do?

For US case law, statutes and regulations through one API key, see the US case law API.

FAQ

What should I check first in a case law API?

Check coverage for your own courts and years, not the total. Ask for decisions per court and per year, then compare one year with the court's own site.

How do I test whether a case law API covers my court?

Pick the court and one recent year. Count the opinions the court lists for that year on its own site. Then ask the vendor's API for its per-year figure for that court, and compare the two.

What does it mean when a citation returns more than one case?

More than one record in the database carries that citation. Sometimes they are copies of one case. The API should list every candidate and let you choose. Your code should store the id of the one you pick.

Does a list of citing cases show whether a case has been overruled?

No. It shows that later cases mention the earlier one. It does not show whether they follow it, limit it or overrule it. Reading the later opinions is how you find out.

Can I use a free case law API for a commercial product?

Check the provider's terms page before you build. One page read for this post bars membership-based API access from powering a revenue-positive product and counts internal tools as commercial use. Terms differ by provider.

How do I keep a stored copy of case law current?

Ask for a way to list the cases added, changed or removed since a time you choose, and for a clear rule on removals. Then store the record id and the date you last synced.

How long does a proper evaluation take?

Each question here takes about ten minutes, so an afternoon covers all eight for one vendor. Repeat the tests on another day to see how the vendor behaves under load.

Legal data built for your AI agents.
Vaquill AI is a legal data lab. US case law via REST and MCP, and every US statute, regulation, constitution and executive order via REST, MCP or SQL: 6M+ statute sections with section-level citations and links to the official source. Plus a free open statutes dataset.
Updated November 25, 202622 min read

New legal AI guides, weekly.

Priyansh Khodiyar

Priyansh Khodiyar

Co-Founder & CTO

Priyansh leads engineering and AI at Vaquill AI: the pipelines that pull statutes, regulations and court rules from every US jurisdiction's official publisher, and the REST API, MCP server and open dataset that serve them.

Cookie preferences

Choose what Vaquill may use on this browser. You can change this at any time from “Cookie settings” in the footer.

Details in the Cookie Policy.