

Melhor Solucionador de Cloudflare Challenge
Solucionador de Cloudflare Challenge
O que é o Cloudflare Challenge?
O Cloudflare Challenge é um mecanismo anti-bot que utiliza desafios de JavaScript, impressões digitais do navegador e CAPTCHA como recurso para detetar e bloquear tráfego automatizado ou suspeito.
Mais sobre o solucionador de Cloudflare ChallengeDemo do Cloudflare Turnstile
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.
Como Resolver Cloudflare Challenge - Guia da API
O serviço do CapSolver ajuda a resolver Cloudflare Challenge facilmente. Disponível via API CapSolver. Registe-se em CapSolver para usar.
Step 1 : Creating a Task
Create the task with the createTask.
In the process of using challenge, we must input websiteURL and websiteKey, other parameters are optional.
Task Object Structure
| Properties | Type | Required | Description |
|---|---|---|---|
| type | String | Required | AntiCloudflareTask |
| websiteURL | String | Required | The address of the target page. |
| proxy | String | Required | Your Static proxy or Sticky proxy. Learn Using proxies |
| userAgent | String | Optional | The user-agent you used to request the target website. Only Chrome's userAgent is supported. |
| html | String | Optional | The response of requesting the target website, it usually contains "Just a moment..." and status code is 403. we need this html for some websites, please be sure to use your sticky proxy to dynamically scrape the HTML every time. |
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": "AntiCloudflareTask",
"websiteURL": "https://www.yourwebsite.com",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36",
"html": "<!DOCTYPE html><html lang="en-US"><head><title>Just a moment...</title>...",
"proxy": "ip:port:user:pass"
}
}
Example Response
json lines
{
"errorId": 0,
"status": "idle",
"taskId": "df944101-64ac-468d-bc9f-41baecc3b8ca"
}
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": "df944101-64ac-468d-bc9f-41baecc3b8ca"
}
Example Response
json lines
{
"errorId": 0,
"taskId": "df944101-64ac-468d-bc9f-41baecc3b8ca",
"status": "ready",
"errorCode": "",
"errorDescription": "",
"solution": {
"cookies": {
"cf_clearance": "Bcg6jNLzTVaa3IsFhtDI.e4_LX8p7q7zFYHF7wiHPo...uya1bbdfwBEi3tNNQpc"
},
"token": "Bcg6jNLzTVaa3IsFhtDI.e4_LX8p7q7zFYHF7wiHPo...uya1bbdfwBEi3tNNQpc",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36"
}
}
Resolver Cloudflare Challenge com o SDK CapSolver
Suporta CAPTCHAs populares
Resolva CAPTCHAs Facilmente com o CapSolver
Esforçamo-nos para tornar a integração dos nossos produtos o mais fácil possível. Com suporte para várias linguagens e exemplos prontos, garantimos um início rápido.


Serviços Populares de Resolução de CAPTCHA que Suportamos

reCAPTCHA v2 / v3
Cloudflare Challenge
AWS WAF
Imagem para Texto
Cloudflare Turnstile
Mais Tipos
Garantindo Conformidade com RegulamentaçõesPara todos os utilizadores

Apoiamos o uso ético da tecnologia e opomo-nos a práticas ilegais. Defendemos a agregação responsável de dados públicos. Se encontrar abusos na nossa plataforma, denuncie. Lançámos um centro de privacidade com ferramentas e informações sobre direitos de dados.