Lex Machina logo

Lex Machina

Lex Machina is a legal analytics platform owned by LexisNexis that transforms raw court documents and dockets into structured datasets so litigators, corporate legal teams, insurers, and judges can make data-driven decisions about cases, courts, judges, lawyers, parties, and damages. The platform covers all 94 federal district courts, the 13 federal courts of appeals, the PTAB, the ITC, bankruptcy courts, and a growing list of state courts (with 18M+ additional state cases for party analytics), and tracks 8,000+ judges, 6,000+ expert witnesses, 146M+ counsel mentions, and 149M+ party mentions across 10M+ cases and 45M+ documents. Lex Machina exposes its Legal Analytics through a public Litigation Analytics API (OAuth 2.0, JWT bearer tokens) at api.lexmachina.com with synchronous Python and Node.js client libraries plus an A2A (Agent-to-Agent) agent for AI/agent integrations. Practice area coverage includes Antitrust, Bankruptcy, Commercial, Consumer Protection, Contracts, Copyright, Employment, ERISA, Insurance, Patent, Product Liability, Securities, Tax, Torts, and Trademark litigation. Lex Machina was founded in 2010 as a Stanford University Law School spin-out and was acquired by LexisNexis (RELX) in 2015.

1 APIs 25 Features
LegalLegal AnalyticsLegal TechnologyLitigationLitigation AnalyticsCourt DataDocketsJudgesLaw FirmsAttorneysPatentsPTABITCBankruptcyAppealsState CourtsFederal CourtsLexisNexisDataAnalytics

Lex Machina publishes 1 API on the APIs.io network: Litigation Analytics API. Tagged areas include Legal, Legal Analytics, Legal Technology, Litigation, and Litigation Analytics.

Lex Machina’s developer surface includes developer portal, documentation, engineering blog, YouTube channel, support, SDKs, and 16 more developer resources.

APIs

Lex Machina Litigation Analytics API

The Lex Machina Litigation Analytics API exposes the company's full legal analytics dataset over REST. It supports OAuth 2.0 client credentials (JWT bearer tokens) and provides ...

Features

Federal District court coverage across all 94 U.S. district courts
Federal Appeals coverage across all 13 U.S. courts of appeals (since 2012)
State court coverage with 18M+ additional cases used for party analytics
Bankruptcy court case data and bankruptcy judge analytics
PTAB trial data (Patent Trial and Appeal Board)
ITC investigation data (International Trade Commission)
8,000+ federal and state judges tracked with behavior analytics
6,000+ expert witnesses tracked
146M+ counsel and 149M+ party mentions indexed across 10M+ cases
Attorney, Law Firm, Party, Judge, Magistrate, and Patent entity lookups
Substring search across attorneys, judges, law firms, and parties
Case Query API with filtering by participants, dates, events, resolutions, findings, remedies, and damages
District Case Analytics from either an ad-hoc query or a saved Alert
Saved Alerts with daily run results retrievable by date
Docket-entry retrieval for federal, state, and ITC dockets
Reference lists for case resolutions, case tags, case types, courts, damages categories, events, judgment sources, appellate decisions, and appealability rulings
OAuth 2.0 client-credentials authentication with JWT bearer tokens
REST + JSON over HTTPS; OpenAPI 3.1.0 specification at /docs
Official Python (sync) and Node.js client libraries on GitHub
A2A (Agent-to-Agent) agent for AI/LLM integrations on port 10011
Protege in Lex Machina — generative-AI analytics assistant in the UI
Practice areas: Antitrust, Bankruptcy, Commercial, Consumer Protection, Contracts, Copyright, Employment, ERISA, Insurance, Patent, Product Liability, Securities, Tax, Torts, Trademark
Customer base across AmLaw 100/200 firms, corporate legal departments, insurers, government agencies, and law schools
Apache-2.0 licensed client SDKs and example code on GitHub
SOC 2 and ISO certifications via LexisNexis enterprise security program

Resources

🔗
Website
Website
🌐
Portal
Portal
📝
SignIn
SignIn
🔗
Documentation
Documentation
🔗
Documentation
Documentation
🔗
Documentation
Documentation
📰
Blog
Blog
🔗
PressRoom
PressRoom
🔗
ParentCompany
ParentCompany
👥
GitHubOrganization
GitHubOrganization
🔗
LinkedIn
LinkedIn
🔗
Twitter
Twitter
👥
YouTube
YouTube
💬
Support
Support
🔗
ContactEmail
ContactEmail
📜
TermsOfService
TermsOfService
📜
PrivacyPolicy
PrivacyPolicy
🔗
TrustCenter
TrustCenter
📦
SDK
SDK
📦
SDK
SDK
🔗
Agent
Agent
💻
CodeSample
CodeSample

Sources

Raw ↑
aid: lex-machina
name: Lex Machina
description: >-
  Lex Machina is a legal analytics platform owned by LexisNexis that
  transforms raw court documents and dockets into structured datasets so
  litigators, corporate legal teams, insurers, and judges can make
  data-driven decisions about cases, courts, judges, lawyers, parties, and
  damages. The platform covers all 94 federal district courts, the 13
  federal courts of appeals, the PTAB, the ITC, bankruptcy courts, and a
  growing list of state courts (with 18M+ additional state cases for party
  analytics), and tracks 8,000+ judges, 6,000+ expert witnesses, 146M+
  counsel mentions, and 149M+ party mentions across 10M+ cases and 45M+
  documents. Lex Machina exposes its Legal Analytics through a public
  Litigation Analytics API (OAuth 2.0, JWT bearer tokens) at
  api.lexmachina.com with synchronous Python and Node.js client libraries
  plus an A2A (Agent-to-Agent) agent for AI/agent integrations. Practice
  area coverage includes Antitrust, Bankruptcy, Commercial, Consumer
  Protection, Contracts, Copyright, Employment, ERISA, Insurance, Patent,
  Product Liability, Securities, Tax, Torts, and Trademark litigation.
  Lex Machina was founded in 2010 as a Stanford University Law School
  spin-out and was acquired by LexisNexis (RELX) in 2015.
url: https://raw.githubusercontent.com/api-evangelist/lex-machina/refs/heads/main/apis.yml
image: https://kinlane-productions.s3.amazonaws.com/apis-json/apis-json-logo.jpg
type: Index
position: Provider
access: 3rd-Party
specificationVersion: '0.20'
tags:
  - Legal
  - Legal Analytics
  - Legal Technology
  - Litigation
  - Litigation Analytics
  - Court Data
  - Dockets
  - Judges
  - Law Firms
  - Attorneys
  - Patents
  - PTAB
  - ITC
  - Bankruptcy
  - Appeals
  - State Courts
  - Federal Courts
  - LexisNexis
  - Data
  - Analytics
created: '2026-05-25'
modified: '2026-05-25'
apis:
  - aid: lex-machina:lex-machina-litigation-analytics-api
    name: Lex Machina Litigation Analytics API
    description: >-
      The Lex Machina Litigation Analytics API exposes the company's full
      legal analytics dataset over REST. It supports OAuth 2.0 client
      credentials (JWT bearer tokens) and provides 57 endpoints across
      Federal District, Federal Appeals, State, Bankruptcy, ITC, and PTAB
      case data; Attorneys, Judges, Magistrates, Law Firms, Parties, and
      Patents as first-class entities; Docket entries; substring search
      across attorneys, judges, law firms, and parties; saved Alerts and
      Alert run results; Case Query (POST) with rich filtering by
      participants, dates, events, resolutions, findings, remedies, and
      damages; and District Case Analytics from either a query or a saved
      alert. Reference list endpoints cover case resolutions, case tags,
      case types, courts, damages categories, events, and judgment
      sources, so clients can discover the controlled vocabularies used
      across the platform. Base URL is https://api.lexmachina.com; the
      current API version is 20260324.
    humanURL: https://developer.lexmachina.com/
    baseURL: https://api.lexmachina.com
    tags:
      - Legal Analytics
      - Litigation
      - Court Data
      - Dockets
      - Judges
      - Law Firms
      - Attorneys
      - Patents
      - PTAB
      - ITC
      - Bankruptcy
      - Appeals
      - State Cases
      - Alerts
    properties:
      - type: Documentation
        url: https://developer.lexmachina.com/
      - type: Documentation
        url: https://developer.lexmachina.com/gettingStarted
      - type: Documentation
        url: https://api.lexmachina.com/docs
      - type: OpenAPI
        url: openapi/lex-machina-openapi.yml
      - type: Authentication
        url: https://developer.lexmachina.com/gettingStarted
      - type: SDK
        url: https://github.com/LexMachinaInc/python-lexmachina-sync-api-client
        name: Python Sync API Client
      - type: SDK
        url: https://github.com/LexMachinaInc/node-lexmachina-api-client
        name: Node.js API Client
      - type: Agent
        url: https://github.com/LexMachinaInc/lexmachina-agent
        name: Lex Machina A2A Agent
      - type: CodeSample
        url: https://github.com/LexMachinaInc/api-alerting-example
        name: API Alerting Example
common:
  - type: Website
    url: https://www.lexisnexis.com/en-us/products/lex-machina.page
  - type: Portal
    url: https://developer.lexmachina.com/
  - type: SignIn
    url: https://law.lexmachina.com/login
  - type: Documentation
    url: https://developer.lexmachina.com/gettingStarted
  - type: Documentation
    url: https://developer.lexmachina.com/support
  - type: Documentation
    url: https://api.lexmachina.com/docs
  - type: Blog
    url: https://www.lexisnexis.com/community/insights/legal/lex-machina
  - type: PressRoom
    url: https://www.lexisnexis.com/community/amp-pressroom/
  - type: ParentCompany
    url: https://www.lexisnexis.com/
  - type: GitHubOrganization
    url: https://github.com/LexMachinaInc
  - type: LinkedIn
    url: https://www.linkedin.com/company/lex-machina/
  - type: Twitter
    url: https://twitter.com/LexMachina
  - type: YouTube
    url: https://www.youtube.com/@LexMachinaInc
  - type: Support
    url: https://developer.lexmachina.com/support
  - type: ContactEmail
    url: mailto:[email protected]
  - type: TermsOfService
    url: https://www.lexisnexis.com/en-us/terms/general/default.page
  - type: PrivacyPolicy
    url: https://www.lexisnexis.com/en-us/terms/privacy-policy/default.page
  - type: TrustCenter
    url: https://www.lexisnexis.com/en-us/about-us/social-responsibility/data-privacy.page
  - type: SDK
    name: Python Sync API Client
    url: https://github.com/LexMachinaInc/python-lexmachina-sync-api-client
  - type: SDK
    name: Node.js API Client
    url: https://github.com/LexMachinaInc/node-lexmachina-api-client
  - type: Agent
    name: Lex Machina A2A Agent
    url: https://github.com/LexMachinaInc/lexmachina-agent
  - type: CodeSample
    name: API Alerting Example
    url: https://github.com/LexMachinaInc/api-alerting-example
  - type: Features
    data:
      - Federal District court coverage across all 94 U.S. district courts
      - Federal Appeals coverage across all 13 U.S. courts of appeals (since 2012)
      - State court coverage with 18M+ additional cases used for party analytics
      - Bankruptcy court case data and bankruptcy judge analytics
      - PTAB trial data (Patent Trial and Appeal Board)
      - ITC investigation data (International Trade Commission)
      - 8,000+ federal and state judges tracked with behavior analytics
      - 6,000+ expert witnesses tracked
      - 146M+ counsel and 149M+ party mentions indexed across 10M+ cases
      - Attorney, Law Firm, Party, Judge, Magistrate, and Patent entity lookups
      - Substring search across attorneys, judges, law firms, and parties
      - Case Query API with filtering by participants, dates, events, resolutions,
        findings, remedies, and damages
      - District Case Analytics from either an ad-hoc query or a saved Alert
      - Saved Alerts with daily run results retrievable by date
      - Docket-entry retrieval for federal, state, and ITC dockets
      - Reference lists for case resolutions, case tags, case types, courts,
        damages categories, events, judgment sources, appellate decisions,
        and appealability rulings
      - OAuth 2.0 client-credentials authentication with JWT bearer tokens
      - REST + JSON over HTTPS; OpenAPI 3.1.0 specification at /docs
      - Official Python (sync) and Node.js client libraries on GitHub
      - A2A (Agent-to-Agent) agent for AI/LLM integrations on port 10011
      - Protege in Lex Machina — generative-AI analytics assistant in the UI
      - "Practice areas: Antitrust, Bankruptcy, Commercial, Consumer Protection, Contracts, Copyright, Employment, ERISA, Insurance, Patent, Product Liability, Securities, Tax, Torts, Trademark"
      - Customer base across AmLaw 100/200 firms, corporate legal departments,
        insurers, government agencies, and law schools
      - Apache-2.0 licensed client SDKs and example code on GitHub
      - SOC 2 and ISO certifications via LexisNexis enterprise security program
maintainers:
  - FN: Kin Lane
    email: [email protected]