ReCaptchaV2 & ReCaptchaV2 Invisible Solution
reCAPTCHA V2, also known as "I'm Not a Robot" reCAPTCHA, is quite popular and looks like this:
You need
You need (click here for details)
Example: https://www.google.com/recaptcha/api2/demo
ReCaptchaV2 Invisible Example:
Solved similarly to reCAPTCHA V2.
The parameters that are needed for recognition can be obtained using the developer mode in the browser:
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
Parameter | Type | Required | Description |
---|---|---|---|
key | String | Yes | The key can be viewed here |
method | String | Yes | userrecaptcha — determines that you are solving reCAPTCHA V2 |
googlekey | String | Yes | The value of the parameter k or data-sitekey that you found in the page code For example 6le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ- |
pageurl | String | Yes | Full URL of the page where you are solving reCAPTCHA V2 For example https://www.google.com/recaptcha/api2/demo |
data-s | String | No | The value of the data-s parameter found on the page. Relevant for Google search and other Google services. |
cookies | String | No | Your cookies that will be used by the employee to solve the captcha. |
userAgent | String | No | We substitute your userAgent for the employee. |
softguru | Number | No | Software developer ID. Developers who have integrated their software with our service receive 1% of the cost of each such request. |
json | Number By default: 0 | No | 0 — the server will return a response in plain text 1 — the server will return a response in JSON format |
proxy | Line | No | Format: login:[email protected]:3128 More information about the proxy [here] (/en/api/proxy). |
proxytype | String | No | Your 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
POST http://api.cap.guru/in.php
Host: api.cap.guru
Content-Type: application/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
{
"status":1,
"request":"65787087"
}
Getting a response
Parameter | Type | Required | Description |
---|---|---|---|
key | String | Yes | The key can be viewed here |
action | String | Yes | get — get response |
id | Number | Yes | ID of captcha returned by in.php. |
json | Number By default: 0 | No | 0 — the server will return a response in plain text 1 — the server will return a response in JSON format |
Request/response example
Request example
POST http://api.cap.guru/res.php
Host: api.cap.guru
Content-Type: application/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
{
"status":1,
"request":"03AFY_a8W0B6yEBwfbmzp6OEUr4GYgdREy1DAFvvtyI6FUzf5qY_738XQ9lIFB7huVK9qia1f9z1GyGWRW3HVEzIGU5JrR-DY2xAkVvdH23lbpBqFAvH79Rr4Cs5dsxENk_zoTa1jn70ORvBVfBHA_Fb-s_kqQEpmaxSIwf0fe8FGJjhsBoygXnvrmCnBPTf5ua4LoYSi4f12XcZdyf5dBRYPq4pHBqk5Ic2cj8InwX9ima-v9UKA64ugnIiUNFOB_BCHJ1tieaB-td4_B4MC8gBCzPQwwO5I3IDDaT17JR3uIBKfc70w-2mtDnfPznyT4dHZapWtZizLkGs2BSUsfM4nR9OtjshuYB8lwJkSfz3ynaBYOCE7SBbtVHCsjGgO7YtSI-BArHxUcPQdFILmtnSCvPV5IWEF_NxurJ3QlUMkaNvC6kHCphZZoJXpt8Q5f-Uyi0-bhGd4wjtqRFglyzpn8lEmqkxF2ydlQO1Ketclutd-w5wuuxoDDHJE7d5msHPjXYtVvuFh8A2nyAU4i2I5KfcmdMd3F2g"
}