Solve Google Recaptcha V2 Enterprise with a proxy
This type of task is for solving Google Recaptcha Enterprise V2 using the provided proxy.
It is mostly similar to RecaptchaV2Task, except tasks are solved using the Enterprise API and assigned to workers with the best reCaptcha V3 score.

Recaptcha V2 Enterprise example. Visually, it is identical to the non-enterprise version.
Python
Node.js
PHP
Java
C#
bash
How to solve Recaptcha V2 Enterprise proxy-on in Python
#pip3 install anticaptchaofficial
from anticaptchaofficial.recaptchav2enterpriseproxyon import *
solver = recaptchaV2EnterpriseProxyon()
solver.set_verbose(1)
solver.set_key("YOUR_API_KEY_HERE")
# solver.set_enterprise_payload({"s": "sometoken"})
solver.set_website_url("https://website.com")
solver.set_website_key("SITE_KEY")
solver.set_proxy_address("PROXY_ADDRESS")
solver.set_proxy_port(1234)
solver.set_proxy_login("proxylogin")
solver.set_proxy_password("proxypassword")
solver.set_user_agent("Mozilla/5.0")
solver.set_cookies("test=true")
# Specify softId to earn 10% commission with your app.
# Get your softId here: https://anti-captcha.com/clients/tools/devcenter
solver.set_soft_id(0)
g_response = solver.solve_and_return_solution()
if g_response != 0:
print("g-response: "+g_response)
# user-agent in case you need it:
print("user-agent: "+solver.get_user_agent())
else:
print("task finished with error "+solver.error_code)Task creation object
| Property | Type | Required | Purpose |
|---|---|---|---|
| type | String | Yes | RecaptchaV2EnterpriseTask |
| websiteURL | String | Yes | Address of a target web page. Can be located anywhere on the web site, even in a member area. Our workers don't navigate there but simulate the visit instead. |
| websiteKey | String | Yes | Recaptcha website key. Learn how to find it in this article. |
| enterprisePayload | Object | No | Optional additional parameters which may be passed to "grecaptcha.enterprise.render" method along with sitekey. Example of what you may search for: |
| apiDomain | String | No | Use this parameter to send the domain name from which the reCaptcha script should be served. Can have only one of two values: "www.google.com" or "www.recaptcha.net". Do not use this parameter unless you understand what you are doing. |
| proxyType | String | Yes | Type of proxy http - usual http/https proxy socks4 - socks4 proxy socks5 - socks5 proxy |
| proxyAddress | String | Yes | Proxy IP address ipv4/ipv6. No host names or IP addresses from local networks. |
| proxyPort | Integer | Yes | Proxy port |
| proxyLogin | String | Yes | Login for proxy which requires authorization (basic) |
| proxyPassword | String | Yes | Proxy password |
| userAgent | String | Yes | Browser's User-Agent used in emulation. You must use a modern-browser signature; otherwise, Google will ask you to "update your browser". |
| cookies | String | No | Additional cookies that we should use in Google domains. |
Task solution object
| Property | Type | Purpose |
|---|---|---|
| gRecaptchaResponse | String | Token string required for interacting with the submit form on the destination page. |
| userAgent | String | User-Agent of the worker's browser. Use may want to use it when you submit the response token. |
Response example
{
"errorId":0,
"status":"ready",
"solution":
{
"gRecaptchaResponse":"3AHJ_VuvYIBNBW5yyv0zRYJ75VkOKvhKj9_xGBJKnQimF72rfoq3Iy-DyGHMwLAo6a3",
"userAgent":"Mozilla\5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/145.0.0.0 Safari\/537.36"
},
"cost":"0.001500",
"ip":"46.98.54.221",
"createTime":1472205564,
"endTime":1472205570,
"solveCount":"0"
}