Skip to content

ReCaptchaV2 & ReCaptchaV2 Invisible Solution

reCAPTCHA V2, also known as "I'm Not a Robot" reCAPTCHA, is quite popular and looks like this:

logo

You need

You need (click here for details)

Example: https://www.google.com/recaptcha/api2/demo

ReCaptchaV2 Invisible Example:

logo

Solved similarly to reCAPTCHA V2.

The parameters that are needed for recognition can be obtained using the developer mode in the browser:

logo

https://www.google.com/recaptcha/api2/anchor?ar=1&k=6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-&co=aHR0cHM6Ly93d3cuZ29vZ2xlLmNvbTo0NDM.&hl=ru&v=qpy2aGtSgsYPZzCoYWjcaBCo&size=normal&cb=b10i8fn9469d

We need

Link to the page where reCAPTCHA is located: https://www.google.com/recaptcha/api2/demo

Key (site-key): 6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-

Sending

http://api.cap.guru/in.php

ParameterTypeRequiredDescription
keyStringYesThe key can be viewed here
methodStringYesuserrecaptcha — determines that you are solving reCAPTCHA V2
googlekeyStringYesThe value of the parameter k or data-sitekey that you found in the page code
For example 6le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-
pageurlStringYesFull URL of the page where you are solving reCAPTCHA V2
For example https://www.google.com/recaptcha/api2/demo
data-sStringNoThe value of the data-s parameter found on the page. Relevant for Google search and other Google services.
cookiesStringNoYour cookies that will be used by the employee to solve the captcha.
userAgentStringNoWe substitute your userAgent for the employee.
softguruNumberNoSoftware developer ID. Developers who have integrated their software with our service receive 1% of the cost of each such request.
jsonNumber
By default: 0
No0 — the server will return a response in plain text
1 — the server will return a response in JSON format
proxyLineNoFormat: login:[email protected]:3128
More information about the proxy [here] (/en/api/proxy).
proxytypeStringNoYour proxy type: : HTTP, HTTPS, SOCKS4, SOCKS5.

http://api.cap.guru/in.php?key=YOUR_APIKEY&method=userrecaptcha&googlekey=6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-&pageurl=https://www.google.com/recaptcha/api2/demo

OR

Request/response example

Request example

text
POST  http://api.cap.guru/in.php
Host: api.cap.guru
Content-Type: application/json
json
{
  "key": "YOUR_API_KEY",
  "method": "userrecaptcha",
  "googlekey": "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-",
  "pageurl": "https://www.google.com/recaptcha/api2/demo",
  "json": 1
}

After sending the task to us, you should receive in response 'OK|65787087' or {"status":1,"request":"65787087"} if the request is successful. Please read [the full list of possible errors] (/en/api/code_error) in case you did not receive the task number.

Sample response

json
{
 "status":1,
 "request":"65787087"
}

Getting a response

http://api.cap.guru/res.php

ParameterTypeRequiredDescription
keyStringYesThe key can be viewed here
actionStringYesget — get response
idNumberYesID of captcha returned by in.php.
jsonNumber
By default: 0
No0 — the server will return a response in plain text
1 — the server will return a response in JSON format
Request/response example

Request example

text
POST  http://api.cap.guru/res.php 
Host: api.cap.guru
Content-Type: application/json
json
{
  "key": "YOUR_API_KEY",
  "action": "get",
  "id": "XXXXXXXXXXXXXXXXXX", // for example 65787087
  "json": 1
}

After sending the task to us, you should receive in response 'OK|03 AFY_a8W0B6yEBwfbmzp6OEUr...' or {"status":1,"request":"03 AFY_a8W0B6yEBwfbmzp6OEUr..."} if the request is successful. Please read the full list of possible errors in case you have not received a response.

Sample response

json
{
 "status":1,
 "request":"03AFY_a8W0B6yEBwfbmzp6OEUr4GYgdREy1DAFvvtyI6FUzf5qY_738XQ9lIFB7huVK9qia1f9z1GyGWRW3HVEzIGU5JrR-DY2xAkVvdH23lbpBqFAvH79Rr4Cs5dsxENk_zoTa1jn70ORvBVfBHA_Fb-s_kqQEpmaxSIwf0fe8FGJjhsBoygXnvrmCnBPTf5ua4LoYSi4f12XcZdyf5dBRYPq4pHBqk5Ic2cj8InwX9ima-v9UKA64ugnIiUNFOB_BCHJ1tieaB-td4_B4MC8gBCzPQwwO5I3IDDaT17JR3uIBKfc70w-2mtDnfPznyT4dHZapWtZizLkGs2BSUsfM4nR9OtjshuYB8lwJkSfz3ynaBYOCE7SBbtVHCsjGgO7YtSI-BArHxUcPQdFILmtnSCvPV5IWEF_NxurJ3QlUMkaNvC6kHCphZZoJXpt8Q5f-Uyi0-bhGd4wjtqRFglyzpn8lEmqkxF2ydlQO1Ketclutd-w5wuuxoDDHJE7d5msHPjXYtVvuFh8A2nyAU4i2I5KfcmdMd3F2g"
}

Plugins