All docs
On this page

Envelope

Every endpoint shares one response envelope:

CaseHTTPBody
Sync success200{ "success": true, "data": …, "meta": { … }, "credit_cost": 1 }
Async accepted202{ "success": true, "data": { "job_id": "…", "status_url": "…" } }
Error4xx/5xx{ "success": false, "error": { "code": "…", "message": "…" } }

meta appears only on capture endpoints and contains status_code, the final url after redirects, duration_ms, and title when available. credit_cost is the authoritative per-call billing record; it is 0 for failed runs.

Error codes

None of these errors are billed. The exception is an async crawl that fails after some pages completed: those pages are still billed at the normal rate.

CodeHTTPMeaningNext step
INVALID_REQUEST400The request failed schema or parameter validation.Fix the field named in message.
UNAUTHORIZED401The API key is missing, malformed, or revoked.Create a key in the dashboard and send Authorization: Bearer sk-....
INSUFFICIENT_CREDITS402The team does not have enough credits for this call.Top up in Billing, or reduce limit for crawls.
FORBIDDEN403The key cannot use this endpoint. Common causes are a playground key used outside the dashboard, or a plan limit such as monitor count.Use a regular API key, or upgrade the plan or remove an existing resource.
TARGET_BLOCKED403The target site refused the request, often because of bot protection.Try another URL. We do not bypass bot protection.
JOB_NOT_FOUND404The crawl job does not exist or belongs to another team.Check the job_id returned by POST /v1/crawl and stop polling.
NOT_FOUND404A monitor, check, snapshot, channel, delivery, API key, or artifact does not exist or belongs to another team.Check the ID, then list resources to find valid ones.
TARGET_TIMEOUT408The target page did not finish rendering in time.Retry with a larger timeout, up to 60 seconds, or set wait_for.
RATE_LIMITED429The team exceeded its plan's rate limit.Wait for Retry-After, then back off.
INTERNAL_ERROR500An unexpected error occurred on our side.Retry with backoff. If it persists, contact support.
PROVIDER_ERROR502The upstream capture provider failed.Retry with backoff. Honor Retry-After when present.
TARGET_UNREACHABLE502DNS, TLS, or connection failed at the target.Verify that the URL is public and reachable.
credit_cost in the response and in GET /v1/account/activity always shows whether a call was billed.