Documentation
API reference and integration guide
OverviewFunCaptchaFunCaptcha ProxylessFunCaptcha BDACastlereCAPTCHA v2reCAPTCHA v2 EnterprisereCAPTCHA v3reCAPTCHA v3 EnterpriseTurnstilehCaptchaCloudflareImage→TextMath ImageFC ClassificationDataDome
Cloudflare Turnstile
Price per 1000 successful solves:$1.00 / 1k
task parameters
HTTP
POST https://api.funsolver.com/createTask
Content-Type: application/json
{
"clientKey": "fsk_abc...",
"task": {
"type": "TurnstileTask",
"websiteURL": "https://example.com/login",
"websitePublicKey": "0x4AAAAAAA...",
"proxy": "http://user:pass@host:port",
"metadata": { "action": "login" }
}
}typestringrequired
"TurnstileTask"websiteURLstringrequired
URL of the page hosting the Turnstile widget (domain context for the sitekey).
websitePublicKeystringrequired
Turnstile site key (starts with 0x...).
proxystringrequired
Proxy as
http://user:pass@host:port. Required. Schemes: http, https, socks5.metadata.actionstring
The widget's
data-action (or action in turnstile.render). Pass it if the site sets one: the token is issued for that action and the site checks it. One page can have several widgets with different actions (e.g. login_alias and login_password). A top-level action in task is accepted too.metadata.cdatastring
The widget's
data-cdata (cData in turnstile.render), if the site sets one.getTaskResult response
JSON
{
"errorId": 0,
"status": "ready",
"solution": {
"token": "0.aBcD...",
"userAgent": "Mozilla/5.0 ..."
},
"processingTime": 5.1
}solution.token is the Turnstile widget token (cf-turnstile-response, format 1.payload.signature.hash). Submit it with the form or pass it to the site's API. For the cf_clearance cookie use CloudflareTask.
Spotted an error? Tell support.
For AI agents: machine-readable reference — /llms.txt