Two products, two outputs
Turnstile is a widget. It returns a token that a page puts into a form field, usually cf-turnstile-response. The token is short-lived and tied to the widget configuration, such as the sitekey and action.
Cloudflare Challenge is the interstitial page that appears before the site loads. It does not return a form token. It sets a cf_clearance cookie after the browser passes the challenge. That cookie is the thing you replay.
The names are close enough that integrations mix them up. The failure is easy to spot: a Turnstile token in a cookie jar does nothing, and a clearance cookie in a form field does nothing.
What it is
- Turnstile
- Widget
- Challenge
- Interstitial page
Output
- Turnstile
- Token
- Challenge
- cf_clearance cookie set
Typical field
- Turnstile
- cf-turnstile-response
- Challenge
- Cookie header
Bound to
- Turnstile
- Sitekey, action, token lifetime
- Challenge
- IP, user agent, often TLS fingerprint
Solvepass type
- Turnstile
- cloudflare_turnstile
- Challenge
- cloudflare_challenge
Why the clearance is bound
Cloudflare issues clearance for a specific network and browser identity. If you solve on one proxy IP and replay from another, the cookie is no longer valid. If you change the user agent, the same thing happens. TLS fingerprinting makes it worse: a different client stack can invalidate a cookie even when the IP and user agent match.
This is why the Challenge task requires a proxy. The API returns the cookies, the user agent, and the proxy IP used for the solve. Treat all three as one credential.
{
"cookies": [
{
"name": "cf_clearance",
"value": "...",
"domain": ".example.com",
"path": "/"
}
],
"user_agent": "Mozilla/5.0 ...",
"proxy_ip": "203.0.113.10"
}How to use each one
For Turnstile, create a token task, poll it, and put the token in the field the page expects. If the page uses a callback, pass the token to the callback instead of writing the field directly.
For Challenge, create a task with the page URL and the proxy you will reuse. When it completes, apply the cookies to your HTTP client or browser context and send the same user agent. Do not rotate the proxy between the solve and the replay.
curl -X POST https://api.solvepass.com/v1/tasks \
-H "Authorization: Bearer $SOLVEPASS_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "cloudflare_turnstile",
"sitekey": "0x4...",
"pageurl": "https://example.com/login"
}'The failure modes to check first
If a Turnstile token is rejected, check the sitekey, the action, and whether the page expects the token in a field or a callback. If a Challenge cookie is rejected, check the IP, the user agent, and the client TLS stack before you blame the solver.
Do not retry a failed Challenge task with a new proxy. That creates a new identity and a new challenge. Retry with the same proxy and user agent, or create a new task and accept that the clearance is new.
- Turnstile: wrong field name, wrong sitekey, expired token, missing action.
- Challenge: different IP, different user agent, different TLS client, expired cookie.
- Both: the target changed its configuration after the solve.