Legal Search, Validation, Reasoning, & Case Treatment APIs

TrustFoundry enables any application or agent to search, reason over, cite, and draft using more than 15 million continuously updated U.S. laws, regulations, and current case laws—with no hallucinations, a public API, and complete coverage across all 50 states and 2,000+ courthouses.

*create API keys in theDevelopers tab on the TrustFoundry dashboard. More docs coming soon.

Detailed Case Treatment

  • Establish authority. See how and why a precedent has been followed, distinguished, criticized, superseded, or overruled — case by case, for every subsequent decision that cites it.

    e.g., query a case and get back each citing decision individually classified, not a single "still good law" flag averaged across all of them.

  • Every citing reference is retrieved deterministically from verified primary sources — traceable back to the original opinion.

Legal Search

  • Search with unique concept and situation-matching capabilities.

    e.g., IF find "Cases in Arizona involving homeowner's firearm accidentally discharging," we'll look for things matching the situation described, not necessarily the exact text.

  • 1-2 second results include legal summaries for cases, regs, and laws — as well as links to full source documents

Fact-pattern Search

  • Results will be prioritized according to how closely they match the presented facts.

    e.g., If we're looking for "an Arizona case where a trespasser was asked to leave, then harmed a dog, and was acquitted," then the facts of our situation include a trespasser, a pet being harmed, a trespasser asked to leave, etc.

Agentic Search for Legal Research

  • Call our legal research agent to produce sophisticated, accurate research, utilizing 10-50 legal searches and applying legal reasoning to the result.

Document Validator

  • Scan a document or any piece of text and receive reports on all suspicious citations with reasoning.

Legal Review

  • Submit a brief, memo, or AI-generated legal analysis and get back a structured review of its soundness — pairing case treatment and citation validation to catch claims a citation-checker alone would miss.

    e.g., submit a memo relying on a case as good law, and get back a flag that a later decision distinguished it on facts the memo never addressed.

  • Results include the specific claims flagged, the supporting or contradicting authority, and a summary risk assessment — reasoning-level review, not just a check that the citations exist.

Simple, transparent API pricing

Developer Trial, Independent, Startup, and Corporate plans — pay for what you use.

Try fast citation search API free

Our Proprietary Legal Reasoning Stack

Four layers take a legal question from primary sources to a cited answer.

The corpus holds 15M+ laws, regulations, and case opinions across all 50 states and 2,000+ courts. A case-law graph links them, our models match doctrine and fact patterns, and agents research, draft, and validate on top — every output traceable back to its source.

15M+

Laws, Regs, & Case law

150M+

Legal Graph Edges

TrustFoundry Legal Reasoning Stack