CapSolver icon

CapSolver

Captcha solving service - Supports reCAPTCHA, Turnstile, DataDome, etc

Token → Cloudflare Challenge

AI-generated

Summary

Solves a Cloudflare challenge via AntiCloudflareTask using CapSolver.

Inputs

  • type (required) — Task type for cloudflare challenge; default is AntiCloudflareTask.
  • websiteURL (required) — The URL of the target webpage that loads the captcha; submit the full URL instead of just the host.
  • proxy (required) — Proxy used for solving captcha; format ip:port:user:pass.
  • userAgent (required) — User-agent used to request the target website; only Chrome's userAgent is supported.
  • websiteKey — Captcha site key (not displayed in UI for Cloudflare Challenge operation).

Output shape

object

Returns the task result from CapSolver API containing task identifier and solution data when status is 'ready'. If the task fails or times out (120s default), a NodeOperationError is thrown. On workflow continueOnFail, the error is returned as { error: error.message }.

Examples

Example 1: Basic Cloudflare challenge solving

Set type to AntiCloudflareTask, provide the target website URL, a working proxy, and a Chrome user-agent. The node will poll CapSolver until the challenge is solved and return the result data.

Links

Discussion