Captcha Solver Available

Cloudflare Turnstile Solver

Latest solution for bypassing Cloudflare Turnstile with perfect accuracy.

CaptchaAI is a powerful Cloudflare Turnstile solver for developers and automation systems. Easily solve Cloudflare Turnstile challenges and bypass Cloudflare Turnstile verification in protected workflows with our Turnstile solving service, offering stable token generation and scalable concurrency.

  • > 100% success rate
  • Thread-based subscription
  • Unlimited solving
  • Per 1,000: Custom quote
  • No per-captcha billing
Cloudflare Turnstile
Product
Success Rate
Speed
Subscription
Per 1,000
How to bypass
Cloudflare Turnstile
Latest solution for bypassing Cloudflare Turnstile with perfect accuracy.
100%+
Success Rate
< 10 sec
Typical solving time
Custom plan
Unlimited solving
Custom quote
Per 1,000

How to Solve Cloudflare Turnstile

CaptchaAI provides automated Cloudflare Turnstile solving for developers and automation systems. 
Our Cloudflare Turnstile solver allows you to solve Cloudflare Turnstile and bypass Cloudflare Turnstile verification using a simple API workflow.

Step 1: Locate the Site Key

Find the Turnstile site key from the webpage:

  1. Inspect element code on the page where Turnstile appears
  2. Look for data-sitekey attribute in the div element
  3. Or find it in turnstile.render() JavaScript call:
PYTHON
turnstile.render('#challengeContainer', {
  sitekey: '3x00000000000000000000FF'
});

Step 2: Submit the Task to CaptchaAI

Send a GET request to https://ocr.captchaai.com/in.php with the sitekey and page URL:

PYTHON
import requests

# Submit the captcha task
params = {
    'key': 'YOUR_API_KEY',
    'method': 'turnstile',
    'sitekey': '3x00000000000000000000FF',
    'pageurl': 'https://example.com/page',
    'json': '1'
}

response = requests.get('https://ocr.captchaai.com/in.php', params=params)
result = response.json()
task_id = result['request']
print(f"Task ID: {task_id}")

Step 3: Retrieve the Solution

Wait 10-15 seconds, then poll for the result using a GET request to https://ocr.captchaai.com/res.php:

PYTHON
import time

time.sleep(10)  # Wait 10 seconds

params = {
    'key': 'YOUR_API_KEY',
    'action': 'get',
    'id': task_id,
    'json': '1'
}

response = requests.get('https://ocr.captchaai.com/res.php', params=params)
result = response.json()

if result['status'] == 1:
    token = result['request']
    print(f"Solution Token: {token}")

Step 4: Inject the Token

Inject the token into the hidden field and submit the form:

PYTHON
# Using Selenium
from selenium import webdriver

driver = webdriver.Chrome()
driver.get('https://example.com/page')

# Inject the token into Turnstile field
driver.execute_script(f'''
    document.querySelector('[name="cf-turnstile-response"]').value = "{token}";
''')

# Submit the form
driver.find_element_by_tag_name('form').submit()

Developer Quick Start

Solve Cloudflare Turnstile Using CaptchaAI API

Integrate Cloudflare Turnstile solving easily using the CaptchaAI API.
Use ready-to-run examples to automate Cloudflare Turnstile verification flows quickly

import requests
import time

API_KEY = "YOUR_API_KEY_HERE"
SITE_KEY = "0x4AAAAAAAChNiVJM_WtShFf"
PAGE_URL = "https://app.nodecraft.com/login"

# Submit captcha
response = requests.post("https://ocr.captchaai.com/in.php", data={
    'key': API_KEY,
    'method': 'turnstile',
    'sitekey': SITE_KEY,
    'pageurl': PAGE_URL,
    'json': 1
})

task_id = response.json()['request']
print(f"Task ID: {task_id}")

# Wait and get result
time.sleep(20)
while True:
    result = requests.get("https://ocr.captchaai.com/res.php", params={
        'key': API_KEY,
        'action': 'get',
        'id': task_id,
        'json': 1
    }).json()
    
    if result['status'] == 1:
        print(f"Token: {result['request']}")
        break
    time.sleep(5)
const axios = require('axios');

const API_KEY = 'YOUR_API_KEY_HERE';
const SITE_KEY = '0x4AAAAAAAChNiVJM_WtShFf';
const PAGE_URL = 'https://app.nodecraft.com/login';

async function solveCaptcha() {
  // Submit captcha
  const formData = new URLSearchParams({
    key: API_KEY,
    method: 'turnstile',
    sitekey: SITE_KEY,
    pageurl: PAGE_URL,
    json: 1
  });
  
  const submitRes = await axios.post('https://ocr.captchaai.com/in.php', formData);
  const taskId = submitRes.data.request;
  console.log(`Task ID: ${taskId}`);
  
  // Wait and get result
  await new Promise(resolve => setTimeout(resolve, 20000));
  
  while (true) {
    const result = await axios.get('https://ocr.captchaai.com/res.php', {
      params: { key: API_KEY, action: 'get', id: taskId, json: 1 }
    });
    
    if (result.data.status === 1) {
      console.log(`Token: ${result.data.request}`);
      break;
    }
    await new Promise(resolve => setTimeout(resolve, 5000));
  }
}

solveCaptcha();
<?php

$API_KEY = 'YOUR_API_KEY_HERE';
$SITE_KEY = '0x4AAAAAAAChNiVJM_WtShFf';
$PAGE_URL = 'https://app.nodecraft.com/login';

// Submit captcha
$ch = curl_init('https://ocr.captchaai.com/in.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
    'key' => $API_KEY,
    'method' => 'turnstile',
    'sitekey' => $SITE_KEY,
    'pageurl' => $PAGE_URL,
    'json' => 1
]));

$response = json_decode(curl_exec($ch), true);
curl_close($ch);

$taskId = $response['request'];
echo "Task ID: $taskId\n";

// Wait and get result
sleep(20);

while (true) {
    $ch = curl_init('https://ocr.captchaai.com/res.php?' . http_build_query([
        'key' => $API_KEY,
        'action' => 'get',
        'id' => $taskId,
        'json' => 1
    ]));
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    $result = json_decode(curl_exec($ch), true);
    curl_close($ch);
    
    if ($result['status'] == 1) {
        echo "Token: " . $result['request'] . "\n";
        break;
    }
    sleep(5);
}

?>

FAQ

Frequently Asked Questions

Cloudflare Turnstile can be solved by sending required challenge parameters to the API to generate a valid verification token.

Turnstile combines behavioral signals and lightweight challenges to validate users without traditional CAPTCHA images.

Failures may occur due to incorrect token handling, expired challenges, or missing request parameters.

Cloudflare Turnstile is a token-based CAPTCHA alternative designed to minimize user interaction, while Cloudflare Challenge requires generating clearance (cf_clearance) to access protected pages.

Need more help? Check CaptchaAI Help Center

channel avatar
CaptchaAI
online

Welcome 👋

Contact Us On Telegram!

Contact Team
Telegram