Solve Cloudflare Turnstile

Solve Cloudflare Turnstile

Logo of Capsolver

CapSolver Blogger

How to use capsolver


Deciphering Cloudflare Turnstile

Types of Turnstiles Handled by Capsolver

Turnstile/Challenge authentication serves as an alternative to reCaptcha/hCaptcha, and our system is equipped to automatically manage every variant:

  • Manual
  • Non-Interactive
  • Invisible

Overcoming the Cloudflare Turnstile

Before addressing the Cloudflare Turnstile, it's important to prepare by understanding the necessary prerequisites and key considerations:


  • Capsolver Key

Essential Considerations for a Valid Solution:

  • The Token issued in the getTaskResult response is the captcha resolution token.

To navigate the Cloudflare turnstile effectively, please consult our guide. Certain parameters are mandatory, while others are optional. In this case, we're focusing on the required parameters only. The task type available for Cloudflare is:

  • AntiTurnstileTaskProxyLess: This task configuration utilizes our server's proxies.

We will opt for AntiTurnstileTaskProxyLess as the website employs a Cloudflare Turnstile.
Failure to provide complete parameters or incorrect submissions may result in the website rejecting the token. All necessary parameters are detailed in this diagram:

Diagram for Resolving Cloudflare Turnstile Captcha

Step 1: Initiating a Task with Capsolver

Deploy the createTask function to upload the required information:


  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "AntiTurnstileTaskProxyLess",
    "websiteURL": "",
    "websiteKey": "0x4XXXXXXXXXXXXXXXXX",
    "metadata": {
       "action": "login",  //optional
       "cdata": "0000-1111-2222-3333-example-cdata"  //optional

Step 2: Retrieving the Results

Continuously monitor the getTaskResult API endpoint to check when the captcha is resolved.

Example of the request needed:

Content-Type: application/json

    "taskId": "TASKID_OF_CREATETASK" //The ID generated by the createTask method

Upon successful captcha resolution, the response will look similar to this:
Successfully Resolved Cloudflare Turnstile

The received captcha token should be validated by entering the token.

⚠️ A token rejection might suggest missing or inaccurate details. Verify that the setup does not pertain to the cloudflare challenge 5s, which would require different parameters.

For solutions to Cloudflare Challenge 5s IUAM, consult this blog: link

In summary, although tackling the cloudflare turnstile might seem challenging, simplifies and speeds up the process. Following the detailed steps provided will help you efficiently resolve any cloudflare issues.

Capsolver Team 💜