---
agent:
  instructions: "Search crawlapi docs via GET /.well-known/search?q={query} (add &format=json or Accept: application/json for JSON)."
  endpoint: "https://docs.crawlapi.dev/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://docs.crawlapi.dev/llms.txt"
---

> Documentation index: https://docs.crawlapi.dev/llms.txt
> Search docs: https://docs.crawlapi.dev/.well-known/search?q={query}
> OpenAPI 3.1 specification: https://docs.crawlapi.dev/openapi.json

# API keys and billing

> API key rules, credit packs, automatic top-up, and the 10-page playground trial.

Manage API keys, credit packs, auto top-up, and usage history in the dashboard at [app.crawlapi.dev](https://app.crawlapi.dev).

## API keys

Create and revoke keys at [app.crawlapi.dev/keys](https://app.crawlapi.dev/keys).

| Rule | Detail |
| --- | --- |
| Format | Starts with `ck_` |
| Auth headers | `Authorization: Bearer <key>` or `x-api-key: <key>` |
| Active keys per account | Up to `25` active keys |
| Visibility | Shown once at creation; revoke and replace lost keys |
| Scopes | Dashboard and `crawl keys create` keys are `scrape`-scoped; `crawl login` creates a `cli`-scoped key |

Call `GET https://api.crawlapi.dev/v1/account` with any active key to check your balance, held credits, rate limits, and key scope, or `DELETE https://api.crawlapi.dev/v1/account/key` to revoke the calling key immediately. Signing out of all sessions or suspending an account revokes connected OAuth MCP clients immediately.

### Rotating keys safely

1. Create a replacement key at [app.crawlapi.dev/keys](https://app.crawlapi.dev/keys) (or with `crawl keys create --name <label>`).
2. Deploy the new `CRAWLAPI_API_KEY` to your environment and confirm requests succeed.
3. Revoke the old key from the dashboard, `crawl keys revoke`, or `DELETE /v1/account/key`.

## Credit packs and speed limits

Buy one-time credit packs at [app.crawlapi.dev/billing](https://app.crawlapi.dev/billing). Credits never expire and all purchases are final.

| Pack | Price | Credits | Per minute | At once |
| --- | --- | --- | --- | --- |
| Starter | $10 | 12,000 | 200 | 10 |
| Builder | $29 | 45,000 | 500 | 25 |
| Pro | $99 | 180,000 | 2,500 | 75 |
| Scale | $299 | 650,000 | 5,000 | 150 |
| Business | $999 | 2,500,000 | 10,000 | 300 |

Your limits rise as your purchases add up: once they reach the price of a pack in total, you have its limits. They never go down. See [Credits and pricing](https://docs.crawlapi.dev/credits.md) for per-page billing and [Rate limits](https://docs.crawlapi.dev/rate-limits.md) for `RateLimit` headers.

## Auto top-up

Keep production workloads from hitting `402 INSUFFICIENT_CREDITS` by enabling Auto Top-Up at [app.crawlapi.dev/billing](https://app.crawlapi.dev/billing):

- **Setup:** Available after your first paid pack purchase. Save a payment card on the Billing page (one-time pack purchases do not save your card automatically).
- **Controls:** Pick the refill pack, the low-balance credit threshold, and a monthly spend cap (at least the chosen pack's price).
- **Automatic pause:** Auto Top-Up pauses if a charge is declined, requires bank verification (3DS), the saved card expires, or a billing dispute occurs.

## Playground trial

Every new account can try **`10` pages** in the [web playground](https://app.crawlapi.dev/playground) without creating an API key:

- Some protected sites require a paid pack and do not consume a trial page.
- Once you buy a credit pack, playground runs bill normally from your credit balance.
