Error responses

What each status code means and what to do about it.

400 Bad Request
Malformed body or missing parameters. Check the endpoint's parameter schema.
401 Unauthorized
Missing, revoked or malformed key. Keys must start with mpi_ and be sent as a Bearer token.
403 Forbidden
The key is valid but lacks the scope for this call. permission_denied: the key owner's role doesn't allow it, and the message says why.
404 Not Found
Unknown slug or scraper id. Slugs resolve within the key owner's workspace.
402 / credit errors
Out of credits, or past a spend limit you set.
429 Too Many Requests
rate_limited: back off for Retry-After seconds and retry. api_key_limit: the key used up its spend budget for this period. member_limit or brand_limit: the key owner's usage limit or the brand's budget is used up.
5xx
Something on our side. Safe to retry with backoff; contact support if it persists.

Every error body carries a human-readable message describing what to fix.

Did this answer your question?

More in API & developers

We already know your next customer