The Best Legal Research APIs in 2027
Nine US legal research and legal data APIs ranked by job, with published limits and a live statute lookup that came back with good-law status.

Ground your agent's legal answers in current statute text, with the citation and good-law status attached. Paste this into your agent:
Set up https://monid.ai/SKILL.md, and then use Monid to call vaquill /us/statutes/coverage and tell me how many sections and jurisdictions it covers. Then look up 42 U.S.C. § 1983 with /us/statutes/section/{act_id} using act_id USC_T42_C21_S1983, and show me its citation, actStatus, goodLawStatus, currentThrough date and source link. Tell me what each call cost.
One prompt gives the agent a citable US law lookup. 1 min setup · 3-6 hrs saved.
If you are building a legal AI product or an agent that has to cite the law, you meet the same wall. A model will quote a statute from memory, and you cannot tell whether that section was amended last year. The usual fixes are scraping fifty state code sites or signing a Westlaw or Lexis contract before the first test call. The free route has a ceiling too: CourtListener's free API tier stops at 125 requests a day.
This list ranks nine US legal research APIs by the job each does best. Entries 3 and 4 run through Monid, the OpenRouter for agent tools: one key, one balance, every tool priced per call. Vaquill AI takes first place. Vaquill AI is a content partner on this guide and a provider you can call through Monid; the runs are ours. The short version:
- Best overall for agents: Vaquill AI, statutes with good-law status, plus case law.
- Best free case law and federal dockets: CourtListener.
- Best pay-per-call statute lookup with no new account: Vaquill AI on Monid.
| Measurement, Verified 2026-11-29 | Value |
|---|---|
| Coverage map (free call) | 5,978,517 sections, 26,219,691 passages, 5.6 s |
| Jurisdiction rows | 57, with data for all 50 states |
| Look up 42 U.S.C. § 1983 | 1.8 s, in_force, good_law |
| Text current through | 2026-11-10 |
How did we pick these legal research APIs?
We judged every option on four things an agent needs from a legal source, and left out anything without an API you can confirm today.
- It returns primary law as fields. Citation, court or code, dates and status, not a page to scrape.
- You can tell whether it is still good law. Status, amendment history or a source link to check.
- A developer can get a key. Self-serve, a free tier, or at least a documented route.
- The price is published, or the vendor says plainly that it is not.
Two disclosures. Vaquill AI is a content partner on this guide and a provider you can call through Monid, and Monid is our product. Every plan limit below comes from the vendor's own page, read on 2026-11-29. Scraping court and code sites yourself was out of scope: it raises legal and terms-of-use questions that our note on whether web scraping is legal walks through. We dropped the Caselaw Access Project (API retired September 2024, bulk files only), Casetext (now inside CoCounsel), Harvey (API for Harvey customers only) and vLex Vincent (marked "coming soon" on the vLex developer portal).
What are the best legal research APIs in 2027?
Ordered by how completely each covers the four criteria.
1. Vaquill AI: best overall legal research API for agents
Vaquill AI is a US legal data API and MCP server. Its Statutes API covers the US Code, the CFR and the codes of all 56 states and territories, plus state regulations, court rules and constitutions, and each section links to its official source. A separate Case Law API returns opinions, dockets, courts and judges; Vaquill AI's coverage docs list 20M+ opinions from 2,400+ courts and bodies.
Plans, Verified 2026-11-29 (read on vaquill.ai): free for non-commercial use, legal aid, universities and state bars; Pro includes 20,000 API credits a month; Business is unmetered under fair use. Dollar prices appear after sign-up.
Features: actStatus and goodLawStatus on every statute section, an MCP server for Claude, Cursor and VS Code, and law change alerts (email on Pro, webhook on Business).
2. CourtListener: best free case law and federal dockets
CourtListener is run by Free Law Project, a non-profit. It holds over 10 million opinions and the RECAP archive of PACER data, served through REST APIs, webhooks, bulk files, database replication and an MCP server.
Pricing, Verified 2026-11-29 (read on Free Law Project membership): free at 5 requests a minute, 50 an hour and 125 a day; memberships from $10 a month (300 a day) to $100 a month (1,400 a day). Membership API access is for small firms, academics, legal aid and similar groups; others use a commercial agreement.
Limit to plan for: the free daily cap is low for an agent that searches in loops. See the API overview.
3. Vaquill AI on Monid: best pay-per-call statute lookup with no new account
Vaquill AI's statute endpoints sit in the Vaquill AI tools on Monid, under the key and balance your agent already uses. Search, section lookups, definitions, hierarchy walks and counts are each one call, with no plan to pick.
Pricing: a few cents per call, a free coverage map, and a statute search that finds nothing is not billed. Live prices are on the Vaquill AI provider page.
Limit to plan for: on Monid today the endpoints are statutes and regulations only; the inspect summary says case law is not covered. For opinions, use Vaquill AI directly or entry 2.
4. Google Scholar case law through SerpApi: best quick opinion lookup
Google Scholar indexes US court opinions, and SerpApi's Google Scholar Case Law API returns one case's title, court, citation, dates and opinion text as JSON. It is a fast way to fetch a named case when you do not need dockets or status. The same endpoint is on SerpApi's Monid page at a cent or two per call.
Pricing, Verified 2026-11-29 (read on SerpApi pricing): free plan with 250 searches a month; Starter $25 for 1,000; Developer $75 for 5,000.
Limit to plan for: no good-law flag, and coverage is whatever Scholar indexes.
5. Docket Alarm: best for federal dockets, PTAB and ITC filings
Docket Alarm, part of Clio, sells "The Legal Data API": search, PACER search, docket sheets, document PDFs, case tracking and Ask Docket, which answers questions from docket entries. Coverage spans federal and state courts, PTAB and the ITC.
Pricing, Verified 2026-11-29 (read on the API page): API access is through sales. The account plans on the same page are Free (5 actions a week), Pay-As-You-Go at $39.99 a month plus $4 a document, and Flat-Fee at $99 a month, excluding PACER fees.
6. UniCourt: best for state and federal litigation data at scale
UniCourt offers an Enterprise API and data share over 5,000+ state and federal courts across 46 states, with over 2 billion dockets and documents, normalized parties, attorneys and judges. Its API docs are public.
Pricing, Verified 2026-11-29: no prices on unicourt.com; access is an enterprise plan through sales. The docs carry a notice that the current platform will be retired, so ask which version you are signing up for.
7. Trellis: best for state trial court rulings
Trellis focuses on state trial courts. Its API returns dockets, rulings, documents and judge data, with alerts and webhooks, and V2 adds federal and PACER coverage, per its API page.
Pricing, Verified 2026-11-29: no public prices; a free trial starts through sales@trellis.law.
8. LexisNexis APIs: best if your firm already licenses Lexis
Lexis APIs include the Protégé API (its Ask and Summarize functions, with citations), the CourtLink docket API, the Lex Machina litigation analytics API and the State Net legislation API.
Pricing, Verified 2026-11-29: no public prices; the page routes you to an API specialist and a developer portal.
Limit to plan for: this is an enterprise contract, not a test-today key.
9. Westlaw APIs (Thomson Reuters): best if your firm already licenses Westlaw
Thomson Reuters runs a Developer Portal whose catalog includes Westlaw APIs such as Westlaw US Legislation and Westlaw US Litigation Analytics.
Pricing, Verified 2026-11-29: no public prices, and the catalog sits behind a Thomson Reuters sign-in.
Why does Vaquill AI come first?
Vaquill AI comes first for one job: grounding an agent's answer in the current text of US statutes and regulations, with proof that the section is still in force. Our lookup of 42 U.S.C. § 1983 came back in 1.8 seconds with actStatus: in_force, goodLawStatus: good_law, a "current through" date of 2026-11-10, its amendment years and a link to the source text. That is the field an agent needs before it quotes a statute.
Others win elsewhere. CourtListener wins on free case law and federal dockets, Docket Alarm and UniCourt on litigation records, and Lexis and Westlaw bring the licensed content a firm already uses. None gives a developer self-serve access to every state code with a status flag on each section.
How to look up US law with Monid
Three steps: install, check coverage, then look up a section. Monid supplies one key and one balance; the law data is Vaquill AI's, and every endpoint is listed on Vaquill AI's Monid page.
Step 1. Install and add your key
For agents. Get an API key at app.monid.ai, then give your agent the key and this setup line.
set up https://monid.ai/SKILL.md
For humans. Install the CLI and save your key.
npm install -g @monid-ai/cli
monid keys add -k <your-api-key> -l main
Step 2. Check what can be searched
The coverage call is free and takes no input. Run it before treating an empty search as "no such law".
monid run -p vaquill -e /us/statutes/coverage -w -j
Ours returned 5,978,517 sections and 26,219,691 passages, 31 corpus types from the US Code to state attorney general opinions, and two opt-in corpora (federal bills, pending rule amendments) flagged as not law.
Step 3. Look up a section
Take the act_id from a search result; the schema warns that hand-built ids usually miss.
monid run -p vaquill -e "/us/statutes/section/{act_id}" \
--path '{"act_id":"USC_T42_C21_S1983"}' -w -j
| Field | What came back |
|---|---|
citation | 42 U.S.C. § 1983 (2026) |
actStatus, goodLawStatus | in_force, good_law |
currentThrough | 2026-11-10 |
amendmentYears | 1996, 1979 |
crossReferencesUsc | 8:43, 28:1343 |
textUrl | Plain-text source of the section |
The lookup returns metadata and an excerpt; a /body endpoint reads the full text, and /us/statutes/search finds an act_id from a question (not run today).
How much does a legal research API cost?
The nine picks bill in four shapes; live per-call prices are in the legal tools on Monid.
Free or membership. CourtListener is free to 125 requests a day, with memberships from $10 a month, Verified 2026-11-29. Vaquill AI is free for non-commercial and legal aid use.
Plans and credits. Vaquill AI Pro (20,000 credits a month) and SerpApi (from $25 a month for 1,000 searches) sell allowances, Verified 2026-11-29.
Per call. Through Monid, a Vaquill AI statute lookup costs a few cents and the coverage map is free; our whole run cost a few cents.
Contract. Docket Alarm's API, UniCourt, Trellis, Lexis and Westlaw quote through sales.
Which legal research API for which job?
| Job | Best API | Why (Verified 2026-11-29) |
|---|---|---|
| Agent cites current statutes and regulations | Vaquill AI | Good-law status per section, all state codes, MCP |
| Free opinions and federal dockets | CourtListener | 10M+ opinions, RECAP, free to 125 requests a day |
| A few statute lookups, no new account | Vaquill AI on Monid | Same data under the agent's existing key, per call |
| Fetch one named case quickly | SerpApi Scholar Case Law | Free for 250 searches a month |
| Track federal filings, PTAB, ITC | Docket Alarm | Docket, document and tracking endpoints |
| Litigation data across state courts | UniCourt | 5,000+ courts, enterprise API |
| State trial court rulings | Trellis | Rulings and judge data, free trial |
| Firm already on Lexis or Westlaw | Lexis APIs, Westlaw APIs | Your licensed content in your tools |
When is free bulk data enough?
Free bulk data is enough when the job is a one-time corpus, such as training a classifier or building your own search index. CourtListener publishes bulk CSV files of its case law, and the Caselaw Access Project releases its digitized reporters as downloads.
It stops being enough when the agent answers live questions: it needs today's text and status, not a snapshot. Our own limit belongs here: through Monid you get Vaquill AI's statutes, not its case law, so an agent that must cite opinions also needs entry 1 or 2. Browse the Monid legal category for what is callable today.
Conclusion
You now have nine legal research APIs sorted by job, the published limits behind each, and a live lookup that returned a statute with its good-law status in under two seconds. Start with Vaquill AI for statutes and regulations, CourtListener for free case law, or the per-call route through Monid when the agent already holds a key. The 3 to 6 hours saved is our estimate for scraping and normalizing one state's code by hand.
FAQ
What is the best legal research API?
For an agent citing US statutes and regulations, Vaquill AI: every section carries a good-law status and a source link. For free case law, CourtListener.
Is there a free case law API?
Yes. CourtListener is free to 125 requests a day, and SerpApi's free plan includes 250 searches a month, Verified 2026-11-29.
Do Westlaw and Lexis have APIs?
Yes, for licensed customers. LexisNexis offers Protégé, CourtLink, Lex Machina and State Net APIs, and Thomson Reuters lists Westlaw APIs in its Developer Portal. Neither publishes prices.
Can an AI agent check whether a statute is still good law?
Yes. Vaquill AI returns actStatus and goodLawStatus on each section; ours came back in_force and good_law, current through 2026-11-10.
This list is based on public information read on November 29, 2026 and is not an endorsement by any vendor named.
Published November 2026.


