Address: getTaskResult
Method: POST
Content-type: application-json
| Property | Type | Required | Purpose |
|---|---|---|---|
| clientKey | String | Yes | |
| taskId | Integer | Yes |
curl -i -H "Accept: application/json" \
-H "Content-Type: application/json" \
-X POST -d '{
"clientKey":"YOUR_API_KEY",
"taskId":12345
}' getTaskResult| Property | Type | Purpose |
|---|---|---|
| errorId | Integer | Error identifier. 0 - no errors, operation completed successfully. >0 - error identifier. Error code with short description are available in errorCode and errorDescription properties. |
| errorCode | String | An error code won't be included in the output if the request produced no errors. |
| errorDescription | String | Short description of the error |
| status | String | processing - the task is not ready yet ready - the task is complete; you'll find a solution in the solution property |
| solution | Object | Task result data. Different for each type of task. |
| cost | Double | Cost of the task in USD. |
{
"errorId":0,
"status":"ready",
"solution": {
"gRecaptchaResponse":"3AHJ_VuvYIBNBW5yyv0zRYJ78VkOKvhKj9_xGBJKnQimF72rfoq3Iy-DyGHMwLAo6a3..."
},
"cost":"0.0005"
}