CaptchaSonic icon

CaptchaSonic

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

Token → PopularCaptcha

AI-generated

Summary

Solves a PopularCaptcha challenge through the CaptchaSonic API and returns the solved token result. It creates a task, then polls every 3 seconds for up to 120 seconds until the task is ready.

Inputs

  • Task Type (required) — PopularCaptchaTaskProxyLess (default), PopularCaptchaTask, PopularCaptchaEnterpriseTaskProxyLess, or PopularCaptchaEnterpriseTask. Non-ProxyLess variants need a proxy.
  • Website URL (required) — URL of the page where the CAPTCHA appears.
  • Website Key — Sitekey of the CAPTCHA widget. Sent only when non-empty.
  • Proxy — Proxy as protocol://user:password@host:port. The field's description says it is required for non-ProxyLess task types.
  • User Agent — Browser User-Agent string to use when solving.
  • Optional Fields — Collection with API Domain, CData, Cookies, Enterprise Payload (JSON), Is Invisible, Min Score and Page Action. Empty values are skipped. Page Action and CData are sent under task.metadata. Enterprise Payload is parsed as JSON, so invalid JSON causes an error. The other fields are sent as top-level task fields. Several fields are labelled for reCAPTCHA but are still sent for this operation.

Output shape

One item per input item: { success: true, data: }. The data holds the task status ('ready') and the solution/token returned by the API.

The exact solution fields come from the API and are not defined in the node. If the task fails, returns an error status, or exceeds 120 seconds, the node throws. With Continue On Fail enabled, it returns { error: message } for that item instead. Requires the captchaSonicApi credential (API key).

Examples

Example 1: Get a token for a page protected by PopularCaptcha without using a proxy.

Task Type: PopularCaptcha (Proxy-Less); Website URL: https://example.com/login; Website Key: the site's sitekey.

Example 2: Solve an enterprise PopularCaptcha through your own proxy.

Task Type: PopularCaptcha Enterprise; Website URL and Website Key set; Proxy: http://user:pass@1.2.3.4:8080; Optional Fields > Enterprise Payload (JSON) set.

Links

Discussion