Developer API ยท v1.1

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.

Quickstart API Reference Get an API key

What it does

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.

Scope: GhostCite verifies against the U.S. court record (via the Free Law Project / CourtListener). Coverage and comparison behavior vary by citation; see Structured Evidence for exactly what is and isn’t compared.

Start here

  1. Get an API key from your account’s Developer Tools.
  2. Run the Quickstart in curl, JavaScript, or Python.
  3. Learn how to read structured evidence and handle errors & rate limits.