CAPSOLVER
Blog
How to Solve reCAPTCHA v3 Enterprise with Python

How to Solve reCAPTCHA v3 Enterprise with Python

Logo of CapSolver

Lucas Mitchell

Automation Engineer

25-Sep-2023

Google reCAPTCHA v3 Enterprise is one of the most advanced anti-bot systems used by enterprise-level websites.
It scores users with a risk value between 0.0 – 1.0, where higher scores indicate more human-like behavior.

Using the CapSolver API, you can reliably generate 0.7–0.9 scores for automation, scraping, SEO tasks, and enterprise workflows.


⚙️ Prerequisites

  • Proxy (Optional, but recommended for stable 0.7–0.9 scores)
  • Python installed
  • CapSolver API Key
    👉 Get one here: CapSolver Dashboard

🤖 Step 1: Install Required Packages

bash Copy
pip install capsolver

👨‍💻 Step 2: Solve reCAPTCHA v3 Enterprise with Proxy (Recommended for High Scores)

python Copy
import capsolver
from urllib.parse import urlparse

# Change these values
PROXY = "http://username:password@ip:port"
capsolver.api_key = "YourApiKey"
PAGE_URL = ""
PAGE_KEY = ""
PAGE_ACTION = ""

def solve_recaptcha_v3_enterprise(url, key, pageAction):
    solution = capsolver.solve({
        "type": "ReCaptchaV3EnterpriseTask",
        "websiteURL": url,
        "websiteKey": key,
        "pageAction": pageAction,
        "proxy": PROXY
    })
    return solution


def main():
    print("Solving reCaptcha v3 Enterprise…")
    solution = solve_recaptcha_v3_enterprise(PAGE_URL, PAGE_KEY, PAGE_ACTION)
    print("Solution:", solution)
    
    token = solution["gRecaptchaResponse"]
    print("Token Solution:", token)

if __name__ == "__main__":
    main()

👨‍💻 Step 3: Solve reCAPTCHA v3 Enterprise without Proxy

python Copy
import capsolver
from urllib.parse import urlparse

# Change these values
capsolver.api_key = "YourApiKey"
PAGE_URL = ""
PAGE_KEY = ""
PAGE_ACTION = ""

def solve_recaptcha_v3_enterprise(url, key, pageAction):
    solution = capsolver.solve({
        "type": "ReCaptchaV3EnterpriseTaskProxyless",
        "websiteURL": url,
        "websiteKey": key,
        "pageAction": pageAction
    })
    return solution


def main():
    print("Solving reCaptcha v3 Enterprise…")
    solution = solve_recaptcha_v3_enterprise(PAGE_URL, PAGE_KEY, PAGE_ACTION)
    print("Solution:", solution)
    
    token = solution["gRecaptchaResponse"]
    print("Token Solution:", token)

if __name__ == "__main__":
    main()

⚠️ Variables You Must Update

Variable Required Description
PROXY Only for ReCaptchaV3EnterpriseTask Format: http://username:password@ip:port
capsolver.api_key Your API key from CapSolver
PAGE_URL Website where reCAPTCHA is located
PAGE_KEY websiteKey of the reCAPTCHA widget
PAGE_ACTION pageAction value (learn how to find it below)

📘 Learn how to detect pageAction:
👉 https://www.capsolver.com/blog/All/how-to-identify-and-find-values-of-recaptchav3


🔍 Additional Resources


🙋‍♂️ FAQ – Frequently Asked Questions

1. Do I need a proxy to solve reCAPTCHA v3 Enterprise?

Not always.
But a proxy significantly improves the score (especially for 0.7–0.9).
Enterprise sites often rely on IP reputation, so a good residential proxy improves results.


2. Can CapSolver return stable high scores?

Yes — CapSolver trains its behavioral model to mimic human traffic patterns, resulting in consistent 0.7–0.9.


3. Where do I find the websiteKey & pageAction?


4. How fast is the solving time?

Typical solving time: 0.8 – 2.5 seconds
Enterprise tasks might take slightly longer.


5. What if my token is rejected?

Check these:

  • Proxy reputation
  • Correct pageAction
  • Correct websiteKey
  • Token not expired (valid for ~120 seconds)

✅ Conclusion

With Python + CapSolver, solving reCAPTCHA v3 Enterprise becomes simple, scalable, and extremely efficient.

Whether you're doing:

  • SEO automation
  • Web scraping
  • Monitoring
  • Enterprise integrations
  • Data collection

CapSolver helps you bypass Google reCAPTCHA v3 Enterprise with high success rate, high scores, and low cost.

👉 Try it now:
CapSolver Dashboard

Compliance Disclaimer: The information provided on this blog is for informational purposes only. CapSolver is committed to compliance with all applicable laws and regulations. The use of the CapSolver network for illegal, fraudulent, or abusive activities is strictly prohibited and will be investigated. Our captcha-solving solutions enhance user experience while ensuring 100% compliance in helping solve captcha difficulties during public data crawling. We encourage responsible use of our services. For more information, please visit our Terms of Service and Privacy Policy.

More