reCAPTCHA v2 图像求解器
使用 ReCaptchaV2Image 任务类型在 reCAPTCHA v2 九宫格(汽车、公交车、信号灯等)中选择匹配图片。响应返回正确格子的零基索引。
创建任务
提交 base64 编码的格子图片和题目提示。
POST
/createTaskHostapi.captchasonic.com
Content-Typeapplication/json
{
"apiKey": "YOUR_API_KEY",
"task": {
"type": "ReCaptchaV2Image",
"question": "Select all crosswalks",
"queries": ["BASE64_IMG_1", "BASE64_IMG_2", "BASE64_IMG_3"]
}
}
响应
{
"code": 200,
"msg": "",
"answers": [0, 3, 7]
}
answers包含与题目匹配的图片的零基索引。
任务参数
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
type | string | ✅ | ReCaptchaV2Image 或 ReCaptchaV2Classification |
question | string | ✅ | 挑战文本(例如 "Select all crosswalks") |
queries | string[] | ✅ | base64 编码的九宫格图片 |
API 演练场
POST
Log in to auto-fill your API key
Payload
Response
Hit Send to see response
⌘ + Enter
Parameters
Error Codes
terminal