Skip to content

Solution Cloudflare Turnstile (BETA)

Cloudflare Turnstile, quite popular and looks like this:

logo

Often used in forms of authorization and verification on the Cloudflare robot.

How to solve it?

You need (click here for details)

The solution is similar to hCaptcha.

The parameters you need for recognition can be obtained through the developer mode in the browser:

  1. Find the sitekey in the source code of the page or js file. This is usually found in the div element named "data-sitekey" or in the sitekey property. It can also be in an iframe.

https://challenges.cloudflare.com/cdn-cgi/challenge-platform/h/b/turnstile/if/ov2/av0/rcv0/0/iqiy3/1x00000000000000000000AA/light/normal

We need to

Link to the page where to locate Cloudflare Turnstile: https://react-turnstile.vercel.app/basic

Key (site-key): 1x00000000000000000000AA

Sending

http://api2.cap.guru/in.php

ParameterTypeRequiredDescription
keyStringYesYou can see the key here
methodStringYesturnstile - determines what you solved Cloudflare Turnstile
sitekeyStringYesThe value of the data-sitekey parameter you found in the page code
For example 1x00000000000000000000AA
pageurlStringYesURL of the page you are solving Cloudflare Turnstile
For example https://react-turnstile.vercel.app/basic
jsonNumber
Default: 0
No0 — the server will return the answer as plain text
1 - the server will return the answer in the format JSON
Example request:
http://api2.cap.guru/in.php?key=YOUR_APIKEY&method=turnstile&sitekey=1x00000000000000000000AA&pageurl=https://react-turnstile.vercel.app/basic
Example answer

After sending the job to us, you should receive a response if the request is successful:

 'OK|65787087'  and {"status":1,"request":"65787087"}

Option json:

{
 "status":1,
 "request":"65787087"
}

Please read the full list of possible errors in case you do not get the job number.

Getting a response

http://api2.cap.guru/res.php

ParameterTypeRequiredDescription
keyStringYesThe key can be viewed here
actionStringYesget — get response
idNumberYesID of captcha returned by in.php.
jsonNumber
By default: 0
No0 — the server will return a response in plain text
1 — the server will return a response in JSON format
Request/response example

Request example

text
POST  http://api2.cap.guru/res.php 
Host: api2.cap.guru
Content-Type: application/json
json
{
  "key": "YOUR_API_KEY",
  "action": "get",
  "id": "XXXXXXXXXXXXXXXXXX", // for example 65787087
  "json": 1
}

After sending the task to us, you should receive in response 'OK|03 AFY_a8W0B6yEBwfbmzp6OEUr...' or {"status":1,"request":"03 AFY_a8W0B6yEBwfbmzp6OEUr..."} if the request is successful. Please read the full list of possible errors in case you have not received a response.

Sample response

json
{
 "status":1,
 "request":"03AFY_a8W0B6yEBwfbmzp6OEUr4GYgdREy1DAFvvtyI6FUzf5qY_738XQ9lIFB7huVK9qia1f9z1GyGWRW3HVEzIGU5JrR-DY2xAkVvdH23lbpBqFAvH79Rr4Cs5dsxENk_zoTa1jn70ORvBVfBHA_Fb-s_kqQEpmaxSIwf0fe8FGJjhsBoygXnvrmCnBPTf5ua4LoYSi4f12XcZdyf5dBRYPq4pHBqk5Ic2cj8InwX9ima-v9UKA64ugnIiUNFOB_BCHJ1tieaB-td4_B4MC8gBCzPQwwO5I3IDDaT17JR3uIBKfc70w-2mtDnfPznyT4dHZapWtZizLkGs2BSUsfM4nR9OtjshuYB8lwJkSfz3ynaBYOCE7SBbtVHCsjGgO7YtSI-BArHxUcPQdFILmtnSCvPV5IWEF_NxurJ3QlUMkaNvC6kHCphZZoJXpt8Q5f-Uyi0-bhGd4wjtqRFglyzpn8lEmqkxF2ydlQO1Ketclutd-w5wuuxoDDHJE7d5msHPjXYtVvuFh8A2nyAU4i2I5KfcmdMd3F2g"
}

Example query:

https://api2.cap.guru/res.php?key=key&action=get&id=id