Popular Captcha Solver
Solve object-interaction captchas using the PopularCaptchaImage or PopularClassification task types. The questionType field determines how the challenge is processed.
Supported Modes
questionType | Description | Response Format |
|---|---|---|
objectClassify | Select all matching images from a grid | boolean[] per image |
objectClick | Click on the center of a target object | {x, y}[] coordinates |
objectDrag | Drag puzzle pieces to their correct position | {start, end}[] |
objectTag | Tag objects in an image | Labels array |
grid | Generic grid selection | Boolean array |
bbox | Bounding box detection | Coordinates |
Create Task — Grid Classify
POST
/createTaskHostapi.captchasonic.com
Content-Typeapplication/json
{
"apiKey": "YOUR_API_KEY",
"task": {
"type": "PopularCaptchaImage",
"questionType": "objectClassify",
"question": "Select all objects with a bridge",
"queries": ["BASE64_IMG_1", "BASE64_IMG_2"]
}
}
Response
{
"code": 200,
"msg": "",
"answers": [true, false, true, true, false, true],
"questionType": "objectClassify",
"meta": { "pass_report": true, "fail_report": true }
}
Create Task — Object Click
{
"apiKey": "YOUR_API_KEY",
"task": {
"type": "PopularCaptchaImage",
"questionType": "objectClick",
"question": "Click on the center of the car",
"queries": ["BASE64_MAIN_IMAGE"]
}
}
Create Task — Object Drag
{
"apiKey": "YOUR_API_KEY",
"task": {
"type": "PopularCaptchaImage",
"questionType": "objectDrag",
"question": "Drag the puzzle piece to the gap",
"queries": ["BASE64_BACKGROUND"],
"examples": ["BASE64_PUZZLE_PIECE"]
}
}
Task Parameters
| Property | Type | Required | Description |
|---|---|---|---|
type | string | ✅ | PopularCaptchaImage or PopularClassification |
questionType | string | ✅ | objectClassify, objectClick, objectDrag, objectTag, grid, bbox |
question | string | ✅ | The challenge instruction text |
queries | string[] | ✅ | Base64-encoded images |
examples | string[] | Drag only | Target objects for drag tasks |
screenshort | boolean | No | Set true if images are screenshots |
API Playground
POST
Log in to auto-fill your API key
Payload
Response
Hit Send to see response
⌘ + Enter
Parameters
Error Codes
terminal