DocumentationAPI v1
Captcha Recognition•Proxyless Vision / Audio AI~170ms avg99.2% accuracy$0.50 / 1k

AWS WAF Image Grid & Point Classification

POST/api/v1/tasks:solve
POST/api/v1/createTask

Fast (~170ms) recognition for Amazon AWS WAF 9-tile object grids (aws:grid:*) and single-canvas coordinate challenges (aws:toycarcity:carcity, curtain/dot paths). Zero proxies needed.

Need ByeCap to solve the entire AWS WAF challenge and return an aws-waf-token cookie directly?View AWS WAF Token Solver →
Live AWS WAF 3×3 Grid Recognition Preview

Instant multi-tile classification returning 0-indexed tile matches [0..8].

AWS WAF • 3×3 Classification

Supported Task Types & Modes

Task TypeModeRecommended ForRate / 1k
AwsWafClassification9-Tile Grid (objects)Submit array of 9 Base64 tile images + aws:grid:* question → returns objects: [0..8]$0.50
AwsWafClassification (Point)Single Canvas (box)Submit 1 Base64 image + aws:toycarcity:carcity → returns exact end-of-path [x, y] coordinate$0.50

AWS WAF Question Identifiers (task.question)

Extract question directly from the JSON response of /problem?kind=visual&domain=...:

Question IdentifierChallenge TypeReturned Solution Field
aws:grid:bed3×3 Grid — Select all bedssolution.objects (e.g. [0, 4, 8])
aws:grid:chair3×3 Grid — Select all chairssolution.objects (e.g. [1, 3, 5])
aws:grid:bag3×3 Grid — Select all bags / handbagssolution.objects
aws:grid:hat3×3 Grid — Select all hatssolution.objects
aws:grid:bucket3×3 Grid — Select all bucketssolution.objects
aws:grid:curtain3×3 Grid — Select all curtainssolution.objects
aws:grid:mop3×3 Grid — Select all mops / broomssolution.objects
aws:grid:clock3×3 Grid — Select all clockssolution.objects
aws:grid:suitcase3×3 Grid — Select all suitcasessolution.objects
aws:grid:binoculars3×3 Grid — Select all binocularssolution.objects
aws:grid:cookingpot3×3 Grid — Select all cooking potssolution.objects
aws:toycarcity:carcitySingle Image — Place dot at end of car’s pathsolution.box ([x, y] pixel coordinate)
How to Locate Required Parameters
  1. Intercept the AWS WAF GET /problem?kind=visual JSON payload inside your browser or scraper.
  2. Read payload.assets.images (array of 9 Base64 strings for grid, or 1 Base64 string for toycarcity) and payload.question (e.g. "aws:grid:chair").
  3. Send images and question to AwsWafClassification via POST /api/v1/tasks:solve.
  4. Click the returned tile indices in solution.objects (0..8) or click the canvas offset in solution.box ([x, y]).

Request Parameters

ParameterTypeRequiredDescription
task.typestringRequired
Must be "AwsWafClassification".
Example: "AwsWafClassification"
task.imagesstring[]Required
Array of 9 Base64 images (for 3×3 grid) or 1 Base64 image (for single-canvas point challenge).
Example: ["/9j/4AAQ...", "/9j/4AAQ..."]
task.questionstringRequired
Exact question key from AWS WAF /problem JSON (e.g. "aws:grid:chair" or "aws:toycarcity:carcity").
Example: "aws:grid:chair"

Request Examples

Create & Poll Task
curl -X POST https://api.byecap.org/api/v1/tasks:solve \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "task": {
      "type": "AwsWafClassification",
      "images": [
        "/9j/4AAQSkZJRgABAQ...tile0",
        "/9j/4AAQSkZJRgABAQ...tile1"
      ],
      "question": "aws:grid:chair"
    }
  }'

Response Format

200 OK — Ready Solution
{
  "errorId": 0,
  "taskId": "aw8820e1-5c91-44a0-91f2-1129c0a84e19",
  "status": "ready",
  "latency_ms": 152,
  "solution": {
    "objects": [1, 4, 7],
    "distance": null
  }
}
Response FieldTypeDescription
solution.objectsnumber[]Returned for aws:grid:* tasks: 0-based indices (0..8) of tiles matching the target category.
solution.box[number, number]Returned for aws:toycarcity:* point tasks: [x, y] pixel coordinates relative to the natural image dimensions.

Clicking AWS WAF Grid Buttons in Playwright

Browser / Client Integration
const buttons = page.locator('#amzn-captcha-modal button.amzn-captcha-grid-btn');
for (const idx of solution.objects) {
  await buttons.nth(idx).click({ delay: 35 });
}
await page.locator('#amzn-btn-verify-internal').click();

Error Codes & Troubleshooting

Error CodeCommon CauseResolution
ERROR_IMAGES_COUNT_INVALIDaws:grid:* requires 9 Base64 tile images (or 1 stitched 3×3 grid), whereas a partial array was sent.Pass the full problem.assets.images array unmodified.
Best Practices & Billing Protection
  • Intercept /problem?kind=visual in Playwright via page.on("response")—the JSON already contains clean Base64 strings in assets.images!
  • Scale solution.box coordinates by (renderedCanvasWidth / naturalImageWidth) if CSS resizes the ToyCarCity canvas on mobile viewports.
  • Failed classifications receive automatic 100% billing protection.
Need custom concurrency or a dedicated model? View Pricing & Enterprise Plans →