求解该验证码类型。
任务类型
ReCaptchaV2Task
处理方式
异步 + 轮询 /getTaskResult
参数
| Field | Type | Required | Notes |
|---|---|---|---|
type |
string | yes | ReCaptchaV2Task |
websiteURL |
string | yes | Public http(s) URL |
websiteKey |
string | yes | Site key |
enterprise |
bool | no | Default false |
isInvisible |
bool | no | Default false |
proxy |
string | no | Browser proxy |
最小请求
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "ReCaptchaV2Task",
"websiteURL": "https://www.example.com/register",
"websiteKey": "SITE_KEY"
}
}成功 solution
{
"gRecaptchaResponse": "TOKEN",
"userAgent": "...",
"expiresInMs": 120000
}典型失败
ERROR_CAPTCHA_UNSOLVABLE, ERROR_BAD_REQUEST, ERROR_TASK_NOT_SUPPORTED