Loading...
Loading...
Poll for the result of a previously created task.
/getTaskResult| Field | Type | Required | Description |
|---|---|---|---|
| clientKey | string | Yes | Your API key |
| taskId | string | Yes | The taskId returned by createTask |
{
"errorId": 0,
"status": "processing"
}The task is still being solved. Poll again in 3–5 seconds.
{
"errorId": 0,
"status": "ready",
"solution": {
"gRecaptchaResponse": "P1_eyJhbGciOiJIUzI1NiIs...",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 ..."
}
}| Field | Type | Description |
|---|---|---|
| solution.gRecaptchaResponse | string | The solved hCaptcha token. Submit this to the target site. |
| solution.userAgent | string | The User-Agent used during solving. Include in your request headers. |
{
"errorId": 1,
"errorCode": "ERROR_CAPTCHA_UNSOLVABLE",
"errorDescription": "solve failed (pass=False, status=200)"
}The captcha could not be solved. Create a new task to retry.