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

# Search Judges

`GET /search-judges`

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.net/lexmachina/apis/lex-machina-api.md) · [All operations](https://skmtc.net/lexmachina/apis/lex-machina-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lexmachina/lex-machina-api/revisions/5f519a7078fc/schema)
