Cloudflare Turnstile 验证码求解器

Cloudflare是什么?
Cloudflare 采用各种技术来检测和减少不需要的流量。 其中包括 Cloudflare Challenge,它通常涉及 JavaScript 挑战或 CAPTCHA 测试,以及 Turnstile,这是一种更加用户友好的 CAPTCHA,可最大限度地减少用户交互。
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 最佳解决方案 - CapSolver
CapSolver是绕过Cloudflare Turnstile的最便宜和最快速的解决方案。
CapSolver使用基于人工智能的验证码解决算法,具有更快的解决速度和大幅降低的成本,为开发者提供出色的体验。
高度可靠
我们在同类供应商中拥有最快的更新速度。
没有风险
您只需支付已解决的验证码费用。严格的合作审查将禁止任何非法活动。
利用人工智能技术驱动
我们使用人工智能进行全自动验证码解决。
兼容性
CapSolver与常见的手动验证码识别服务的API兼容。
多样化解决方案
CapSolver提供API服务和Chrome扩展。
值得信赖
超过1000个平台已经集成了我们的API。

使用CapSolver解决验证码问题的方法如下:
在使用CapSolver服务后,当用户遇到验证码问题时,他们向CapSolver发送请求。收到相应验证码问题的请求后,CapSolver会高效快速地为用户解决验证码问题。
AntiTurnstileTaskProxyLess
如何绕过Cloudflare Turnstile-API指南
CapSolver自动验证码解决服务可以轻松绕过Cloudflare Turnstile。CapSolver提供两种验证码解决服务,帮助您解决Cloudflare Turnstile。
其中之一的服务是使用 CapSolver's API 另一个服务是在Chrome中下载 扩展程序 在Chrome中
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
txt
POST https://api.capsolver.com/createTask
Host: api.capsolver.com
Content-Type: application/json
json lines
{
"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
json lines
{
"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
txt
POST https://api.capsolver.com/getTaskResult
Host: api.capsolver.com
Content-Type: application/json
json lines
{
"clientKey": "YOUR_API_KEY",
"taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006"
}
Example Response
json lines
{
"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"
}
}
使用CapSolver SDK解决Cloudflare Turnstile
# 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
}
})

我们的核心是倡导以合乎道德的方式使用技术来促进人类福祉,并坚决反对非法行为和不当使用我们的解决方案。 我们提倡负责任地聚合可公开访问的数据,以丰富人类的生存,同时强烈谴责未经适当同意非法收集敏感数据的行为。 如果您遇到任何人利用我们的平台,我们强烈建议您举报此类不当行为。 为了增强信任并赋予用户更大的自主权和知识,我们引入了专门的隐私中心,旨在为个人提供增强的工具和对其数据权利的洞察。