Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Method address: https://api.anti-captcha.com/getTaskResult 
Request format: JSON POST 

Request parameters:

Parameter
Type
Required
Purpose
clientKeyStringYesThe client's API key, can be found here
taskIdIntegerYesID which was obtained in createTask method.


Code Block
themeMidnight
titleRequest example
{
    "clientKey":"dce6bcbb1a728ea8d563de6d169a2057",
    "taskId": 7654321
}


Response structure

Property
Type
Purpose
errorIdIntegerError 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
errorCodeStringError code. Check out errors list.
errorDescriptionStringShort information describing error
statusStringprocessing - task is not ready yet
ready - task complete, solution object can be found in solution property
solutionSolution type objectObjectTask result data. Different for each type of task.
costDoubleTask cost in USD.
ipStringIP from which the task was created.
createTimeIntegerUNIX Timestamp of task creation.
endTimeIntegerUNIX Timestamp of task completion.
solveCountIntegerNumber of workers who tried to complete your task


Code Block
themeMidnight
titleResponse example
{
    "errorId":0,
    "status":"ready",
    "solution":
        {
            "text":"deditur",
            "url":"http:\/\/61.39.233.233\/1\/147220556452507.jpg"
        },
    "cost":"0.000700",
    "ip":"46.98.54.221",
    "createTime":1472205564,
    "endTime":1472205570,
    "solveCount":"0"
}