> ## Documentation Index
> Fetch the complete documentation index at: https://docs.seamless.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Company Size → Companies

> Target companies by employee-count band. One filter of the Seamless.AI Company Search API.

> [!NOTE]
>
> `POST /search/companies` · Credits charged per results returned · v1, v2 · Part of the [Company Search API](/api-catalog/company-search)

## Introduction

Target companies by employee-count band. Combine it with any other filter in the same request (AND logic).

## AI agent prompt

```text theme={null}
Read https://docs.seamless.ai/api-catalog/company-filters/company-size. Using SEAMLESS_API_KEY, call POST https://api.seamless.ai/api/client/v1/search/companies with the `companySize` filter to find companies matching: <your target>. Page with nextToken and keep each searchResultId.
```

## Example

```bash cURL theme={null}
curl -X POST https://api.seamless.ai/api/client/v1/search/companies \
  -H "Token: $SEAMLESS_API_KEY" -H "Content-Type: application/json" \
  -d '{"companySize": ["51 - 200", "201 - 500"], "limit": 25}'
```

```python Python theme={null}
import os, requests
rows = requests.post("https://api.seamless.ai/api/client/v1/search/companies",
    headers={"Token": os.environ["SEAMLESS_API_KEY"]},
    json={"companySize": ["51 - 200", "201 - 500"], "limit": 25}).json()["data"]
```

## Reference

| Parameter | Type | Required | Description |
| - | - | - | - |
| `companySize` | string\[] | Yes | Employee size bands to match against company headcount ranges. Up to 10 values. |
| `limit` | integer | No | Results per page, up to 500. Default `50`. |
| `nextToken` | string | No | Cursor from `supplementalData.nextToken` to fetch the next page. |

**Allowed values for `companySize`:** `0 - 1 (Self-employed)`, `2 - 10`, `11 - 50`, `51 - 200`, `201 - 500`, `501 - 1,000`, `1,001 - 5,000`, `5,001 - 10,000`, `10,001+`

## Response

Rows are company previews with `searchResultId`, `companyName`, `domain`, address, industry, size, revenue, and technologies. Send `searchResultId` to [Company Research](/api-catalog/company-enrichment) for the full record. Fields: [Company Search](/api-catalog/company-search).

Auth: `Token` header ([API keys](/authentication/api-keys)) · Errors: [status codes](/api-http-status-codes) · Billing: [rate limits and credits](/rate-limits-and-credits)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.