Captcha Token•Token & Cookie Bypass~1.2s avg99.2% accuracy$1.10 / 1k
Cloudflare Turnstile Token Solver
POST
https://api.byecap.org/api/v1/createTaskBypass standalone Cloudflare Turnstile widgets (Managed, Non-Interactive, and Invisible modes) in ~1.2 seconds without launching a browser. Supports custom action and cdata bindings.
Facing a full-page Cloudflare 5-second interstitial ("Just a moment...") that requires a cf_clearance cookie instead?View Cloudflare 5s Challenge Guide →
Live Cloudflare Turnstile Solving Preview
Automated non-interactive Turnstile verification returning a ready cf-turnstile-response token.
Email
name@example.com
Verifying...
Verify you are human
Success!
CLOUDFLARE
Privacy • Terms
Log in
Supported Task Types & Modes
| Task Type | Mode | Recommended For | Rate / 1k |
|---|---|---|---|
| AntiTurnstileTaskProxyless | Proxyless (Recommended) | Standalone Turnstile widgets on login, signup, and checkout forms (alias: TurnstileTaskProxyless) | $1.10 |
| TurnstileTask | With Proxy | Targets validating that the Turnstile token IP matches your HTTP submission proxy | $1.20 |
How to Locate Required Parameters
- Inspect the page DOM for .cf-turnstile or search Network requests for challenges.cloudflare.com/turnstile/v0/api.js.
- Copy the sitekey starting with 0x4... from data-sitekey or turnstile.render(el, { sitekey }).
- Check if the widget specifies data-action or data-cdata (or passes action / cdata inside turnstile.render). If present, include them in metadata—otherwise Cloudflare rejects the token on backend siteverify!
- Hook window.turnstile.render before page scripts execute if you need to capture dynamic cdata and the JavaScript callback function.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| task.type | string | Required | Use "AntiTurnstileTaskProxyless" (also accepts "TurnstileTaskProxyless" or "token_turnstile"). Example: "AntiTurnstileTaskProxyless" |
| task.websiteURL | string | Required | Exact URL of the page rendering the Turnstile widget. Example: "https://example.com/login" |
| task.websiteKey | string | Required | Cloudflare Turnstile public sitekey (0x4...). Example: "0x4AAAAAAADnPIDROrmt1Wwj" |
| task.metadata.action | string | Optional | Value of data-action or turnstile.render({ action }). Max 32 alphanumeric/underscore/hyphen chars. Example: "login" |
| task.metadata.cdata | string | Optional | Custom customer payload from data-cdata or turnstile.render({ cdata }). Max 255 chars. Example: "session_nonce_88219a" |
| task.proxy | string | Optional | Optional sticky HTTP/SOCKS5 proxy (required only when using TurnstileTask). Example: "http://user:pass@198.51.100.12:8080" |
Request Examples
Create & Poll Task
curl -X POST https://api.byecap.org/api/v1/createTask \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"task": {
"type": "AntiTurnstileTaskProxyless",
"websiteURL": "https://example.com/login",
"websiteKey": "0x4AAAAAAADnPIDROrmt1Wwj",
"metadata": {
"action": "login",
"cdata": "0000-1111-2222-3333-example"
}
}
}'Response Format
200 OK — Ready Solution
{
"errorId": 0,
"taskId": "92a4c11e-4b70-48aa-9f02-1c4892a8e110",
"status": "ready",
"solution": {
"token": "0.aB9xK4mN...verified_turnstile_token",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36..."
}
}| Response Field | Type | Description |
|---|---|---|
| solution.token | string | Single-use Turnstile token (0.xxxx...) valid for up to 300 seconds. Submit as cf-turnstile-response. |
| solution.userAgent | string | Recommended User-Agent header to send alongside your HTTP POST submission. |
Capturing Turnstile Parameters & Callback via Playwright addInitScript
Browser / Client Integration
// Inject BEFORE navigating so Turnstile does not auto-execute and you capture action/cdata/callback:
await page.addInitScript(() => {
const iv = setInterval(() => {
if (window.turnstile) {
clearInterval(iv);
window.turnstile.render = (container, params) => {
window.__turnstileParams = params; // { sitekey, action, cdata, callback }
return "intercepted-widget-id";
};
}
}, 10);
});
// Once ByeCap returns solved.solution.token:
await page.evaluate((token) => {
const input = document.querySelector('input[name="cf-turnstile-response"]');
if (input) input.value = token;
if (window.__turnstileParams?.callback) window.__turnstileParams.callback(token);
}, solved.solution.token);Error Codes & Troubleshooting
| Error Code | Common Cause | Resolution |
|---|---|---|
| ERROR_TURNSTILE_CHALLENGE_PAGE | Target URL is a Cloudflare 5s IUAM interstitial page rather than a standalone Turnstile widget. | Use AntiCloudflareTask (/docs/token/cloudflare-challenge) with a sticky proxy to obtain cf_clearance. |
| SITEVERIFY_CDATA_MISMATCH | Token solved cleanly, but target server rejected it because dynamic cdata or action was omitted. | Hook window.turnstile.render as shown above and forward exact params.action and params.cdata. |
Best Practices & Billing Protection
- Turnstile tokens are strictly single-use and remain valid for 300 seconds (5 minutes).
- Do not confuse standalone Turnstile (input name="cf-turnstile-response") with Cloudflare Challenge 5s (cookie cf_clearance).
- All failed or unsolvable Turnstile tasks receive an automatic 100% wallet/quota refund.
Need custom concurrency or a dedicated model? View Pricing & Enterprise Plans →