---
title: "Search Judges"
method: GET
path: "/search-judges"
tags: ["Judges", "Search"]
---

# Search Judges

`GET /search-judges`

## Request

- Base URL: `https://api.lexmachina.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.lexmachina.com/search-judges`
- Auth: HTTP bearer

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".

## Query parameters

- `q` string, required

## Response `200`

Success

- JudgeSearchResult
  - `federalJudges` FederalJudgeResult[], required
    - `name` string, required
    - `federalJudgeId` integer, required
    - `initials` string, required
    - `caseCountByCourt` CaseCountByCourt[], required
      - `court` string, required
      - `count` integer, required
    - `url` string, required
  - `magistrateJudges` MagistrateJudgeResult[], required
    - `name` string, required
    - `magistrateJudgeId` integer, required
    - `caseCountByCourt` CaseCountByCourt[], required
      - `court` string, required
      - `count` integer, required
    - `url` string, required
  - `stateJudges` StateJudgeResult[], required
    - `name` string, required
    - `stateJudgeId` integer, required
    - `courtPosting` string, required
    - `url` string, required
  - `bankruptcyJudges` BankruptcyJudgeResult[], required
    - `name` string, required
    - `bankruptcyJudgeId` integer, required
    - `caseCountByCourt` CaseCountByCourt[], required
      - `court` string, required
      - `count` integer, required
    - `url` string, required

## Other responses

- `401`: Invalid or expired token
- `404`: Not found
- `422`: Error - 422

---

[API](https://skmtc.dev/lexmachina/apis/lex-machina-api.md) - [All operations](https://skmtc.dev/lexmachina/apis/lex-machina-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lexmachina/apis/lex-machina-api/revisions/9ebaec5d3551?raw)
