Documentation

Documentation for Cloudflare Solution

The parameters needed for recognition can be obtained using the developer mode in your browser:

Find the sitekey in the page's source code or a JS file. It is usually located in a div element named "data-sitekey" or in the sitekey property. It may also be inside an iframe. https://dash.cloudflare.com/login&sitekey=0x4AAAAAAAJel0iaAR3mgkjp

We need:

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

Key (site-key): 1x00000000000000000000AA

1. Creating a Cloudflare Task

To create a PazlCaptcha task, send a POST request to http://app.botlab.me/in.php. In the request body, pass the data in JSON format:

Request

  • URL: http://app.botlab.me/in.php
  • Method: POST
  • Content-Type: application/json

Request Body (JSON):

  • Key - * Required. Your key from your personal account.
  • method - * Required. In this case, turnstile.
  • pageurl - * Required. The full URL of the page where you are solving Cloudflare Turnstile. For example, https://react-turnstile.vercel.app/basic
  • sitekey - * Required. The value of the data-sitekey parameter that you found in the page's code. For example, 1x00000000000000000000AA
  • app_id - * Optional. Developer's application ID (can be found in the referral system section for developers).
  • json - 0 — the server will return the response as plain text. 1 — the server will return the response in JSON format.
{
  "key": "479395221256448aa59f3a44c62af3ae",
  "method": "turnstile",
  "pageurl": "https://dash.cloudflare.com/login&sitekey=0x4AAAAAAAJel0iaAR3mgkjp",
  "sitekey": "0x4AAAAAAAJel0iaAR3mgkjp",
  "json": 1
}

Response

After successfully creating the task, you will receive a unique task identifier.

{
  "status": 1,
  "request": "74jo66d86de4c1d249a98a883e11df6276a3"
}
  • status - request execution status (1 - success, 0 - error).
  • request - task identifier / error code (id).

2. Getting the Cloudflare Task Results

To get the results of the PazlCaptcha task, send a POST request to http://app.botlab.me/res.php. In the request body, pass the task identifier from the previous request.

Request

  • URL: http://app.botlab.me/res.php
  • Method: POST

Request Body (JSON):

  •    Task ID, received from in.php
    
  •    `action` with value `get` — to get the response
    
  •    key - your key from your personal account
    
  •    json - 0 — the server will return the response as plain text. 1 — the server will return the response in JSON format.
    
{
  "key": "479395221256448aa59f3a44c62af3ae",
  "action": "get",
  "id": "74jo66d86de4c1d249a98a883e11df6276a3",
  "json": 1
}

Response

You will receive the results of the Cloudflare task processing.

{
"status":1,
"request":"03AFY_a8W0B6yEBwfbmzp6OEUr4GYgdREy1DAFvvtyI6FUzf5qY_738XQ9lIFB7huVK9qia1f9z1GyGWRW3HVEzIGU5JrR-DY2xAkVvdH23lbpBqFAvH79Rr4Cs5dsxENk_zoTa1jn70ORvBVfBHA_Fb-s_kqQEpmaxSIwf0fe8FGJjhsBoygXnvrmCnBPTf5ua4LoYSi4f12XcZdyf5dBRYPq4pHBqk5Ic2cj8InwX9ima-v9UKA64ugnIiUNFOB_BCHJ1tieaB-td4_B4MC8gBCzPQwwO5I3IDDaT17JR3uIBKfc70w-2mtDnfPznyT4dHZapWtZizLkGs2BSUsfM4nR9OtjshuYB8lwJkSfz3ynaBYOCE7SBbtVHCsjGgO7YtSI-BArHxUcPQdFILmtnSCvPV5IWEF_NxurJ3QlUMkaNvC6kHCphZZoJXpt8Q5f-Uyi0-bhGd4wjtqRFglyzpn8lEmqkxF2ydlQO1Ketclutd-w5wuuxoDDHJE7d5msHPjXYtVvuFh8A2nyAU4i2I5KfcmdMd3F2g"
}
  • status - request execution status (1 - success, 0 - error).
  • request - the received token.