Lex Machina Federal District Cases API
Federal district court cases.
Federal district court cases.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/lex-machina-federal-district-cases-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
openapi: 3.1.0
info:
title: Lex Machina Alerts Federal District Cases API
version: '20260324'
description: Alerts.
servers:
- url: https://api.lexmachina.com
description: Lex Machina production API
tags:
- name: Federal District Cases
description: Federal district court cases.
paths:
/analyze-district-cases/from-query:
post:
tags:
- Federal District Cases
summary: Analyze District Cases From Query
operationId: analyze_district_cases_from_query
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DistrictCaseAnalyticFromQuery'
examples:
District Case Law Firm Count by Role from Query:
summary: District Case Law Firm Count by Role from Query
description: district case counts of lawfirms by role for contracts cases in njd filed in 2019 and terminated in 2021
value: '{"analyticType": "LawFirmCountByRole", "districtCaseQuery": {"courts": {"include": ["njd"]}, "caseTypes": {"include": ["Contracts"]}, "dates": {"filed": {"onOrAfter": "2019-01-01", "onOrBefore": "2019-12-31"}, "terminated": {"onOrAfter": "2021-01-01", "onOrBefore": "2021-12-31"}}}}'
required: true
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/CaseAnalyticResult'
examples:
District Case Law Firm Count by Role from Query:
summary: District Case Law Firm Count by Role from Query
value:
totalCases: 63
aggregation:
data:
- lawFirmId: 3571
lawFirmName: State of New Jersey
rolesAndCounts:
- role: Plaintiff
count: 1
- role: Defendant
count: 12
- role: Third Party
count: 0
- lawFirmId: 4743
lawFirmName: Greenbaum, Rowe, Smith & Davis
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 13
- role: Third Party
count: 0
- lawFirmId: 79274506
lawFirmName: John Zidziunas & Associates
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 12
- role: Third Party
count: 0
- lawFirmId: 74149061
lawFirmName: Riker Danzig
rolesAndCounts:
- role: Plaintiff
count: 1
- role: Defendant
count: 11
- role: Third Party
count: 0
- lawFirmId: 73892766
lawFirmName: Nukk-Freeman
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 11
- role: Third Party
count: 0
- lawFirmId: 69826
lawFirmName: Clark Hill
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 10
- role: Third Party
count: 0
- lawFirmId: 2764992
lawFirmName: Price, Meese, Shulman & D'Arminio
rolesAndCounts:
- role: Plaintiff
count: 3
- role: Defendant
count: 4
- role: Third Party
count: 0
- lawFirmId: 948987
lawFirmName: Connell Foley
rolesAndCounts:
- role: Plaintiff
count: 6
- role: Defendant
count: 1
- role: Third Party
count: 0
- lawFirmId: 160737897
lawFirmName: Campbell Rocco Law
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 6
- role: Third Party
count: 0
- lawFirmId: 73924463
lawFirmName: Sills Cummis & Gross
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 6
- role: Third Party
count: 0
- lawFirmId: 28526743
lawFirmName: Schenck Price Smith & King
rolesAndCounts:
- role: Plaintiff
count: 5
- role: Defendant
count: 0
- role: Third Party
count: 1
- lawFirmId: 95470716
lawFirmName: Randy Scott Zelin
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 6
- role: Third Party
count: 0
- lawFirmId: 79063
lawFirmName: Herzfeld & Rubin
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 5
- role: Third Party
count: 0
- lawFirmId: 485015
lawFirmName: Post & Schell
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 5
- role: Third Party
count: 0
- lawFirmId: 433
lawFirmName: Reed Smith
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 5
- role: Third Party
count: 0
- lawFirmId: 24440
lawFirmName: Ballard Spahr
rolesAndCounts:
- role: Plaintiff
count: 3
- role: Defendant
count: 1
- role: Third Party
count: 0
- lawFirmId: 119127128
lawFirmName: Coughlin Midlige & Garland
rolesAndCounts:
- role: Plaintiff
count: 4
- role: Defendant
count: 0
- role: Third Party
count: 0
- lawFirmId: 13647919
lawFirmName: Saiber
rolesAndCounts:
- role: Plaintiff
count: 3
- role: Defendant
count: 1
- role: Third Party
count: 0
- lawFirmId: 16
lawFirmName: Greenberg Traurig
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 4
- role: Third Party
count: 0
- lawFirmId: 226013496
lawFirmName: Fox Rothschild
rolesAndCounts:
- role: Plaintiff
count: 1
- role: Defendant
count: 3
- role: Third Party
count: 0
- lawFirmId: 78110100
lawFirmName: Trinity & Farsiou
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 3
- role: Third Party
count: 0
- lawFirmId: 2634106
lawFirmName: Houser & Allison
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 3
- role: Third Party
count: 0
- lawFirmId: 2944840
lawFirmName: Chiesa Shahinian & Giantomasi
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 1
- lawFirmId: 1927
lawFirmName: Saul Ewing Arnstein & Lehr
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 3
- role: Third Party
count: 0
- lawFirmId: 76758445
lawFirmName: White and Williams
rolesAndCounts:
- role: Plaintiff
count: 2
- role: Defendant
count: 1
- role: Third Party
count: 0
- lawFirmId: 9441075
lawFirmName: Braff, Harris, Sukoneck & Maloof
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 3
- role: Third Party
count: 0
- lawFirmId: 3625370
lawFirmName: Wolff & Samson
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 1
- lawFirmId: 2544529
lawFirmName: Feder Kaszovitz
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 3
- role: Third Party
count: 0
- lawFirmId: 21177272
lawFirmName: Blank Rome
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 3
- role: Third Party
count: 0
- lawFirmId: 198107902
lawFirmName: Landman Corsi Ballaine & Ford
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 3
- role: Third Party
count: 0
- lawFirmId: 91790
lawFirmName: Lake & Cobb
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 3
- role: Third Party
count: 0
- lawFirmId: 110748325
lawFirmName: Finestein & Malloy
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 3
- role: Third Party
count: 0
- lawFirmId: 1359265
lawFirmName: John E. Osborn
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 3
- role: Third Party
count: 0
- lawFirmId: 32792
lawFirmName: Wilson Elser
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 191985184
lawFirmName: Law Offices of Joel C. Seltzer
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 53613883
lawFirmName: Fishkin Lucks
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 16080674
lawFirmName: Zukerman Gore Brandeis & Crossman
rolesAndCounts:
- role: Plaintiff
count: 2
- role: Defendant
count: 0
- role: Third Party
count: 0
- lawFirmId: 87952
lawFirmName: FordHarrison
rolesAndCounts:
- role: Plaintiff
count: 2
- role: Defendant
count: 0
- role: Third Party
count: 0
- lawFirmId: 54662
lawFirmName: Lewis Brisbois Bisgaard & Smith
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 0
- role: Third Party
count: 2
- lawFirmId: 86880158
lawFirmName: Anderson & Shah
rolesAndCounts:
- role: Plaintiff
count: 2
- role: Defendant
count: 0
- role: Third Party
count: 0
- lawFirmId: 45565730
lawFirmName: Littleton Park Joyce Ughetta & Kelly
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 192889343
lawFirmName: Gennet, Kallmann, Antin, Sweetman & Nichols
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 10016960
lawFirmName: MARK S. KANCHER
rolesAndCounts:
- role: Plaintiff
count: 1
- role: Defendant
count: 1
- role: Third Party
count: 0
- lawFirmId: 284166
lawFirmName: Marks & Klein
rolesAndCounts:
- role: Plaintiff
count: 2
- role: Defendant
count: 0
- role: Third Party
count: 0
- lawFirmId: 3641580
lawFirmName: Gordon Rees Scully Mansukhani
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 482562
lawFirmName: McCarter & English
rolesAndCounts:
- role: Plaintiff
count: 1
- role: Defendant
count: 1
- role: Third Party
count: 0
- lawFirmId: 8286817
lawFirmName: McElroy, Deutsch, Mulvaney & Carpenter
rolesAndCounts:
- role: Plaintiff
count: 1
- role: Defendant
count: 1
- role: Third Party
count: 0
- lawFirmId: 74592432
lawFirmName: McNelly Law Group
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 871412
lawFirmName: Bressler, Amery & Ross
rolesAndCounts:
- role: Plaintiff
count: 2
- role: Defendant
count: 0
- role: Third Party
count: 0
- lawFirmId: 211807676
lawFirmName: Brown & Connery
rolesAndCounts:
- role: Plaintiff
count: 1
- role: Defendant
count: 1
- role: Third Party
count: 0
- lawFirmId: 159371016
lawFirmName: Hurvitz & Waldman
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 604
lawFirmName: Department of Justice
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 5000
lawFirmName: Dinsmore & Shohl
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 14953455
lawFirmName: KML Law Group
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 2840450
lawFirmName: Robins Kaplan
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 48787777
lawFirmName: Rosenblatt Law (rosenblattlegal.com)
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 84836034
lawFirmName: Scarinci Hollenbeck
rolesAndCounts:
- role: Plaintiff
count: 2
- role: Defendant
count: 0
- role: Third Party
count: 0
- lawFirmId: 1200526
lawFirmName: Sherman Silverstein Kohl Rose & Podolsky
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 14984471
lawFirmName: Donnelly Minter & Kelly
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 2559918
lawFirmName: Lauletta Birnbaum
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 204149042
lawFirmName: Thomas Paschos & Associates
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 72715108
lawFirmName: ARBUS MAYBRUCH & GOODE
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 108090
lawFirmName: Cavanagh Law Firm
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 73726804
lawFirmName: Triarsi, Betancourt, Wukovits & Dugan
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 25034
lawFirmName: Troutman Pepper Locke
rolesAndCounts:
- role: Plaintiff
count: 2
- role: Defendant
count: 0
- role: Third Party
count: 0
- lawFirmId: 32096952
lawFirmName: Verner Simon
rolesAndCounts:
- role: Plaintiff
count: 2
- role: Defendant
count: 0
- role: Third Party
count: 0
- lawFirmId: 720671
lawFirmName: FisherBroyles
rolesAndCounts:
- role: Plaintiff
count: 1
- role: Defendant
count: 1
- role: Third Party
count: 0
- lawFirmId: 57787079
lawFirmName: Law Offices of Frank Lagano
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 2
- role: Third Party
count: 0
- lawFirmId: 16233164
lawFirmName: Whiteman Law Group (whitemanlawgroup.com)
rolesAndCounts:
- role: Plaintiff
count: 2
- role: Defendant
count: 0
- role: Third Party
count: 0
- lawFirmId: 175082254
lawFirmName: The Choi Law Group
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 1
- role: Third Party
count: 0
- lawFirmId: 9007590
lawFirmName: TheChoiLawGroup
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 1
- role: Third Party
count: 0
- lawFirmId: 43709706
lawFirmName: Abilheira & Associates
rolesAndCounts:
- role: Plaintiff
count: 1
- role: Defendant
count: 0
- role: Third Party
count: 0
- lawFirmId: 2259387
lawFirmName: The Sultzer Law Group
rolesAndCounts:
- role: Plaintiff
count: 1
- role: Defendant
count: 0
- role: Third Party
count: 0
- lawFirmId: 295568
lawFirmName: Thomas, Thomas & Hafer
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 1
- role: Third Party
count: 0
- lawFirmId: 72927124
lawFirmName: TorricellaLaw
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 1
- role: Third Party
count: 0
- lawFirmId: 1103546
lawFirmName: Trachtman & Trachtman (trachtmanlaw.com)
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 1
- role: Third Party
count: 0
- lawFirmId: 2763131
lawFirmName: Walsh & Walsh, Esqs.
rolesAndCounts:
- role: Plaintiff
count: 1
- role: Defendant
count: 0
- role: Third Party
count: 0
- lawFirmId: 50008484
lawFirmName: Warshaw Burstein
rolesAndCounts:
- role: Plaintiff
count: 1
- role: Defendant
count: 0
- role: Third Party
count: 0
- lawFirmId: 10357
lawFirmName: Weir & Partners
rolesAndCounts:
- role: Plaintiff
count: 1
- role: Defendant
count: 0
- role: Third Party
count: 0
- lawFirmId: 2537860
lawFirmName: Wu & Kao
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 1
- role: Third Party
count: 0
- lawFirmId: 62232367
lawFirmName: The Law Offices of Bruce E. Baldinger
rolesAndCounts:
- role: Plaintiff
count: 1
- role: Defendant
count: 0
- role: Third Party
count: 0
- lawFirmId: 87592700
lawFirmName: Ameri Law Firm
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 1
- role: Third Party
count: 0
- lawFirmId: 73646052
lawFirmName: Antar Law Firm
rolesAndCounts:
- role: Plaintiff
count: 0
- role: Defendant
count: 1
# --- truncated at 32 KB (214 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/lex-machina/refs/heads/main/openapi/lex-machina-federal-district-cases-api-openapi.yml