Captcha Recognition•Proxyless Vision / Audio AI~160ms avg99.3% accuracy$0.45 / 1k
reCAPTCHA v2 Image Grid Classification
POST
https://api.byecap.org/api/v1/tasks:solvePOST
https://api.byecap.org/api/v1/createTaskFast (~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 Type | Mode | Recommended For | Rate / 1k |
|---|---|---|---|
| ReCaptchaV2Classification | 3×3 & 4×4 Composite Grid | Initial 300×300 (3×3) or 450×450 (4×4) payload sprite returning objects: [0..8] or [0..15] | $0.45 |
| GridTask | Dynamic Single-Tile Reload | Classify 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 ID | Target Object | Grid Layout |
|---|---|---|
| /m/0k4j | Cars / Automobiles | 3×3 (dynamic) or 4×4 |
| /m/015qff | Traffic Lights | 3×3 or 4×4 |
| /m/014xcs | Crosswalks (Pedestrian crossings) | 3×3 (dynamic) or 4×4 |
| /m/0199g | Bicycles | 3×3 or 4×4 |
| /m/01bjv | Buses | 3×3 (dynamic) or 4×4 |
| /m/04_sv | Motorcycles | 3×3 or 4×4 |
| /m/01pns0 | Fire Hydrants | 3×3 (dynamic) |
| /m/01lynh | Stairs | 3×3 or 4×4 |
| /m/024d2 | Chimneys | 3×3 |
| /m/015kr | Bridges | 3×3 |
| /m/013xlm | Tractors | 3×3 |
| /m/0pg52 | Taxis | 3×3 or 4×4 |
| /m/019jd | Boats | 3×3 |
| /m/0cdl1 | Palm Trees | 3×3 |
| /m/015qbp | Parking Meters | 3×3 |
| /m/09d_r | Mountains or Hills | 3×3 |
How to Locate Required Parameters
- 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.
- 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.
- Send image + question to ReCaptchaV2Classification via /api/v1/tasks:solve.
- 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
| Parameter | Type | Required | Description |
|---|---|---|---|
| task.type | string | Required | Use "ReCaptchaV2Classification" (or "GridTask"). Example: "ReCaptchaV2Classification" |
| task.image | string | Required | Base64-encoded composite grid image (300×300 for 3×3 or 450×450 for 4×4) without data-URI prefix. Example: "/9j/4AAQSkZJRgABAQAAAQABAAD..." |
| task.question | string | Required | 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 Field | Type | Description |
|---|---|---|
| solution.objects | number[] | 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.hasObject | boolean | True when at least one matching tile was detected; false when ready to click Verify / Skip. |
| solution.size | number | Detected 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 Code | Common Cause | Resolution |
|---|---|---|
| ERROR_UNKNOWN_QUESTION | Localized 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 →