Solution Cloudflare Turnstile (BETA)
Cloudflare Turnstile, quite popular and looks like this:
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:
- 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
Parameter | Type | Required | Description |
---|---|---|---|
key | String | Yes | You can see the key here |
method | String | Yes | turnstile - determines what you solved Cloudflare Turnstile |
sitekey | String | Yes | The value of the data-sitekey parameter you found in the page code For example 1x00000000000000000000AA |
pageurl | String | Yes | URL of the page you are solving Cloudflare Turnstile For example https://react-turnstile.vercel.app/basic |
json | Number Default: 0 | No | 0 — 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
Parameter | Type | Required | Description |
---|---|---|---|
key | String | Yes | The key can be viewed here |
action | String | Yes | get — get response |
id | Number | Yes | ID of captcha returned by in.php. |
json | Number By default: 0 | No | 0 — the server will return a response in plain text 1 — the server will return a response in JSON format |
Request/response example
Request example
POST http://api2.cap.guru/res.php
Host: api2.cap.guru
Content-Type: application/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
{
"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