Execute Task
Execute Task
POST
Execute Task
Authentication
This endpoint requires an API key passed via header.Your API key.
Request Body
The type of challenge to solve. One of:
turnstile, waf, wafauto, datadome.The challenge-specific parameters. The required fields depend on the
task_type — see the task type pages linked below.Supported Task Types
Turnstile
Cloudflare Turnstile CAPTCHA
WAF
Cloudflare WAF challenge
WAF Auto
Cloudflare WAF challenge (automatic)
DataDome
DataDome bot protection
Request Examples
Turnstile
WAF / WAF Auto
DataDome
Response Examples
Successful responses always have this structure:solution object varies by task type:
Error Responses
All errors follow the same format:| Status | Message | Cause |
|---|---|---|
400 | Request body could not be decoded | Malformed JSON or missing required fields |
400 | provided url for task is invalid | The URL in task_data is not a valid URL |
400 | task not found | The task_type value is not recognized |
401 | X-Api-Key header is missing | No X-Api-Key header was sent |
401 | User provided an empty or invalid API key | The API key does not exist |
401 | URL is blacklisted | The target domain is blocked |
402 | insufficient balance | Your account balance is too low for this task |
500 | * (solver related) | The solver encountered an internal error |
504 | task timed out | The solver did not respond within 30 seconds |
Billing
Your balance is debited before the task is sent to the solver. If the solver fails, times out, or returns an error, the charge is automatically refunded — you are only charged for successful solves.