getTaskResult : request task result
Method address: https://api.anti-captcha.com/getTaskResult
Request format: JSON POST
Request parameters:
Parameter | Type | Required | Purpose |
---|---|---|---|
clientKey | String | Yes | The client's API key, can be found here |
taskId | Integer | Yes | ID which was obtained in createTask method. |
Response structure
Property | Type | Purpose |
---|---|---|
errorId | Integer | Error identificator. 0 - no errors, the task has been successfully created, task ID located in taskId property >1 - error identificator. Error code and short information transferred in errorCode and errorDescription properties |
errorCode | String | Error code. Check out errors list. |
errorDescription | String | Short information describing error |
status | String | processing - task is not ready yet ready - task complete, solution object can be found in solution property |
solution | Object | Task result data. Different for each type of task. |
cost | Double | Task cost in USD. |
ip | String | IP from which the task was created. |
createTime | Integer | UNIX Timestamp of task creation. |
endTime | Integer | UNIX Timestamp of task completion. |
solveCount | Integer | Number of workers who tried to complete your task |