Image To Text Captcha Solver
Solve standard text-based captchas using the OcrImage task type. Supports customizable constraints for numeric-only, case-sensitivity, and character length.
Create Task
POST
/createTaskHostapi.captchasonic.com
Content-Typeapplication/json
{
"apiKey": "YOUR_API_KEY",
"task": {
"type": "OcrImage",
"queries": ["BASE64_CAPTCHA_IMAGE"],
"module": "probot",
"numeric": false,
"case": false,
"minLength": 4,
"maxLength": 6
}
}
Response
{
"code": 200,
"msg": "",
"answers": ["ABC12"]
}
Task Parameters
| Property | Type | Required | Description |
|---|---|---|---|
type | string | β | OcrImage or ImageToTextTask |
queries | string[] | β | Base64-encoded captcha image(s) |
module | string | No | OCR module ID (e.g. probot) |
numeric | boolean | No | true if captcha contains only digits |
case | boolean | No | true if solution is case-sensitive |
minLength | integer | No | Minimum expected character count |
maxLength | integer | No | Maximum expected character count |
API Playground
POST
Log in to auto-fill your API key
Payload
Response
Hit Send to see response
β + Enter
Parameters
Error Codes
terminal