DocumentationAPI v1
Captcha Recognition•Proxyless Vision / Audio AI~160ms avg99.3% accuracy$0.45 / 1k

reCAPTCHA v2 Image Grid Classification

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

Fast (~160ms) classification for Google reCAPTCHA v2 3×3 (9-tile) and 4×4 (16-tile) challenges. Send the payload image Base64 and Google question ID (or text prompt) to receive exact 0-indexed tile numbers.

Want a ready g-recaptcha-response token without clicking tiles in a browser?View reCAPTCHA v2 Token Solver →

Supported Task Types & Modes

Task TypeModeRecommended ForRate / 1k
ReCaptchaV2Classification3×3 & 4×4 Composite GridInitial 300×300 (3×3) or 450×450 (4×4) payload sprite returning objects: [0..8] or [0..15]$0.45
GridTaskDynamic Single-Tile ReloadClassify replacement 100×100 single tiles when dynamic 3×3 challenges fade in new images$0.35

Google reCAPTCHA v2 Question ID Reference Table (task.question)

You may pass either the official language-independent Freebase ID from /recaptcha/api2/reload (recommended) or the English object name:

Question IDTarget ObjectGrid Layout
/m/0k4jCars / Automobiles3×3 (dynamic) or 4×4
/m/015qffTraffic Lights3×3 or 4×4
/m/014xcsCrosswalks (Pedestrian crossings)3×3 (dynamic) or 4×4
/m/0199gBicycles3×3 or 4×4
/m/01bjvBuses3×3 (dynamic) or 4×4
/m/04_svMotorcycles3×3 or 4×4
/m/01pns0Fire Hydrants3×3 (dynamic)
/m/01lynhStairs3×3 or 4×4
/m/024d2Chimneys3×3
/m/015krBridges3×3
/m/013xlmTractors3×3
/m/0pg52Taxis3×3 or 4×4
/m/019jdBoats3×3
/m/0cdl1Palm Trees3×3
/m/015qbpParking Meters3×3
/m/09d_rMountains or Hills3×3
How to Locate Required Parameters
  1. In Playwright/Puppeteer, intercept network responses matching /recaptcha/api2/payload (the composite 300×300 or 450×450 JPEG grid) and convert the bytes to Base64.
  2. Read the object name from .rc-imageselect-desc-no-canonical strong (e.g. "traffic lights") OR parse the /m/... code from the /bframe or /reload protobuf response.
  3. Send image + question to ReCaptchaV2Classification via /api/v1/tasks:solve.
  4. Click each 0-based tile index in solution.objects (row-major: 0,1,2 top row; 3,4,5 middle; 6,7,8 bottom). If dynamic tiles reload, classify updated tiles until solution.hasObject is false, then click Verify.

Request Parameters

ParameterTypeRequiredDescription
task.typestringRequired
Use "ReCaptchaV2Classification" (or "GridTask").
Example: "ReCaptchaV2Classification"
task.imagestringRequired
Base64-encoded composite grid image (300×300 for 3×3 or 450×450 for 4×4) without data-URI prefix.
Example: "/9j/4AAQSkZJRgABAQAAAQABAAD..."
task.questionstringRequired
Google Freebase ID (e.g. "/m/015qff") or English prompt (e.g. "traffic lights").
Example: "/m/015qff"

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": "ReCaptchaV2Classification",
      "image": "/9j/4AAQSkZJRgABAQAAAQABAAD...",
      "question": "/m/015qff"
    }
  }'

Response Format

200 OK — Ready Solution
{
  "errorId": 0,
  "taskId": "rc91a02d-44e8-4f10-8a11-3c9102e55d04",
  "status": "ready",
  "latency_ms": 148,
  "solution": {
    "type": "multi",
    "size": 3,
    "hasObject": true,
    "objects": [0, 3, 6]
  }
}
Response FieldTypeDescription
solution.objectsnumber[]0-based tile indices in row-major order (0..8 for 3×3, 0..15 for 4×4). Empty array [] if no target objects remain.
solution.hasObjectbooleanTrue when at least one matching tile was detected; false when ready to click Verify / Skip.
solution.sizenumberDetected grid dimension: 3 (3×3 grid) or 4 (4×4 segmentation grid).

Clicking Matched Tiles Inside the reCAPTCHA bframe (Playwright)

Browser / Client Integration
const bframe = page.frameLocator('iframe[src*="recaptcha/api2/bframe"]');
const cells = bframe.locator("td.rc-imageselect-tile");

for (const idx of resp.solution.objects) {
  await cells.nth(idx).click({ delay: 45 + Math.random() * 60 });
}
await bframe.locator("#recaptcha-verify-button").click();

Error Codes & Troubleshooting

Error CodeCommon CauseResolution
ERROR_UNKNOWN_QUESTIONLocalized non-English text prompt passed instead of English label or /m/ ID.Pass the universal /m/... Freebase code from /reload or set browser hl=en.
Best Practices & Billing Protection
  • Always prefer /m/... Freebase IDs over DOM text so your automation works across every browser locale.
  • On dynamic 3×3 challenges ("Click verify once there are none left"), wait ~3.8s for fade-in tiles to finish loading before re-screenshotting.
  • Failed classifications are refunded 100% automatically.
Need custom concurrency or a dedicated model? View Pricing & Enterprise Plans →