版本比较

密钥

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

请求节点: Request node:

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

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

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

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

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

请求参数

...

参数

...

类型

...

必须

...

说明

...

clientKey

...

string

...

...

  1. Request limit: 120 requests per task.

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

Request parameters

Parameter

Type

Required

Purpose

clientKey

String

Yes

Unique key of your account.

taskId

string

通过 createTask 方法创建得到的 ID

...

Yes

ID which was obtained in createTask method.

Request example:

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

响应数据Response structure

参数Parameters

类型Type

说明Description

errorId

Integer

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

errorCode

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

Error code.Check out errors list.

errorDescription

string错误详细描述

Error description

status

String

processing - 正在识别中task is not ready yet.
ready - 识别完成,在solution参数中找到结果task complete, solution object can be found in solution property

solution

Object

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

...

Task result data. Different for each type of task.

Response example

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

...