CAPSOLVER

Cloudflare Turnstile Captcha Solver

cloudflare

What Is Cloudflare

Cloudflare employs various techniques to detect and mitigate unwanted traffic. Among these are the Cloudflare Challenge, which often involves JavaScript challenges or CAPTCHA tests, and Turnstile, a more user-friendly CAPTCHA that minimizes user interaction.

Cloudflare Turnstile Demo

Cloudflare Challenge Demo

www.demo.com
Verifying you are human by completing the action below.

www.demo.com needs to review the security of your connection before proceeding.

Cloudflare Turnstile Best Solving Solution - CapSolver

CapSolver is the cheapest and fastest Cloudflare Turnstile solver to solve the Cloudflare Turnstile.

CapSolver use AI-powered Captcha Solving Algorithms, which result in faster solving speed and significantly reduced costs, providing an excellent developer experience.

Highly Reliable

We have the fastest update speed among similar providers.

No Risks

You only pay for solved captchas.Strict cooperation review will ban any illegal activities.

AI-Powered

We use AI for fully automated captcha solving.

Compatibility

CapSolver works with APIs of popular manual captcha recognition services.

Diverse Solutions

CapSolver provides API service and extension on Chrome.

Trustworthy

More than 1000+ platforms have integrated our API.

The method of resolving captcha issues with CapSolver is as follows:

After using the CapSolver service, when users encounter captcha problems, they send requests to CapSolver. Upon receiving the request for the corresponding captcha issue, CapSolver efficiently and quickly solves the captcha problem for the users.

</> Cloudflare Turnstile solver API:

(More third-party libraries on github)
SolutionsPricing
Cloudflare Turnstile

AntiTurnstileTaskProxyLess

$1.2/1000 requests

How To Solve Cloudflare Turnstile-API Guide

CapSolver auto captcha solving service can easily solve Cloudflare Turnstile. CapSolver provides two Captcha solving services that help you to solve Cloudflare Turnstile.

One of the services is to use CapSolver's API , the other one is to download the extension in Chrome.

for CapSolver and getting our captcha services.

Step 1 : Creating a Task

Create the task with the createTask.

In the process of using turnstile, we must input websiteURL and websiteKey, other parameters are optional.

Task Object Structure

Properties Type Required Description
type String Required AntiTurnstileTaskProxyLess
websiteURL String Required The address of the target page.
websiteKey String Required Turnstile website key.
metadata Map<String,String> Optional Turnstile extra data . Turnstile Documentation
metadata.action String Optional The value of the data-action attribute of the Turnstile element if it exists.
metadata.cdata String Optional The value of the data-cdata attribute of the Turnstile element if it exists.

Example Request

POST https://api.capsolver.com/createTask
Host: api.capsolver.com
Content-Type: application/json
{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "AntiTurnstileTaskProxyLess",
    "websiteURL": "https://www.yourwebsite.com",
    "websiteKey": "0x4XXXXXXXXXXXXXXXXX",
    "metadata": {
      "action": "login", //optional
      "cdata": "0000-1111-2222-3333-example-cdata" //optional
    }
  }
}

Example Response

{
  "errorId": 0,
  "status": "idle",
  "taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006" // record taskId
}

Step 2 : Getting Results

Use the getTaskResult method to get the recognition results

Depending on the system load, you will get the results within the interval of 1s to 20s

Example Request

POST https://api.capsolver.com/getTaskResult
Host: api.capsolver.com
Content-Type: application/json
{
  "clientKey": "YOUR_API_KEY",
  "taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006"
}

Example Response

{
  "errorId": 0,
  "taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006",
  "status": "ready",
  "errorCode": null,
  "errorDescription": null,
  "solution": {
    "token": "0.mF74FV8wEufAWOdvOak_xFaVy3lqIDel7SwNhw3GgpICSWwTjYfrQB8mRT1dAJJBEoP7N1sESdp6WH9cTS1T0catWLecG3ayNcjwxVtr3hWfS-dmcBGRTx4xYwI64sAVboYGpIyuDBeMIRC3W8dK35v1nDism9xa595Da5VlXKM7hk7pIXg69lodfiftasIkyD_KUGkxBwxvrmz7dBo10-Y5zvro9hD4QKRjOx7DYj9sumnkyYCDx0m4ImDIIkNswfVTWI2V22wlnpHdvMgdtKYgOIIAU28y9gtdrdDkpkH0GHcDyd15sxQGd9VjwhGZA_mpusUKMsEoGgst2rJ3zA.UWfZupqLlGvlATkPo3wdaw.38d55cd0163610d8ce8c42fcff7b62d8981495cc1afacbb2f14e5a23682a4e13",
    "type": "turnstile",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
  }
}

Solving Cloudflare Turnstile using CapSolver SDK:

Popular captchas supported

Easily use CapSolver to solve captchas

We ensure that integrating our products into your infrastructure is as effortless as possible. With multiple language support and ready-to-use code examples, a quick and easy start to your web project is a guarantee.

Documentation For Developers

# pip install --upgrade capsolver
# export CAPSOLVER_API_KEY='...'

import capsolver

# capsolver.api_key = "..."
solution = capsolver.solve({
  "type": "AntiTurnstileTaskProxyLess",
  "websiteURL": "https://www.yourwebsite.com",
  "websiteKey": "0x4XXXXXXXXXXXXXXXXX",
  "metadata": {
     "action": "login"  # optional
  }
})
package main

import (
  "fmt"
  capsolver_go "github.com/capsolver/capsolver-go"
  "log"
)

func main() {
  // first you need to install sdk
  //go get github.com/capsolver/capsolver-go

  capSolver := capsolver_go.CapSolver{ApiKey: "..."}
  solution, err := capSolver.Solve(map[string]any{
    "type":       "AntiTurnstileTaskProxyLess",
    "websiteURL": "https://www.yourwebsite.com",
    "websiteKey": "0x4XXXXXXXXXXXXXXXXX",
    "metadata": map[string]string{
      "action": "login"  // optional
    },
  })
  if err != nil {
    log.Fatal(err)
    return
  }
  fmt.Println(solution)
}

Free Trial

Recognize 15+ other captcha types
I'M NOT A ROBOT