Documentation
API reference and integration guide
OverviewFunCaptchaFunCaptcha ProxylessFunCaptcha BDACastlereCAPTCHA v2reCAPTCHA v2 EnterprisereCAPTCHA v3reCAPTCHA v3 EnterpriseTurnstilehCaptchaCloudflareImage→TextMath ImageFC ClassificationDataDome
Cloudflare Challenge
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": "CloudflareTask",
"websiteURL": "https://example.com/",
"proxy": "http://user:pass@host:port",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36"
}
}typestringrequired
"CloudflareTask"websiteURLstringrequired
URL of the page behind the Cloudflare challenge.
proxystringrequired
Proxy as
http://user:pass@host:port. Required — cf_clearance binds to the IP. Use a sticky-session proxy: the same exit IP for the solve and for your later requests to the site. Schemes: http, https, socks5.userAgentstring
The User-Agent of your browser or HTTP client. Only desktop Chrome on Windows is supported. The cookie is issued for this UA. If omitted, use
solution.userAgent from the response.htmlstring
The site's response to your request — the "Just a moment…" page (usually status 403), fetched through the same proxy. Optional; needed for some sites. Fetch it again for every task.
getTaskResult response
JSON
{
"errorId": 0,
"status": "ready",
"solution": {
"token": "cf_clearance-cookie-value",
"userAgent": "Mozilla/5.0 ...",
"cookies": { "cf_clearance": "cf_clearance-cookie-value" }
},
"processingTime": 6.2
}solution.token is the cf_clearance cookie value. solution.cookies holds all site cookies issued during the challenge. Send your requests from the same IP (proxy) and with the User-Agent from solution.userAgent, or Cloudflare will reject the cookie.
Spotted an error? Tell support.
For AI agents: machine-readable reference — /llms.txt