Cloudflare Turnstile solver
that returns a token in one call.
Turnstile mixes a proof-of-work challenge with session signals. Send the sitekey and page URL and get back a cf-turnstile-response token.
- From
- $0.00435 / solve
- Billed
- On success
- Widget modes
- 3
1{2 "status": "ready",3 "solution": {4 "token": "0.hYc4dkE9...",5 "userAgent": "Mozilla/5.0 ..."6 },7 "cost": "0.00435"8}and automation teams
Every Turnstile mode,
one request shape.
Turnstile is everywhere Cloudflare protects a form, and it binds each token to the browser that earned it. All three widget modes return the same token field.
Managed, non-interactive and invisible widgets resolve through a single task type.
Turnstile binds the token to a user agent. We return the one used so you can match it exactly on submission.
Residential or datacenter — the token is minted behind the proxy you supply.
Run solves in parallel from your own queue, and pay only for the ones that succeed.
Pass custom cData and action values for sites that scope tokens to a specific interaction.
Handles both the embedded widget and the standalone interstitial challenge page.
How to solve Cloudflare Turnstile with the API
Turnstile tokens are bound to the browser that earned them, so the steps that matter most are the proxy and the user agent.
- 01Find the sitekey.
Look for the cf-turnstile element and its data-sitekey attribute, or the sitekey passed to turnstile.render(). Turnstile sitekeys usually start with 0x4AAAA. Note any data-action and data-cdata values too.
- 02Send the task.
POST /v1/solve with your API key and a JSON body with type turnstile, url and sitekey, plus action and cData if the widget sets them. Add your proxy so the token is minted from the IP that will submit it.
- 03Use the returned user agent.
The solution carries the token and the userAgent it was minted with. Send that exact user agent on the request that submits the token.
- 04Submit the token.
Put the token in the cf-turnstile-response hidden field, or pass it to the page's callback. Cloudflare accepts each token once and for up to 300 seconds.
What Cloudflare Turnstile checks
Turnstile replaces image puzzles with checks that run in the browser.
Turnstile runs small JavaScript challenges in the browser, including proof-of-work and checks on browser APIs, and only sometimes asks the visitor to click.
Managed shows a checkbox only when needed, non-interactive shows a spinner with nothing to click, and invisible shows nothing at all.
The site sends the token to Cloudflare's siteverify endpoint, which returns success, the hostname and the action, and rejects tokens that were already used or have expired.
A Cloudflare 403 or error 1020 is a firewall rule blocking your IP or request, not a captcha. Solving Turnstile does not lift it; a different proxy or request pattern does.
Errors you may see, and what to do
Every API error has a stable code. Anything that does not return a usable token is not billed.
The sitekey was rejected for that page. Take it from the widget on the same page you send as url.
The proxy string is malformed or the proxy refused the connection. Use http://user:pass@host:port, or a socks4:// or socks5:// address.
The challenge could not be solved this time. Send the task again; the failed attempt was not billed.
Most often the IP or user agent on submission differs from the solve, or the token was used twice or after 300 seconds.
Guides that help
Easily connect with your AI agents
Expose solving as a tool, and an agent clears challenges itself instead of stalling.
One tool. Wrap a single HTTP call and any agent framework can use it.
@tool
def solve_captcha(kind: str, sitekey: str, url: str) -> str:
"""Call when a captcha blocks the task."""
return solve({"type": kind, "sitekey": sitekey,
"url": url})["token"]A typed result. Something the model can branch on, with the cost of every call.
{
"status": "ready",
"solution": { "token": "03AGdBq25S…" },
"cost": "0.00598"
}Great for side projects and small tools. Fast, simple, no overkill.
Perfect for scaling with less effort. Simple, solid, dependable.
Built for high volume and speed. CaptchaNo at full force.
Actual price may vary based on the exchange rate in place between USD and local currency at the time of payment processing or invoicing. Prices exclude all taxes, levies and duties and are paid in USD.
Scale Plans
High-volume plans for teams that need more power and dedicated support. Get access to higher concurrency, volume pricing and priority support.
For teams scaling their data pipelines
Power at your pace with custom solutions
Frequently asked questions
Everything you need to know about CaptchaNo Cloudflare Turnstile.
Ready to solve Turnstile?
Every widget mode, billed per successful solve with no monthly minimum.