US federal case law search via CourtListener. Structured citations, jurisdiction filtering, and "not legal advice" disclaimers — all in clean JSON.
Your agent needs to find US federal court opinions. Normally that means hitting CourtListener's API, parsing their response, and handling authentication. LAWS does it all in one call and returns structured results with citations.
US federal case law — SCOTUS, Circuit Courts, District Courts. Searchable, filterable, with structured metadata including citation, court, date, and docket info.
Free tier is US-only. Paid tier is also US-only at launch. CanLII (Canadian) integration is pending API authorization — watch this space.
24-hour cache on every query. Case law doesn't change hourly — cache hit = instant response, zero upstream calls.
Every response includes a "not legal advice" disclaimer injected server-side. No client-side tricks, no bypassable metadata.
CourtListener is part of the Free Law Project — a nonprofit dedicated to making legal documents freely accessible. Our API provides a clean, structured layer on top of their raw data.
Free API key required. Covers US federal courts: SCOTUS, Circuit Courts, District Courts. Search syntax supports Boolean, fielded search, and date ranges.
Pending API authorization. Will add Canadian federal and provincial case law. Watch for updates.
Search CourtListener. Free tier: 10/day/IP, US only, max 5 results.
curl "https://laws.4bots.ai/v1/free/laws/search?q=insider+trading&jurisdiction=us&limit=5"
Example response:
{
"query": "insider trading",
"jurisdiction": "us",
"sources": ["courtlistener"],
"results": [
{
"title": "United States v. Martha Stewart",
"court": "Second Circuit",
"citation": "433 F.3d 368",
"url": "https://www.courtlistener.com/opinion/12345678/usa-v-martha-stewart/",
"date": "2006-01-06",
"jurisdiction": "us",
"snippet": "...insider trading in ImClone stock...",
"relevance": 0.89,
"type": "case",
"language": "en"
}
],
"total_found": 42,
"cached": false,
"disclaimer": "Results for informational purposes only. Not legal advice.",
"free_remaining": 7
}
Paid tier: $0.003/search, up to 20 results, full raw text.
curl "https://laws.4bots.ai/v1/paid/laws/search?q=insider+trading&jurisdiction=us&limit=20"
Same schema. More results. Raw text snippets for paid.
Health check. Always free, always returns 200.
curl "https://laws.4bots.ai/health"
10 free searches per day covers development and light agent workloads. Paid tier unlocks more results per query.
No signup. No API key. Just send a request.
Try the API → How x402 works