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": "https://site.com",
"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.