版本比较

密钥

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

请求节点: Request node:

状态
colourGreen
title国际节点INTERNATIONAL NODE
https://api.yescaptcha.com
状态
colourGreen
title国内节点DOMESTIC NODE
https://cn.yescaptcha.com

请求地址: Request address: https://api.yescaptcha.com/getTaskResultgetBalance

请求格式:Request format:POST application/json

  1. 每个任务限制最多120 次请求

  2. 每个任务创建后 5 分钟内可以查询

请求参数

...

参数

...

类型

...

必须

...

  1. Each task is limited to a maximum of 120 requests.

  2. After creating a task, you may query the task within the first 5 minutes.

Request parameters

Parameters

Type

Required

Description

clientKey

string

帐户密钥,可以在个人中心找到true

The clientkey, which can be found in the personal center

taskId

string

通过 createTask 方法创建得到的 ID

...

true

The ID obtained through the createTask method

Request example:

代码块
languagejson
{
    "clientKey":"cc9c18d3e263515c2c072b36a7125eecc078618f",
    "taskId": "f079dfc0-1877-11ec-a7e3-94e6f7355a0b"
}

响应数据Response data

参数Parameters

类型Type

说明Description

errorId

Integer

错误提示: Error message: 0 - 没有错误,1 - 有错误No error, 1 - Error exists

errorCode

string错误代码,点这里查看全部错误列表

Error code, click here to see the complete list of errors

errorDescription

string错误详细描述

Error detailed description

status

String

processing - 正在识别中The recognition process is currently in progress.
ready - 识别完成,在solution参数中找到结果Upon completion of the recognition task, please locate the results within the solution parameter.

solution

Object

识别结果,不同类型的任务结果会有所区别。

...

The recognition results may vary depending on the type of task.

Response example

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

...