Skip to content

Cloudflare Turnstile

Solve a Turnstile widget and receive a challenge token.

Use task type turnstile.

Request data

Field Type Required Description
url string Yes Absolute URL of the page containing the widget
sitekey string Yes Turnstile sitekey, usually beginning with 0x
proxy string Recommended http, https, socks4, or socks5 proxy URL
action string No Widget action, when configured by the site
cdata string No Widget custom data, when configured by the site
task_datajson
{
  "url": "https://example.com/register",
  "sitekey": "0x4AAAAAABs37s-ih7Jepz0J",
  "proxy": "http://user:[email protected]:8080",
  "action": "register",
  "cdata": "very_secure_cdata"
}

The complete request is:

{
  "task_type": "turnstile",
  "task_data": {
    "url": "https://example.com/register",
    "sitekey": "0x4AAAAAABs37s-ih7Jepz0J",
    "proxy": "http://user:[email protected]:8080",
    "action": "register",
    "cdata": "very_secure_cdata"
  }
}

Solution

Field Type Description
token string Solved Turnstile response token
data.solutionjson
{
  "token": "0.ABC123..."
}

Submit this value through the same field or callback the target flow uses for its Turnstile response.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close