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

> ## Agent Instructions
> BlitzAPI is the B2B Data API for GTM Builders: company and people search, enrichment, verified emails, US phone numbers and job postings behind one API key.
> Its data infrastructure holds 1B+ records: 550M+ professional profiles, 65M+ companies, 65M+ verified emails, 100M+ job postings and 45M+ US phone numbers.
> Pricing: Start $99, Scale $499, Build Your Infra from $999; every endpoint on every plan; fair use policy in records per month; rate limits per endpoint. Details: https://docs.blitz-api.ai/guide/concepts/pricing
> Company and product facts: https://www.blitz-api.ai/llms.txt

# Search Result Limits: Results per Page and per Search

> Your plan sets two limits on each search endpoint: the most results one page returns, and the most results one search returns across all its pages.

> **Agents & LLMs**: a Markdown version of this page is available by appending `.md` to the URL, and the full documentation index is at [llms.txt](https://docs.blitz-api.ai/llms.txt).

The search endpoints return their results page by page. Your plan sets two limits on each of them:

* **Results per page** (`max_results_per_page`): the largest `max_results` that one call accepts.
* **Results per search** (`max_results_total`): the most results that one search returns across all its pages.

Each endpoint has its own values. The limits apply to Find People, Employee Finder, Company Search, TAM By Jobs, TAM By People, Search Jobs and Search Company Jobs. Waterfall ICP Search returns one result set and has no pages.

## Limits by plan

**Results per page:** 1,000 on every search endpoint, on both Start and Scale. Custom on Build Your Infra.

**Results per search:**

| Endpoint | Start | Scale |
| :- | -: | -: |
| [Find People](https://docs.blitz-api.ai/api-reference/people-search/find-people.md) | 50,000 | 500,000 |
| [Employee Finder](https://docs.blitz-api.ai/api-reference/people-search/employee-finder.md) | 10,000 | 10,000 |
| [Company Search](https://docs.blitz-api.ai/api-reference/company-search/company-search.md) | 50,000 | 500,000 |
| [TAM By Jobs](https://docs.blitz-api.ai/api-reference/company-search/tam-by-jobs.md) | 50,000 | 500,000 |
| [TAM By People](https://docs.blitz-api.ai/api-reference/company-search/tam-by-people.md) | 50,000 | 500,000 |
| [Search Jobs](https://docs.blitz-api.ai/api-reference/job-search/search-jobs.md) | 5,000 | 100,000 |
| [Search Company Jobs](https://docs.blitz-api.ai/api-reference/job-search/company-jobs.md) | 5,000 | 100,000 |

Employee Finder stops at 10,000 results on every plan. On Build Your Infra, the other limits are custom: [book a call](https://cal.com/antoine-blitz-acepmu/discovery-call-build-your-infra-blitz-api) to size them.

When a plan does not set a limit, the API uses these values: 50 results per page, and 50,000 results per search on Find People, Company Search, TAM By Jobs and TAM By People, and 5,000 on Search Jobs and Search Company Jobs. The values of your own key are always in `GET /v2/account/key-info`.

## Read your own limits

`GET /v2/account/key-info` returns a `limits` array with one entry for each search endpoint. It uses no records.

```bash cURL theme={null} theme={null}
curl https://api.blitz-api.ai/v2/account/key-info \
  -H "x-api-key: $BLITZ_API_KEY"
```

```python Python theme={null} theme={null}
info = client.account.key_info()
for limit in info.limits:
    print(limit.path, limit.max_results_per_page, limit.max_results_total)
```

```ts TypeScript theme={null} theme={null}
const info = await client.account.key_info();
for (const limit of info.limits) {
  console.log(limit.path, limit.max_results_per_page, limit.max_results_total);
}
```

The `limits` part of the response, on the Start plan:

```json theme={null} theme={null}
{
  "limits": [
    { "path": "/search/people", "max_results_per_page": 1000, "max_results_total": 50000 },
    { "path": "/search/employee-finder", "max_results_per_page": 1000, "max_results_total": 10000 },
    { "path": "/search/companies", "max_results_per_page": 1000, "max_results_total": 50000 },
    { "path": "/company/tam-by-jobs", "max_results_per_page": 1000, "max_results_total": 50000 },
    { "path": "/company/tam-by-people", "max_results_per_page": 1000, "max_results_total": 50000 },
    { "path": "/jobs/search", "max_results_per_page": 1000, "max_results_total": 5000 },
    { "path": "/jobs/company", "max_results_per_page": 1000, "max_results_total": 5000 }
  ]
}
```

| Field | Type | Description |
| :- | :- | :- |
| `path` | `string` | The endpoint, without the `/v2` prefix, in the same format as `allowed_apis`. |
| `max_results_per_page` | `number` | The largest `max_results` that one call to this endpoint accepts. |
| `max_results_total` | `number` or `"unlimited"` | The most results that one search returns across all its pages. The string `"unlimited"` when your plan sets no limit for this endpoint. |

In the SDKs, `account.key_info()` returns a `KeyInfo`, and `KeyInfo.limits` is a list of `SearchLimit` with the same three fields. See the [Python SDK](https://docs.blitz-api.ai/sdks/python.md#client-account) and the [TypeScript SDK](https://docs.blitz-api.ai/sdks/typescript.md#client-account).

> [!TIP]
>
> Read `limits` once before a large run, and set your page size and your stop condition from it. Do not hardcode the values: they change when your plan changes.

## Results per page

`max_results` sets how many results one call returns. The default is `10`, and the largest value is your `max_results_per_page` for that endpoint. A larger value returns a `422` and uses no records:

```json theme={null} theme={null}
{
  "success": false,
  "message": "Invalid request body. max_results: Must be at most 1000 (got 1001).",
  "errors": [
    { "field": "max_results", "message": "Must be at most 1000 (got 1001)." }
  ]
}
```

Like every error body, it also carries `fair_usage` (see [Errors](https://docs.blitz-api.ai/guide/reference/errors.md)).

`max_results` is the size of one page, not a total. Each result returned uses one record of your [fair use policy](https://docs.blitz-api.ai/guide/reference/fair-use-policy.md).

## Results per search

A search is the first call and every next page you ask for with the same filters:

* **Cursor endpoints** (all of them except Employee Finder): send back the `cursor` of each response to get the next page. A `null` `cursor` means the search is complete.
* **Employee Finder**: send `page` (`1`, `2`, …) and read `total_pages`. Results after the 10,000th cannot be reached.

When a search gets to your `max_results_total`, it ends as if there were no more results: the page that gets to the limit returns a `null` `cursor` (or is the last `page` on Employee Finder). This is not an error. On Find People, Company Search, Search Jobs and Search Company Jobs, the last page stops exactly at the limit.

`total_results` counts every match of your filters, so it can be larger than your `max_results_total`. When `total_results` is larger than the number of results you received and the `cursor` is `null`, the search stopped at your limit.

To get more results than the limit, split the search into smaller searches that each stay under it, for example one search for each country, industry or company size. Each split is a new search with its own limit.

> [!NOTE]
>
> On TAM By Jobs and TAM By People, a page can have fewer results than `max_results`, or no result, when `job.min_per_company` or `people.min_per_company` removes many companies. Keep paging until the `cursor` is `null`.

## In the SDKs

The SDK list methods page for you: iterate the result, and the SDK asks for each next page until the `cursor` is `null`, so a loop stops at your `max_results_total` by itself. `max_results` sets the page size, and `max_items` stops the loop earlier, on the client side. See [Pagination](https://docs.blitz-api.ai/sdks/pagination.md).

```python Python theme={null} theme={null}
info = client.account.key_info()
limits = {l.path: l for l in info.limits}
limit = limits["/search/people"]

people = client.search.people(
    people={"job_level": ["VP"]},
    # The largest page your plan accepts.
    max_results=int(limit.max_results_per_page),
)
# Your own stop, under the limit.
for person in people.auto_paging_iter(max_items=5000):
    print(person.full_name)
```

```ts TypeScript theme={null} theme={null}
const info = await client.account.key_info();
const limit = info.limits.find(
  (l) => l.path === "/search/people",
);

for await (const person of client.search.people({
  people: { job_level: ["VP"] },
  // The largest page your plan accepts.
  max_results: limit?.max_results_per_page ?? 50,
  // Your own stop, under the limit.
  max_items: 5000,
})) {
  console.log(person.full_name);
}
```

## Related

> [card] [Plans & Pricing](https://docs.blitz-api.ai/guide/concepts/pricing.md)
>
> What each plan includes, and how to move up a plan.

> [card] [Get API Key Details](https://docs.blitz-api.ai/api-reference/account/get-api-key-details.md)
>
> The full response of `GET /v2/account/key-info`.

> [card] [Fair Use Policy](https://docs.blitz-api.ai/guide/reference/fair-use-policy.md)
>
> How many records your plan covers each month.

> [card] [SDK pagination](https://docs.blitz-api.ai/sdks/pagination.md)
>
> Stream results across pages, and stop when you want.


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