Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/lex-machina-judges-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Lex Machina Judges API
version: '20260324'
description: Judge data.
servers:
- url: https://api.lexmachina.com
description: Lex Machina production API
tags:
- name: Judges
description: Judge data.
paths:
/bankruptcy-judges/{bankruptcy_judge_id}:
get:
tags:
- Judges
summary: Get Bankruptcy Judge
description: 'Gets data for a single federal bankruptcy judge.
- **bankruptcy_judge_id**: the Lex Machina bankruptcyJudgeId'
operationId: get_bankruptcy_judge
security:
- JwtAccessBearer: []
parameters:
- name: bankruptcy_judge_id
in: path
required: true
schema:
type: integer
title: Bankruptcy Judge Id
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/BankruptcyJudgeData'
examples:
Single Bankruptcy Judge:
summary: Single Bankruptcy Judge
value:
name: Erik P. Kimball
bankruptcyJudgeId: 539
initials: EPK
caseCountByCourt:
- court: total
count: 901
'401':
description: Invalid or expired token
content:
application/json:
examples:
Expired token:
summary: Expired token
value:
detail: 'Token time expired: Signature has expired.'
Invalid token:
summary: Invalid token
value:
detail: Invalid token
'404':
description: Not found
content:
application/json:
examples:
Not found:
summary: Not found
value:
summary: Unknown id
detail: Not Found
'422':
description: Error - 422
content:
application/json:
examples:
Validation error:
summary: Validation error
value:
summary: Invalid input
detail:
- type: parsing
loc:
- path
- query
- body
msg: invalid input
input: '-1'
/bankruptcy-judges:
get:
tags:
- Judges
summary: Get Bankruptcy Judges
description: 'Gets data for one or more federal bankruptcy judges.
- **attorneyIds**: the Lex Machina bankruptcyJudgeIds'
operationId: get_bankruptcy_judges
security:
- JwtAccessBearer: []
parameters:
- name: bankruptcyJudgeIds
in: query
required: true
schema:
type: array
uniqueItems: true
items:
type: integer
minItems: 1
maxItems: 500
title: Bankruptcyjudgeids
responses:
'200':
description: Success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/BankruptcyJudgeData'
title: Response Get Bankruptcy Judges Bankruptcy Judges Get
examples:
Multiple Bankruptcy Judges:
summary: Multiple Bankruptcy Judges
value:
- name: Mindy A. Mora
bankruptcyJudgeId: 704
initials: MAM
caseCountByCourt:
- court: total
count: 410
- name: Erik P. Kimball
bankruptcyJudgeId: 539
initials: EPK
caseCountByCourt:
- court: total
count: 901
'401':
description: Invalid or expired token
content:
application/json:
examples:
Expired token:
summary: Expired token
value:
detail: 'Token time expired: Signature has expired.'
Invalid token:
summary: Invalid token
value:
detail: Invalid token
'404':
description: Not found
content:
application/json:
examples:
Not found:
summary: Not found
value:
summary: Unknown id
detail: Not Found
'422':
description: Error - 422
content:
application/json:
examples:
Validation error:
summary: Validation error
value:
summary: Invalid input
detail:
- type: parsing
loc:
- path
- query
- body
msg: invalid input
input: '-1'
/federal-judges/{federal_judge_id}:
get:
tags:
- Judges
summary: Get Federal Judge
description: 'Gets data for a single federal Article III judge.
- **judge_id**: the judge id'
operationId: get_federal_judge
security:
- JwtAccessBearer: []
parameters:
- name: federal_judge_id
in: path
required: true
schema:
type: integer
title: Federal Judge Id
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/FederalJudgeData'
examples:
Single Federal Judge:
summary: Single Federal Judge
value:
name: Sidney H. Stein
federalJudgeId: 2282
initials: SHS
dateOfBirth: '1945-01-01'
caseCountByCourt:
- court: total
count: 1712
nominatingPresident: William J. Clinton
'401':
description: Invalid or expired token
content:
application/json:
examples:
Expired token:
summary: Expired token
value:
detail: 'Token time expired: Signature has expired.'
Invalid token:
summary: Invalid token
value:
detail: Invalid token
'404':
description: Not found
content:
application/json:
examples:
Not found:
summary: Not found
value:
summary: Unknown id
detail: Not Found
'422':
description: Error - 422
content:
application/json:
examples:
Validation error:
summary: Validation error
value:
summary: Invalid input
detail:
- type: parsing
loc:
- path
- query
- body
msg: invalid input
input: '-1'
/federal-judges:
get:
tags:
- Judges
summary: Get Federal Judges
description: 'Gets data for one or more federal Article III judges.
- **judgeIds**: the judge Ids'
operationId: get_federal_judges
security:
- JwtAccessBearer: []
parameters:
- name: federalJudgeIds
in: query
required: true
schema:
type: array
uniqueItems: true
items:
type: integer
minItems: 1
maxItems: 500
title: Federaljudgeids
responses:
'200':
description: Success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/FederalJudgeData'
title: Response Get Federal Judges Federal Judges Get
examples:
Multiple Federal Judges:
summary: Multiple Federal Judges
value:
- name: Susan Webber Wright
federalJudgeId: 2664
initials: SWW
dateOfBirth: '1948-01-01'
caseCountByCourt:
- court: total
count: 1314
nominatingPresident: George H.W. Bush
- name: Sidney H. Stein
federalJudgeId: 2282
initials: SHS
dateOfBirth: '1945-01-01'
caseCountByCourt:
- court: total
count: 1712
nominatingPresident: William J. Clinton
'401':
description: Invalid or expired token
content:
application/json:
examples:
Expired token:
summary: Expired token
value:
detail: 'Token time expired: Signature has expired.'
Invalid token:
summary: Invalid token
value:
detail: Invalid token
'404':
description: Not found
content:
application/json:
examples:
Not found:
summary: Not found
value:
summary: Unknown id
detail: Not Found
'422':
description: Error - 422
content:
application/json:
examples:
Validation error:
summary: Validation error
value:
summary: Invalid input
detail:
- type: parsing
loc:
- path
- query
- body
msg: invalid input
input: '-1'
/search-judges:
get:
tags:
- Judges
summary: Search Judges
description: 'Searches for attorneys.
- **q**: the query string
This matches from the beginning of the last name. The search query "hof" will match the name "Hoffman" but will not match "Schofield".'
operationId: search_judges
security:
- JwtAccessBearer: []
parameters:
- name: q
in: query
required: true
schema:
type: string
title: Q
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/JudgeSearchResult'
examples:
Search Judges By Name:
summary: Search Judges By Name
value:
federalJudges: []
magistrateJudges:
- name: Leslie R Hoffman
magistrateJudgeId: 1144
caseCountByCourt:
- court: total
count: 2561
url: https://api.lexmachina.com/magistrate-judges/1144
- name: Carl William Hoffman
magistrateJudgeId: 407
caseCountByCourt:
- court: total
count: 5751
url: https://api.lexmachina.com/magistrate-judges/407
stateJudges:
- name: Douglas E Hoffman
stateJudgeId: 1125
courtPosting: New York Supreme Court, Bronx County
url: https://api.lexmachina.com/state-judges/1125
bankruptcyJudges:
- name: John E. Hoffman Jr.
bankruptcyJudgeId: 463
caseCountByCourt:
- court: total
count: 225
url: https://api.lexmachina.com/bankruptcy-judges/463
- name: Melvin S. Hoffman
bankruptcyJudgeId: 415
caseCountByCourt:
- court: total
count: 342
url: https://api.lexmachina.com/bankruptcy-judges/415
'422':
description: Error - 422
content:
application/json:
examples:
Invalid Query:
summary: Invalid Query
value:
detail: Empty query string.
Validation error:
summary: Validation error
value:
summary: Invalid input
detail:
- type: parsing
loc:
- path
- query
- body
msg: invalid input
input: '-1'
'401':
description: Invalid or expired token
content:
application/json:
examples:
Expired token:
summary: Expired token
value:
detail: 'Token time expired: Signature has expired.'
Invalid token:
summary: Invalid token
value:
detail: Invalid token
'404':
description: Not found
content:
application/json:
examples:
Not found:
summary: Not found
value:
summary: Unknown id
detail: Not Found
components:
schemas:
BankruptcyJudgeData:
properties:
name:
type: string
title: Name
bankruptcyJudgeId:
type: integer
title: Bankruptcyjudgeid
initials:
type: string
title: Initials
caseCountByCourt:
items:
$ref: '#/components/schemas/CaseCountByCourt'
type: array
title: Casecountbycourt
additionalProperties: false
type: object
required:
- name
- bankruptcyJudgeId
- initials
- caseCountByCourt
title: BankruptcyJudgeData
MagistrateJudgeResult:
properties:
name:
type: string
title: Name
magistrateJudgeId:
type: integer
title: Magistratejudgeid
caseCountByCourt:
items:
$ref: '#/components/schemas/CaseCountByCourt'
type: array
title: Casecountbycourt
url:
type: string
title: Url
additionalProperties: false
type: object
required:
- name
- magistrateJudgeId
- caseCountByCourt
- url
title: MagistrateJudgeResult
StateJudgeResult:
properties:
name:
type: string
title: Name
stateJudgeId:
type: integer
title: Statejudgeid
courtPosting:
type: string
title: Courtposting
url:
type: string
title: Url
additionalProperties: false
type: object
required:
- name
- stateJudgeId
- courtPosting
- url
title: StateJudgeResult
JudgeSearchResult:
properties:
federalJudges:
items:
$ref: '#/components/schemas/FederalJudgeResult'
type: array
title: Federaljudges
magistrateJudges:
items:
$ref: '#/components/schemas/MagistrateJudgeResult'
type: array
title: Magistratejudges
stateJudges:
items:
$ref: '#/components/schemas/StateJudgeResult'
type: array
title: Statejudges
bankruptcyJudges:
items:
$ref: '#/components/schemas/BankruptcyJudgeResult'
type: array
title: Bankruptcyjudges
additionalProperties: false
type: object
required:
- federalJudges
- magistrateJudges
- stateJudges
- bankruptcyJudges
title: JudgeSearchResult
BankruptcyJudgeResult:
properties:
name:
type: string
title: Name
bankruptcyJudgeId:
type: integer
title: Bankruptcyjudgeid
caseCountByCourt:
items:
$ref: '#/components/schemas/CaseCountByCourt'
type: array
title: Casecountbycourt
url:
type: string
title: Url
additionalProperties: false
type: object
required:
- name
- bankruptcyJudgeId
- caseCountByCourt
- url
title: BankruptcyJudgeResult
FederalJudgeData:
properties:
name:
type: string
title: Name
federalJudgeId:
type: integer
title: Federaljudgeid
initials:
type: string
title: Initials
dateOfBirth:
type: string
format: date
title: Dateofbirth
caseCountByCourt:
items:
$ref: '#/components/schemas/CaseCountByCourt'
type: array
title: Casecountbycourt
nominatingPresident:
anyOf:
- type: string
- type: 'null'
title: Nominatingpresident
additionalProperties: false
type: object
required:
- name
- federalJudgeId
- initials
- dateOfBirth
- caseCountByCourt
- nominatingPresident
title: FederalJudgeData
CaseCountByCourt:
properties:
court:
type: string
title: Court
count:
type: integer
title: Count
additionalProperties: false
type: object
required:
- court
- count
title: CaseCountByCourt
FederalJudgeResult:
properties:
name:
type: string
title: Name
federalJudgeId:
type: integer
title: Federaljudgeid
initials:
type: string
title: Initials
caseCountByCourt:
items:
$ref: '#/components/schemas/CaseCountByCourt'
type: array
title: Casecountbycourt
url:
type: string
title: Url
additionalProperties: false
type: object
required:
- name
- federalJudgeId
- initials
- caseCountByCourt
- url
title: FederalJudgeResult
securitySchemes:
JwtAccessBearer:
type: http
scheme: bearer