---
title: "Seach Law Firms"
method: GET
path: "/search-law-firms"
tags: ["Law Firms", "Search"]
---

# Seach Law Firms

`GET /search-law-firms`

Searches for law firms.

- **q**: the query string
- **page_number**: page number of the results
- **page_size**:  results per page

This is a case-insensitive search that will match anywhere within the name of the firm.

The results will have page and totalCount fields as well as a convenience link via the field nextPage.

## Query parameters

- `q` string, required
- `pageNumber` integer
- `pageSize` integer

## Response `200`

Success

- LawFirmSearchResult
  - `totalCount` integer, required
  - `page` integer, required
  - `nextPage` string, nullable
  - `lawFirms` LawFirmResult[], required
    - `name` string, required
    - `lawFirmId` 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)
