
Solve reCaptcha v2 Invisible with Capsolver
reCAPTCHA is a security service provided by Google that protects websites from spam and abuse. It uses an advanced risk analysis engine and adaptive CAPTCHAs to prevent automated software from engaging in abusive activities on your site, while letting your valid users pass through with ease.
reCAPTCHA v2 invisible is a variant of reCAPTCHA v2 that works in the background, providing a more seamless experience for the user as it doesn't require any specific user interaction like previous versions.
How to Solve reCaptcha v2 Invisible
To solve reCaptcha v2 invisible, you need to follow the same steps as for reCaptcha v2, but with the addition of a new parameter called "isInvisible" set to true. Here's how to do it:
Step 1: Submitting the Information to Capsolver
First, you need to submit all the necessary information to Capsolver using the createTask
method. Here's an example of how to do it:
POST https://api.capsolver.com/createTask
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "ReCaptchaV2TaskProxyless",
"websiteURL": "site",
"websiteKey": "sitekey",
"isInvisible": true
}
}
Step 2: Getting the Results
To verify the results, you'll need to continuously poll the getTaskResult
API endpoint until the captcha is resolved. Here's an example request:
POST https://api.capsolver.com/getTaskResult
{
"clientKey":"YOUR_API_KEY",
"taskId": "TASKID_OF_CREATETASK"
}
Once the captcha is successfully resolved, you'll receive a response similar to the one depicted below:
{
"errorId": 0,
"errorCode": null,
"errorDescription": null,
"solution": {
"userAgent": "xxx",
"expireTime": 1671615324290,
"gRecaptchaResponse": "3AHJ....."
},
"status": "ready"
}
The captcha token received can be verified by submitting it to the relevant site.