qocgpiywhm
API Reference

Errors

402 is expected. Pay and retry. It is not a tool failure.

What happenedHTTP from usWhere it appears
No / invalid payment402Response; pay and retry
Batch larger than the tool allows400{"error":{"code":"batch_too_large","n","max_n","tool_id"}} before pay
Bad JSON, or both url and items[]400error.code is invalid_body
Target 401/403 — Check URL Status200data.status_code, ok: false
Target 401/403 — Web Content/Index Cleaner200Item error: fetch_failed
Target 401/403 — Metadata / Link Extractor200Item error: fetch_failed. The page is not parsed.
Fetched HTML over 32,000,000 bytes (clean / extract)200Item error: too_large
Request timed out504Retry with a smaller batch
Email role_based, dns_timeout, dns_error200valid: true and detail
Email format / disposable / no MX200valid: false and detail

Retry 402 after paying. Retry 504 with a smaller batch. Change the request for 400 / too_large. A target-site 403 is that page blocking the fetch, not our API being down.

Also true: no JS render (server HTML only). Empty Link Extractor page is item error no_links. Clean with no extractable body is item no_main_content, still HTTP 200.