Captcha Token•Token & Cookie Bypass~2.2s avg98.9% accuracy$0.80 / 1k
Google reCAPTCHA v2 & Enterprise Token Solver
POST
https://api.byecap.org/api/v1/createTaskGenerate valid g-recaptcha-response tokens for Google reCAPTCHA v2 Standard Checkbox, Invisible Badge, Google Search data-s challenges, and reCAPTCHA Enterprise risk-scored flows.
Want to classify 3×3 or 4×4 reCAPTCHA image grids directly inside Playwright/Puppeteer in ~150ms?View reCAPTCHA v2 Classification (Recognition) →
Supported Task Types & Modes
| Task Type | Mode | Recommended For | Rate / 1k |
|---|---|---|---|
| RecaptchaV2TaskProxyless | Proxyless | Standard Checkbox ("I'm not a robot") and Invisible v2 widgets using ByeCap residential pool | $0.80 |
| RecaptchaV2Task | With Proxy | High-security forms checking IP consistency between token solver and form submission | $0.85 |
| RecaptchaV2EnterpriseTaskProxyless | Enterprise Proxyless | Google Cloud reCAPTCHA Enterprise (enterprise.js) with optional s-value payload | $1.10 |
| RecaptchaV2EnterpriseTask | Enterprise + Proxy | Strict Enterprise login/checkout flows requiring sticky proxy + enterprisePayload.s | $1.20 |
How to Locate Required Parameters
- Open DevTools -> Network and filter by "anchor" or "reload". Check if the script URL contains /recaptcha/api2/ (Standard) or /recaptcha/enterprise/ (Enterprise).
- Extract the k= query parameter from the /anchor URL (or data-sitekey on .g-recaptcha) as websiteKey.
- Check size=invisible in the /anchor request or data-size="invisible" in DOM—if present, set isInvisible: true.
- For Enterprise or Google Search pages, inspect grecaptcha.enterprise.render(...) or the /anchor s= parameter and pass it via enterprisePayload: { "s": "..." } or recaptchaDataSValue.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| task.type | string | Required | Task identifier: RecaptchaV2TaskProxyless, RecaptchaV2Task, RecaptchaV2EnterpriseTaskProxyless, or RecaptchaV2EnterpriseTask. Example: "RecaptchaV2TaskProxyless" |
| task.websiteURL | string | Required | Full page URL hosting the reCAPTCHA v2 widget (must match origin protocol and domain). Example: "https://example.com/login" |
| task.websiteKey | string | Required | 40-character public Google reCAPTCHA sitekey. Example: "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-" |
| task.isInvisible | boolean | Optional | Set true when solving Invisible reCAPTCHA v2 (no visible checkbox, triggered on button click). Example: true |
| task.recaptchaDataSValue | string | Optional | One-time data-s attribute used on Google Search, YouTube, and hardened portals. Must be fresh per solve. Example: "v2_one_time_data_s_token..." |
| task.enterprisePayload | object | Optional | Additional parameters passed to grecaptcha.enterprise.render / execute on Enterprise targets. Example: {"s": "enterprise_s_token"} |
| task.apiDomain | string | Optional | Override script host when target loads from www.recaptcha.net instead of www.google.com. Example: "www.recaptcha.net" |
| task.pageAction | string | Optional | Optional action string if passed during grecaptcha.execute(sitekey, { action }). Example: "login" |
| task.proxy | string | Optional | Required only for non-proxyless RecaptchaV2Task and RecaptchaV2EnterpriseTask. Example: "http://user:pass@198.51.100.12:8080" |
Request Examples
Create & Poll Task
curl -X POST https://api.byecap.org/api/v1/createTask \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"task": {
"type": "RecaptchaV2TaskProxyless",
"websiteURL": "https://example.com/signup",
"websiteKey": "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-",
"isInvisible": false
}
}'Response Format
200 OK — Ready Solution
{
"errorId": 0,
"taskId": "44c9e02b-1d12-4091-8a15-2b9104f61a77",
"status": "ready",
"solution": {
"gRecaptchaResponse": "03AFcWeA7x9K8mN2vQ4pL...verified_v2_token",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36..."
}
}| Response Field | Type | Description |
|---|---|---|
| solution.gRecaptchaResponse | string | Verified token valid for ~120 seconds. Submit as g-recaptcha-response or pass to the page callback. |
| solution.userAgent | string | Browser User-Agent used during solving—match this header when replaying strict Enterprise requests. |
Injecting Token & Invoking ___grecaptcha_cfg Callback
Browser / Client Integration
await page.evaluate((token) => {
const el = document.getElementById("g-recaptcha-response");
if (el) el.innerHTML = token;
// Trigger internal Google callback if form relies on JS callback instead of form submit
const clients = window.___grecaptcha_cfg?.clients;
if (clients) {
for (const c of Object.values(clients)) {
const findCb = (obj, depth = 0) => {
if (!obj || depth > 4) return;
for (const v of Object.values(obj)) {
if (typeof v === "function") v(token);
else if (typeof v === "object") findCb(v, depth + 1);
}
};
findCb(c);
}
}
}, solved.solution.gRecaptchaResponse);Error Codes & Troubleshooting
| Error Code | Common Cause | Resolution |
|---|---|---|
| ERROR_INVALID_SITEKEY | websiteKey does not belong to websiteURL or Standard type was used on an Enterprise key. | Check Network tab: if requests hit /recaptcha/enterprise/anchor, switch to RecaptchaV2EnterpriseTaskProxyless. |
| ERROR_EXPIRED_DATA_S | recaptchaDataSValue / enterprisePayload.s was already consumed when loading the widget in your browser. | Intercept and block the initial /recaptcha/api2/anchor request in Playwright so the data-s token stays unconsumed for ByeCap. |
Best Practices & Billing Protection
- Redeem gRecaptchaResponse within 90–120 seconds of creation before Google expires the token.
- When solving data-s protected pages, block Google’s iframe from loading locally so your one-time s-value is not burned twice.
- All failed or timed-out reCAPTCHA v2 tasks are refunded 100% automatically.
Need custom concurrency or a dedicated model? View Pricing & Enterprise Plans →