How credits work, request billing, credit holds, and response usage.

On this page

Every returned page costs 1 credit — plain HTML, JavaScript apps, protected sites, documents, and both markdown and json formats cost the same. Credits never expire.

What a request costs

Outcome Credits Notes
Any successful page or document 1 HTML, JavaScript apps, protected sites, documents, markdown or json
Any failed request (4xx or 5xx) 0 Includes NOT_FOUND, GONE, BLOCKED, NO_CONTENT, TIMEOUT, RATE_LIMITED, and INTERNAL
Sign-in wall (metadata.login_required: true) 0 Returned as HTTP 200 with the wall’s own text

Every 200 response reports the credits charged and your remaining balance:

{
  "usage": {
    "credits": 1,
    "remaining": 11999
  }
}

Credit holds and 402

Before fetching a URL, crawlapi places a temporary 1-credit hold and settles it when the request completes:

  • Because the hold runs before fetching, an account with 0 credits receives 402 INSUFFICIENT_CREDITS (error.required_credits: 1) immediately.
  • Running requests in parallel holds 1 credit per in-flight request; failed requests release their hold immediately.
  • If the request fails or returns a sign-in wall, the hold is released in full and 0 credits are charged.

Checking your balance

You can inspect your credit balance, held credits, and active limits from any surface without spending credits:

  • HTTP API: GET https://api.crawlapi.dev/v1/account with any active API key.
  • CLI: Run crawl account (or crawl usage for daily and per-domain history).
  • MCP: Call the account tool from your connected coding agent.
  • Dashboard: View balance, usage history, and purchases at app.crawlapi.dev/billing.
esc
↑↓navigate↵openescclose
Documentation