# Rate limits

> What your plan allows, what counts against it, and what a refused call looks like.

Limits belong to a company’s plan, and every key of the company shares them. The two per-minute limits are counted for each key. Days are UTC days.

## The trial’s limits

A trial has these limits. They are read from the same plan file the API enforces. A company’s own limits can differ from them.

**Calls**

- 30 requests a minute per key
- 3,000 requests a day

**Pages**

- 2,000 pages in total
- 300 pages a day
- 200 pages per crawl
- 10 MiB per upload

**Jobs and AI**

- 2 jobs running at once
- 10 agent runs a day
- US$2.00 of AI use a day

**What you keep**

- 3 keys
- 3 members
- 5 monitors
- 10 watches

## What counts

- A call to most routes is one request.
- `POST /v2/scrape` is one request and the page it serves. A fetch that fails serves no page, and is not charged.
- `POST /v2/crawl`, `POST /v2/batch/scrape`, `POST /v2/agent`, and `POST /v2/search` with `scrapeOptions` are one request each, and they reserve their pages first: a crawl’s `limit`, a batch’s addresses, the agent’s page ceiling, a search’s `limit`. The pages a job read are charged when it ends, and the rest are released.
- A crawl, an agent run or a search is lowered to the pages you have left, with a `warning`. Only no pages left refuses it. A batch is all or nothing: fewer pages left than addresses is refused.
- The plan’s crawl maximum lowers a crawl’s `limit`, with a `warning`.
- Reading the status of your own crawl, batch or agent job is not a request. It has its own per-minute limit for each key, so a client that polls hard cannot use up your requests a day, and can still be slowed by that limit.
- A monitor check reserves one page for each scrape address, and a crawl target’s `limit` for each crawl target. Watches and search targets cost nothing.
- A page is charged to the day its call or job started.

## When a limit is reached

**`429 RATE_LIMITED`** means too many calls in a minute, for the key, or too many jobs running at once. `details.limit` says which: `requestsPerMinute`, `statusPollsPerMinute` or `runningJobs`, or `mcpMessagesPerMinute` for too many messages to the [hosted MCP endpoint](https://darkcrawl.dev/docs/mcp/). The `Retry-After` header holds a number of whole seconds, at least one. Wait that long, then send the call again. The call that was refused did not run.

```json
{
  "success": false,
  "code": "RATE_LIMITED",
  "error": "too many requests for this key; retry after Retry-After seconds",
  "details": {
    "limit": "requestsPerMinute",
    "max": 30
  }
}
```

A hosted MCP tool call can also be refused because too many calls are running. It comes back as the tool error `RATE_LIMITED`, not as a `429`. Its `details.limit` is `mcpCallsPerCompany` for your company’s calls, or `mcpCallsTotal` when the server as a whole is busy, even if your company is under its own limit. Try again when a call has finished.

**`402 QUOTA_EXCEEDED`** means a limit is used up: `requestsPerDay`, `pagesPerDay`, `pagesTotal`, `agentRunsPerDay`, or the number of `monitors` or `watches` you may keep. `details.limit` names it. A daily limit has `resetsAt`, the next UTC midnight. A total never resets.

```json
{
  "success": false,
  "code": "QUOTA_EXCEEDED",
  "error": "the company has used today's requests",
  "details": {
    "limit": "requestsPerDay",
    "max": 3000,
    "resetsAt": "2026-11-27T00:00:00.000000+00:00"
  }
}
```

A job that cannot reserve its pages has `details` of `limit`, `needed` and `remaining` instead, with no `max` and no `resetsAt`:

```json
{
  "success": false,
  "code": "QUOTA_EXCEEDED",
  "error": "the company has fewer pages left than this job needs",
  "details": {
    "limit": "pagesPerDay",
    "needed": 50,
    "remaining": 12
  }
}
```

**`403 TRIAL_EXPIRED`** and **`403 ORG_SUSPENDED`** mean the company cannot work now. Calls are refused until the company can work again. Contact us.

**`403 ORG_DISABLED`** means your company is disabled, and calls are refused until access is restored. Contact us.

**`413 PAYLOAD_TOO_LARGE`** means the body is over the upload limit.

A model call that would take the company past its AI use for the day is not made. An AI format is left out of the reply, with a `warning` that says why, and an agent run stops and says why.

## Monitors and watches

Monitors and watches stop while the company is suspended or its trial has ended, and start again by themselves when the company can work again. A watch then checks the pages it missed, without raising alerts for them. A monitor check that falls due when no pages are left is skipped, and no check is recorded for it.
