Cloudflare Waiting Room

This is a Cloudflare protection mechanism: the user must wait on average ~3 minutes before accessing the resource:

You can also identify this Cloudflare type via the page header:

Attention!
Use your own proxies for this task.

After solving, you will receive special cookies to add to your browser.
IMPORTANT: Retrieve htmlPageBase64 immediately before creating the task to avoid errors during solving.

Request Parameters

ParameterTypeRequiredDescription
type String Required TurnstileTask
websiteURL String Required The URL of the page containing the check.
websiteKey String Required Cloudflare site key.
cloudflareTaskType String Required wait_room
htmlPageBase64 String Required Base64-encoded HTML page containing <title>Waiting Room powered by Cloudflare</title>
userAgent String Required Browser User-Agent. Pass only the current Windows UA.
proxyType String Required http - regular HTTP/HTTPS proxy;
https - use if http doesn't work;
socks4 - SOCKS4 proxy;
socks5 - SOCKS5 proxy.
proxyAddress String Required Proxy IP address (IPv4/IPv6).
proxyPort Integer Required Proxy port.
proxyLogin String Optional Proxy login.
proxyPassword String Optional Proxy password.

Getting htmlPageBase64

var serializer = new XMLSerializer();
var fullHtml = serializer.serializeToString(document);

var htmlBase64 = btoa(unescape(encodeURIComponent(fullHtml)));
console.log(htmlBase64);

Create Task

Request

POST https://captcha69.com/createTask
Content-Type: application/json

{
  "clientKey": "max1_YOUR_API_KEY",
  "task": {
    "type": "TurnstileTask",
    "websiteURL": "https://example.com",
    "websiteKey": "xxxxxxxxxx",
    "cloudflareTaskType": "wait_room",
    "htmlPageBase64": "PCFET0NUWVBFIGh0...vYm9keT48L2h0bWw+",
    "userAgent": "userAgentPlaceholder",
    "proxyType": "http",
    "proxyAddress": "8.8.8.8",
    "proxyPort": 8080,
    "proxyLogin": "proxyLoginHere",
    "proxyPassword": "proxyPasswordHere"
  }
}

Response

{
  "errorId": 0,
  "taskId": 407533072
}

Get Task Result

Request

POST https://captcha69.com/getTaskResult
Content-Type: application/json

{
  "clientKey": "max1_YOUR_API_KEY",
  "taskId": 407533072
}

Response

{
  "errorId": 0,
  "status": "ready",
  "solution": {
    "cf_clearance": "1tarGvbY2_ZhQdYxpSBloao.FoOn9VtcJtmb_IQ_hCE-1761217338-1.2.1.1-..."
  }
}

Solution Properties

PropertyTypeDescription
cf_clearance String Special Cloudflare cookies that you can set in your browser.