#
reCAPTCHA v2
Solve reCAPTCHA v2 checkbox, invisible, and Enterprise. Task types, parameters, and code examples.
Google's reCAPTCHA v2 — checkbox, invisible, and Enterprise versions.
#
reCAPTCHA v2
#
Task Types
#
Parameters
#
Finding the Site Key
<!-- Standard v2 — look for data-sitekey -->
<div class="g-recaptcha" data-sitekey="6LdO5_IbAAAAAAeVBL9TClS19NUTt5wswEb3Q7C5"></div>
<!-- Invisible v2 — has data-size="invisible" -->
<div class="g-recaptcha" data-sitekey="6LdO5_IbAAAAAAeVBL9TClS19NUTt5wswEb3Q7C5" data-size="invisible"></div>
#
Example
response = requests.post("https://v1.captchasolv.com/solve", json={
"clientKey": "YOUR_API_KEY",
"task": {
"type": "RecaptchaV2TaskProxyless", # or RecaptchaV2InvisibleTaskProxyless
"websiteURL": "https://example.com",
"websiteKey": "6LdO5_IbAAAAAAeVBL9TClS19NUTt5wswEb3Q7C5"
}
}, timeout=130)
token = response.json()["solution"]["token"]
#
reCAPTCHA v2 Enterprise
Uses recaptcha/enterprise.js and grecaptcha.enterprise API.
#
Task Types
#
How to identify Enterprise
<!-- Standard: api.js → Enterprise: enterprise.js -->
<script src="https://www.google.com/recaptcha/enterprise.js"></script>
Also check for grecaptcha.enterprise.render() or grecaptcha.enterprise.execute().
#
Example
response = requests.post("https://v1.captchasolv.com/solve", json={
"clientKey": "YOUR_API_KEY",
"task": {
"type": "RecaptchaV2EnterpriseTaskProxyless",
"websiteURL": "https://example.com",
"websiteKey": "6Le-xxxxx"
}
}, timeout=130)
token = response.json()["solution"]["token"]
#
Response
{
"errorId": 0,
"solution": {
"token": "03AGdBq24PBCbwiDRaS_MJ7Z...",
"userAgent": "Mozilla/5.0..."
}
}
Submit token in the g-recaptcha-response form field.
#
Tips
- Enterprise detection —
enterprise.jsinstead ofapi.js - Token expiry — ~2 minutes, use immediately
- v2 invisible — Check for
data-size="invisible"to pick the right task type