GhostCite API
Verify legal citations and quotations deterministically, with no generative AI in the verification loop. Submit citations (or a document) and get a per-item verdict, structured evidence, and a link to the supporting authority.
What it does
- Detects hallucinations: fabricated cases, wrong pincites, and quotes that don’t appear in the authority.
- Explains every verdict with deterministic, legal-attribute evidence (cited vs. found).
- Identifies the supporting authority and gives you an inspectable link to the court record.
Who it’s for
Teams building legal-AI drafting, brief review, or e-discovery tools that need a verification layer they can trust, one that returns the same facts for the same input, and shows its work.
Why deterministic matters
GhostCite does not use a language model to decide whether a citation is real. It resolves each citation against indexed court records and applies explicit, rule-based checks. The same input under the same record state always yields the same verdict, auditable, reproducible, and safe to put in front of a court.
One request, at a glance
POST https://app.rule26ai.com/api/v1/verify
Authorization: Bearer <YOUR_API_KEY>
Content-Type: application/json
{ "items": [
{ "id": "r_1", "type": "case",
"rawText": "Brown v. Board of Education, 347 U.S. 483 (1954)" }
] }
The response gives each item a verdict (verified / warning / critical), optional evidence.comparisons, the resolved opinion, and request usage. See the Quickstart for a full response walkthrough.
Start here
- Get an API key from your account’s Developer Tools.
- Run the Quickstart in curl, JavaScript, or Python.
- Learn how to read structured evidence and handle errors & rate limits.