Blog
How to solve reCaptcha v3 and get a human like (>0.7–0.9) score

How to solve reCaptcha v3 and get a human like (>0.7–0.9) score

Logo of Capsolver

CapSolver Blogger

How to use capsolver

11-May-2023

How to solve reCaptcha v3

🤙 Step 1: Sign Up for capsolver.com

To start using capsolver, you need to sign up for an account.
Visit the website and click on the ‘Sign Up’ button. You will be prompted to enter your email address and create a password. Once you have provided the necessary information, click on the ‘Sign Up’ button to create your account.

Sign up capsolver

🔖 Step 2: Add Funds to Your Account

Before you can start solving reCaptcha v3, you need to add funds to your capsolver.com account. Click on the ‘Add Funds’ button and select your preferred payment method. Follow the on-screen instructions to complete the payment process.

🤖 How to solve reCaptcha v3

👏 Before we start solving reCaptcha v3, there are some requeriments and points that we need to be aware that they are needed to know
🔒 Requeriments:

  • Capsolver Key
  • Proxy (Optional)
    Proxy is optional, but always recommended that you use your own proxy for reCaptcha v3 as IP is very important.

⚠️ Points to be aware that if we don't follow, solution will be invalid:

  • pageAction need to be correct. Check this blog of how to obtain the correct pageAction, click here
  • websiteUrl need to be correct.
  • proxy need to be good. If you use ReCaptchaV3TaskProxyless, this isn't needed. Only for ReCaptchaV3Task
    As stated before, could be that if you use proxyless methods (proxies from capsolver) that you get a bad score, so it's recommended that you use your own proxy. If any of the points fail, you will receive a bad score, so these points are very important to get 0.7-0.9 score.

To solve reCaptcha v3, follow our documentation
For this example, we will only use the required parameters. The task types for reCaptcha v3 are:

  • ReCaptchaV3Task: This task type requires your own proxies.
  • ReCaptchaV3TaskProxyLess is using the server's built-in proxy.
    We will use ReCaptchaV3TaskProxyLess. The example will be a test page to verify the score of our tokens. The page will be link, we will need proxies (residentials, datacenter, mobile proxies work), capsolver key with balance, correct websiteUrl and correct pageAction.
    By default, the pageAction is verify, but the site can customize, so remember that you must check if it’s verify or a custom one, you can also read this to find how page.
    For solve reCaptcha v3 for the test site, we will just need to send to capsolver this information:

⚡ Step 1: Submit the required information to capsolver

POST https://api.capsolver.com/createTask
{
  "clientKey":"yourapiKey",
    "task":
        {
          "type":"ReCaptchaV3TaskProxyLess",
        "websiteURL":"https://antcpt.com/score_detector",
        "websiteKey":"6LcR_okUAAAAAPYrPe-HK_0RULO1aZM15ENyM-Mf",
        "pageAction": "homepage"
        }
}

🪄 Step 2: Get the results of the captcha solved

We will need to retrieve the getTaskResult method until the captcha is solved.
Recommended to check every 3s or 5s the taskId to see if the captchas was solved.

Example:

POST https://api.capsolver.com/getTaskResult
Host: api.capsolver.com
Content-Type: application/json

{
    "clientKey":"YOUR_API_KEY",
    "taskId": "TASKID OF CREATETASK" //ID created by the createTask method
}

After the captcha has been solved, you can check the captcha token by sending the token to the site.

A example of how to submit to the test website using JS:

var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://antcpt.com/score_detector/verify.php',
  'headers': {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "g-recaptcha-response": "here the token of capsolver"
  })

};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

And the test page will give the response of the score of the token.

⚠️ If the token return a very low score and token isn't accepted, could be that you aren't following any of the points to be aware that we explained above on the blog. If after do everything correct, still the token isn't accepted, we recommend add these 2 extra parameters of this blog

In conclusion, solving reCaptcha v3 can be a daunting task, but with the help of capsolver.com, it can be done quickly and efficiently. By following the steps outlined above, you can easily solve reCaptcha v3 and get a ‘human like’ score.

Capsolver Team 💜

More