🤖Cloudflare Turnstile & Challenge

Cloudflare Solver Task (Solved with our in-house proxies) & Required Parameters

Rest API Endpoint: https://captcha.datalabs.net/createTask

Creating The Task

POST https://captcha.datalabs.net/createTask
Host: captcha.datalabs.net
Content-Type: application/json

{
  "clientKey": "DATALABS_API_KEY",
  "task": {
    "type": "AntiTurnstileTaskProxyLess",
    "websiteURL": "WEBSITE_URL",
    "websiteKey": "0x4*****************",
    "metadata": {
       "action": "search",  // Optional
       "cdata": "0000-1111-2222-3333-example-cdata"  // Optional
    }
  }
}

Task Parameter Table

Parameters
Required
Description

type

true

GeeTestTaskProxyLess

websiteURL

true

The website address in which you're solving the captcha for.

websiteKey

true

The Cloudflare website key specific to the site you're solving for. Typically starts with 0x4.

metadata.action

false

If available, you must include the value of the data-action attribute.

metadata.cdata

false

If available, you must include the value of the data-cdata attribute.

Task Created Response

{
  "errorId":0,
  "taskId":997993082
}
Parameters
Description

errorId

0: Without error. 1: Error with request.

errorCode

Short code for error type.

errorDescription

More detailed description of the error that occurred.

taskId

Task ID, provided for synchronous tasks to be pushed to /getTaskResult

Retrieving the Solution

POST https://captcha.datalabs.net/getTaskResult
Host: captcha.datalabs.net
Content-Type: application/json

{
  "clientKey": "DATALABS_API_KEY",
  "taskId": "997993082"
}

Successful Solution Response

{
  "errorId": 0,
  "status": "ready",
  "solution": {
    "token": "0.mF74FV8wEufAWOdvOak_x...",
    "type": "turnstile",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Appl..."
  }
}
Parameters
Description

token

The token from the succesful solution.

type

The type of cloudflare challenge/captcha encountered.

userAgent

The user agent in which the solution was solved with.

Last updated