CaptchaSonic icon

CaptchaSonic

AI-powered CAPTCHA solving — supports reCAPTCHA, popularcaptcha, Turnstile, GeeTest, DataDome, AWS WAF, and more

Recognition → reCAPTCHA v2 Classification

AI-generated

Summary

Sends reCAPTCHA v2 image-challenge images (single or 3x3 grid) and the challenge question to the CaptchaSonic API and returns the classification result synchronously.

Inputs

  • Task Type (type) (required) — Fixed to ReCaptchaV2Image; sent as the task type.
  • Image (Base64) — Single base64 image; added first to the request's queries array.
  • Image 1–9 (Base64) — Grid tile images; non-empty ones are appended to queries in order.
  • Image Background (Base64) — Optional background image, sent as imageBackground.
  • Question — Challenge instruction text, e.g. "Select all images with cars".
  • Website URL — Page URL where the CAPTCHA appears; sent only if set.
  • Website Key — Sitekey; sent as both websiteKey and websiteKEY if set.
  • Body — If valid JSON object, its fields are merged into the task payload (for extra API fields); otherwise sent as a raw body string.

Output shape

One item per input item: { success: true, data: }, paired to the input item.

Result is returned inline from POST /createTask with no polling. The exact data fields depend on the API. API errors (errorId non-zero) throw; with Continue On Fail enabled, the item is { error: message } instead. Requires the captchaSonicApi credential (API key).

Examples

Example 1: Classify a 3x3 reCAPTCHA v2 image grid captured by a browser automation step.

Resource: Recognition; Operation: reCAPTCHA v2 Classification; Question: "Select all images with traffic lights"; Image 1–9 set via expressions to base64 tile data.

Example 2: Pass extra API-specific fields alongside the images.

Set Image (Base64) and Question, and put a JSON object in Body, e.g. {"questionType":"grid"}, to merge it into the task.

Links

Discussion