Verify citations
Check if a citation refers to a real case. Essential for catching AI hallucinations.Endpoint
Response
Verification statuses
| Status | Meaning |
|---|---|
verified | Citation matches a real case in CourtListener (~10M cases) |
not_found | No match found — likely hallucination or typo |
multiple_matches | Multiple possible matches — review candidates array |
verificationSource and confidence. CourtListener returns confidence: 1.0, while heuristic fallback uses a score based on the source verification signals.
Parse citations from text
Extract and parse Bluebook components from citation text. Use when you have text and need structured citation data.Endpoint
Response
Extract citations from URL
Fetch a document and extract all citations from it. Use when you have a URL and want to analyze what it cites.Endpoint
citations: This endpoint fetches content from a URL and categorizes citations by type (cases, statutes, regulations). The citations endpoint parses text you provide and returns Bluebook components.
Response
Citation types
| Type | Description | Example |
|---|---|---|
usReporter | US Supreme Court | 531 U.S. 98 |
federalReporter | Federal Circuit Courts | 123 F.3d 456 |
stateReporter | State Courts | 123 Cal.App.4th 456 |
usc | US Code | 42 U.S.C. § 1983 |
cfr | Code of Federal Regulations | 29 C.F.R. § 1910.134 |
Get full text
Retrieve the full content of a legal document with optional highlights and summary.Endpoint
Parameters
| Parameter | Type | Description |
|---|---|---|
url | string | URL of the legal document |
maxCharacters | number | Max characters to return (1,000-50,000, default 10,000) |
highlightQuery | string | Query to highlight relevant passages |
summaryQuery | string | Query to generate a focused summary |
Resolve jurisdictions
Convert jurisdiction names to IDs for filtering searches and verification.Endpoint
Available jurisdictions
| ID | Name | Level |
|---|---|---|
us-federal | US Federal | Federal |
us-scotus | US Supreme Court | Federal |
california | California | State |
new-york | New York | State |
texas | Texas | State |
| … | All 50 states | State |