createTask
Starts a solve and returns a task ID you use to fetch the result.
POST https://api.silentcap.fun/createTask
Request body
| Field | Type | Description |
|---|---|---|
clientKey Required | string | Your API key. |
task Required | object | The captcha to solve. Its type field decides which other fields it takes. |
Task types
FunCaptchaTaskfor Arkose Labs FunCaptchaTurnstileTaskfor Cloudflare TurnstilePerimeterXTaskfor HUMAN / PerimeterX Bot Defender
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "TurnstileTask",
"websiteURL": "https://example.com/login",
"websiteKey": "0x4AAAAAAA..."
}
}Response
| Field | Type | Description |
|---|---|---|
errorId Required | number | 0 when the task was created. |
taskId Required | string | Pass this to getTaskResult to fetch the token. |
{
"errorId": 0,
"taskId": "b1f2c3d4-5e6f-4a7b-8c9d-0e1f2a3b4c5d"
}The task starts solving as soon as it is created. Wait about a second, then poll getTaskResult.
Common errors
ERROR_KEY_DOES_NOT_EXIST: theclientKeyis wrong.ERROR_ZERO_BALANCE: top up your balance and try again.ERROR_TASK_NOT_SUPPORTED:task.typeis misspelled or unsupported.ERROR_INVALID_TASK_DATA: a required task field is missing or malformed.
See Errors for the full list.