Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Request host: https://api.ez-captcha.com

Request api: https://api.ez-captcha.com/getTaskResult

Request format: POST application/json

Result token can be queried within 5 minutes after each task is created

Request Parameters

Parameters

Type

Required

Description

clientKey

string

true

Account client key, which can be found in the personal center

taskId

string

true

The task ID created by the createTask method

Request Example

POST https://api.ez-captcha.com/getTaskResult
Host: ez-captcha.com
Content-Type: application/json
 
{
    "clientKey":"YOUR_API_KEY",
    "taskId": "TASKID OF CREATETASK" // ID created by createTask method
}

Response Data

Parameters

Type

Description

errorId

Integer

Error message: 0 - no error, 1 - error

errorCode

string

Error Code

errorDescription

string

Detailed error description

status

String

processing - task is in progress

ready - task is complete, the result is found in the solution parameter

solution

Object

Task results, different types of task results will be different.

Response Example

{
    "errorId": 0,
    "errorCode": null,
    "errorDescription": null,
    "solution": {
        "gRecaptchaResponse": "03AGdBq25SxXT-pmSeBXjzScW-EiocHwwpwqtk1QXlJnGnUJCZrgjwLLdt7cb0..."
    },
    "status": "ready"
}

  • No labels