CapSolver icon

CapSolver

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

Recognition → reCAPTCHA v2

AI-generated

Summary

Solves reCAPTCHA v2 challenges via CapSolver Recognition service, returning a completion token or task result.

Inputs

  • type (required) — Task type for ReCaptcha V2. Only ReCaptchaV2Classification is available for this operation.
  • websiteURL — Page source URL to improve accuracy.
  • websiteKey — Website key to improve accuracy.
  • image (required) — Base64 image string. Required for task submission.
  • question (required) — Please refer to the following list of questions.

Output shape

{ success: boolean, data: object }

On success returns the capsolver task result (taskId, status, solution/token). If continueOnFail is enabled, errors return as { error: error.message } without throwing.

Examples

Example 1: Standard reCAPTCHA v2 solve

Provide websiteURL, websiteKey, an image base64 string, select the ReCaptchaV2Classification type, and optionally a question reference. The node will submit the task to CapSolver and return the resolved token.

Links

Discussion