Cloudflare Turnstile Solver: API Guide
A Cloudflare Turnstile solver returns a valid turnstile token that your automation can drop into the cf-turnstile-response field so a legitimate form submission passes verification. This guide explains what Turnstile actually is, how it differs from Cloudflare's full-page challenge, and how to solve it programmatically with the OMOCaptcha API using complete, copy-pasteable Python examples.
What is Cloudflare Turnstile?
Cloudflare Turnstile is Cloudflare's privacy-first CAPTCHA alternative. Instead of forcing users to click grids of traffic lights, it runs a set of lightweight, often invisible browser checks and issues a short-lived token when it is satisfied the visitor is human. It is a drop-in replacement for reCAPTCHA and hCaptcha, and site owners embed it as a widget on login, signup, and contact forms.
Turnstile is identified by a sitekey that starts with 0x... (for example 0x4AAAAAAA...). On success the widget writes its token into a hidden input named cf-turnstile-response. Your job as an automation engineer is to reproduce that token for the correct page. A captcha solver automates that reproduction step, so you do not have to reverse-engineer Turnstile's browser checks by hand.
Turnstile vs. the Cloudflare interstitial challenge
This is the single most common point of confusion, so it is worth stating plainly:
Cloudflare Turnstile:
- What it is: a widget you embed on a form
- Output: a turnstile token in cf-turnstile-response
- Where it lives: inside your HTML