Skip to content

AWS WAF Captcha Solver

Bypass AWS WAF challenges using the AwsWafImage task type. Submit base64-encoded images with the question format aws:grid:<target>.

Create Task

POST/createTask
Hostapi.captchasonic.com
Content-Typeapplication/json
{
    "apiKey": "YOUR_API_KEY",
    "task": {
        "type": "AwsWafImage",
        "question": "aws:grid:traffic_light",
        "queries": ["BASE64_GRID_IMAGE"],
        "websiteURL": "https://example.com"
    }
}

Response

{
    "code": 200,
    "msg": "",
    "answers": [1, 5, 8]
}

answers contains the indices of grid cells matching the target object.

Question Format

The question field follows the pattern aws:<type>:<target>:

PatternDescription
aws:grid:traffic_lightSelect grid cells with traffic lights
aws:grid:chairSelect grid cells with chairs
aws:grid:busSelect grid cells with buses

Task Parameters

PropertyTypeRequiredDescription
typestringβœ…AwsWafImage
questionstringβœ…Challenge instruction in aws:<type>:<target> format
queriesstring[]βœ…Base64-encoded grid images
websiteURLstringNoTarget website URL for context

API Playground

POST
Log in to auto-fill your API key
Payload
Response

Hit Send to see response

⌘ + Enter

Parameters

apiKeystringYOUR_API_KEY
taskobject{...}
β”” typestringAwsWafImage
β”” questionstringaws:grid:traffic_light
β”” queriesarray[1 items]
β”” websiteURLstringhttps://example.com

Error Codes

1KEY_DOES_NOT_EXIST
2NO_SLOT_AVAILABLE
3ZERO_BALANCE
10ERROR_BAD_PARAMETERS
12ERROR_CAPTCHA_UNSOLVABLE
14PLAN_EXPIRED
16RATE_LIMITED
17DAILY_LIMIT_EXCEEDED
18QUOTA_LIMIT_EXCEEDED
21SERVICE_UNAVAILABLE
Code
terminal