
Cloudflare Turnstile Solution
Cloudflare CAPTCHA is a human verification system provided by Cloudflare that distinguishes between real users and bots visiting a website in order to defend against malicious traffic and abuse.
Types of Cloudflare Captcha
Interactive Captcha
Features
High visual complexity, noticeable user perceptionMethod
Users actively complete specific tasks (such as identifying images or entering text)Turnstile Captcha
Features
Privacy first, adaptive risk controlMethod
Invisible mode: Silent background analysis of behavioural data (cursor trajectory, device fingerprint), zero user interaction
Challenge mode: Pop-up micro-interaction challenge (such as clicking a checkbox)
JavaScript Challenge
Features
Lightweight defence, environment detection, cookie dependencyMethod
Silent execution of lightweight JS code in the front end
Proof of Work Captcha
Features
Depends on the Apple ecosystem, high securityMethod
Requires the user end to complete the computing task
How To Use Extensions
Solution by clicks or tokens
Solution by clicks or tokens
How To Use API
Sign Up on the CapUnlock
Copy your API key into the software
Send verification code for identification
Get fast by passed captcha
import requests
import time
import json
# API Configuration
API_KEY = "your_api_key_here" # Replace with your API key
BASE_URL = "https://dev.capunlock.com/openapi"
def create_task():
"""Create task"""
url = f"{BASE_URL}/task/create"
headers = {
"Content-Type": "application/json"
}
data = {
"api_key": API_KEY,
"type": "reCaptcha_v2",
"website_key": "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-",
"website_url": "https://www.google.com/recaptcha/api2/demo"
}
response = requests.post(url, headers=headers, json=data)
result = response.json()
if result.get("code") == 0:
print(f"Task created successfully, Task ID: {result['data']['task_id']}")
return result['data']['task_id']
else:
print(f"Task creation failed: {result.get('message')}")
return None
def get_task_result(task_id):
"""Get task result"""
url = f"{BASE_URL}/task/query"
params = {
"api_key": API_KEY,
"task_id": task_id
}
# Polling for results
max_attempts = 30
for attempt in range(max_attempts):
response = requests.get(url, params=params)
result = response.json()
if result.get("code") == 0:
if result['data']['status'] == 'completed':
print(f"Task completed, Result: {result['data']['result']}")
return result['data']['result']
elif result['data']['status'] == 'failed':
print(f"Task failed: {result['data'].get('error_message')}")
return None
else:
print(f"Task in progress... (Attempt {attempt + 1}/{max_attempts})")
time.sleep(2)
else:
print(f"Query failed: {result.get('message')}")
return None
print("Task timeout")
return None
# Complete workflow example
if __name__ == "__main__":
# Create task
task_id = create_task()
if task_id:
# Get task result
result = get_task_result(task_id)
if result:
print(f"Final result: {result}")
Why Choose CapUnlock
Compatibility
CapUnlock is API compatible with common manual captcha recognition services
Flexible Integration
Provides clean API, Chrome and Firefox extensions
Al-Powered
CapUnlock uses Al for fully automated captcha parsing
Transparent Pricing
Pay only for the cost of a successfully recognised captcha, no hidden charges
Stability
Automated captcha recognition maintains stable performance under high loads
Trustworthy
Fast updates, chosen and trusted by more than 1,000 organisations worldwide
Supported Captchas
The product integrates seamlessly with the system, provides multilingual support and ready-to-use code examples, helping web projects get started quickly.