# 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

Task Type Description
RecaptchaV2TaskProxyless Checkbox v2 without proxy
RecaptchaV2Task Checkbox v2 with proxy
RecaptchaV2InvisibleTaskProxyless Invisible v2 without proxy
RecaptchaV2InvisibleTask Invisible v2 with proxy

# Parameters

Parameter Type Required Description
websiteURL string Page URL with reCAPTCHA
websiteKey string reCAPTCHA site key

# 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

Task Type Description
RecaptchaV2EnterpriseTaskProxyless Enterprise v2 checkbox without proxy
RecaptchaV2EnterpriseTask Enterprise v2 checkbox with proxy
RecaptchaV2EnterpriseInvisibleTaskProxyless Enterprise v2 invisible without proxy
RecaptchaV2EnterpriseInvisibleTask Enterprise v2 invisible with proxy

# 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 detectionenterprise.js instead of api.js
  • Token expiry — ~2 minutes, use immediately
  • v2 invisible — Check for data-size="invisible" to pick the right task type