Errors

Errors use standard HTTP status codes and always return the same JSON shape, so you can handle them in one place.

Error format

error
  1. { "error": "Missing or invalid API key." }

Status codes

StatusMeaning
200Success.
400Bad request — a required parameter (e.g. url) is missing or malformed.
401Missing or invalid API key.
403URL blocked — a private/internal address (SSRF protection).
404Unknown endpoint.
429Rate limit reached — see Rate limits.
502The target URL couldn't be fetched (unreachable or upstream error).
503API temporarily unavailable.

Handling errors

Check the status code first, then read error for a human-readable message. 4xx errors are client-side (fix the request or key); 5xx and 429 are safe to retry with backoff.