CapSolver icon

CapSolver

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

Token → AWS WAF

AI-generated

Summary

Submit AWS WAF captcha task to CapSolver and poll for solution.

Inputs

  • 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.
  • type (required) — Task type for AWS WAF. Options: AntiAwsWafTask (default) or AntiAwsWafTaskProxyLess.
  • awsKey — The key value returned by the captcha page.
  • awsIv — The iv value returned by the captcha page.
  • awsContext — The context value returned by the captcha page.
  • awsChallengeJS — The challenge.js link returned by the captcha page.
  • awsApiJs — The jsapi.js link returned by the captcha page.
  • awsProblemUrl — The problem endpoint URL containing keywords like problem, num_solutions_required, etc.
  • awsApiKey — The api_key value of the problem endpoint.
  • awsExistingToken — The aws-waf-token used for the last verification.

Output shape

object

Returns the CapSolver API task result, including taskId and status. The node polls the API every second until the status is 'ready' or a failure/timeout occurs. On success, the json field contains { success: true, data: }. On continue-on-fail, the json field contains the error message.

Examples

Example 1: Solve an AWS WAF captcha using a proxy and full URL.

websiteURL: https://example.com; proxy: 123.45.67.89:8080; type: AntiAwsWafTaskProxyLess

Links

Discussion