Prosopo キャプチャソルバー
PopularCaptchaImageタスクタイプを使い、Prosopoの画像分類チャレンジを解決します。チャレンジの画像と指示文を送信してください。
タスクを作成
POST
/createTaskホストapi.captchasonic.com
Content-Typeapplication/json
{
"apiKey": "YOUR_API_KEY",
"task": {
"type": "PopularCaptchaImage",
"questionType": "objectClick",
"question": "Select in this order: bus, car, tree",
"queries": ["BASE64_IMAGE"],
"websiteURL": "https://example.com"
}
}
レスポンス
{
"code": 200,
"msg": "",
"answers": [[{ "x": 120, "y": 85 }, { "x": 240, "y": 150 }, { "x": 60, "y": 200 }]],
"questionType": "objectClick"
}
タスクのパラメーター
| プロパティ | 型 | 必須 | 説明 |
|---|---|---|---|
type | string | ✅ | PopularCaptchaImage |
questionType | string | ✅ | ProsopoのチャレンジではobjectClick |
question | string | ✅ | チャレンジの指示文 |
queries | string[] | ✅ | base64エンコードされたチャレンジ画像 |
websiteURL | string | いいえ | 対象サイトのURL |