---
title: "Get Law Firms"
method: GET
path: "/law-firms"
tags: ["Law Firms", "Entities"]
---

# Get Law Firms

`GET /law-firms`

## 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/law-firms`
- Auth: HTTP bearer

Gets data for one or more law firms.

- **lawFirmIds**: the Lex Machina lawFirmIds

If any of the the lawFirmIds given are not the current lexmachina lawFirmId, the results will include inputId for disambugation

## Query parameters

- `lawFirmIds` integer[], required

## Response `200`

Success

- union[]
  - union
    - LawFirmData
      - `name` string, required
      - `lawFirmId` integer, required
    - LawFirmReference: Indicates that the Lex Machina law firm id input was has changed, the inputId is the ID given that should map to the returned lawFirmId.
      - `name` string, required
      - `lawFirmId` integer, required
      - `inputId` 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)
