reCAPTCHA solver: Code example for bypassing the reCAPTCHA#

logoNextCaptcha
May 08,2024

recaptcha solver

NextCaptcha launched the stablest and fastest reCAPTCHA solver.#

The service can be used to bypass any type of reCAPTCHA. such as reCAPTCHA V2/reCAPTCHA v2 Enterprise/reCAPTCHA v3/reCAPTCHA v3 Enterprise/reCAPTCHA Android/reCAPTCHA for mobile and so on.
NextCaptcha - is a anti captcha service for bypass any captcha through API queries. Payment only for successfully solving queries. Highly maintained, up-to-date and cheapest ReCaptcha Solver service, stably 24/7 support.
This article describes the process of interaction with the captcha solver API.

What is reCAPTCHA?#

reCAPTCHA is a free service from Google that helps protect websites from spam and abuse. It uses advanced risk analysis techniques to tell humans and bots apart. With the new API, a significant number of valid human users will pass the reCAPTCHA challenge without having to solve a CAPTCHA.

reCAPTCHA comes in the form of a widget that you can add to your online forms to check if the user is human or not. It works by presenting users with a challenge, such as identifying all images with cars or traffic lights. By solving this challenge, the user proves they are not a bot but a human.

The type of reCAPTCHA:#

  • reCAPTCHA v2 (also available as reCAPTCHA v2 Enterprise): This version asks users to perform a task, like selecting all images with cars or traffic lights, to prove they're human. There are two types of reCAPTCHA v2: "I'm not a robot" Checkbox and Invisible reCAPTCHA badge. The first one requires the user to check a box, while the second one can decide on its own whether a user is a bot or not, and only in suspicious cases will it require additional confirmation.

  • reCAPTCHA v3 (also available as reCAPTCHA v3 Enterprise): This version returns a score based on the interactions with the website, allowing the website owner to decide what to do depending on the score. It doesn't interrupt the user flow because it doesn't require user interaction like v2 does. It's a more advanced and user-friendly system, but it requires more decision-making from the site owner.

  • **reCAPTCHA Android (or reCAPTCHA for mobile): ** This is designed specifically for mobile apps. It's essentially a version of reCAPTCHA v2 or v3 that's been optimized for mobile interfaces. It helps protect your app from spam and other abusive actions.

How to bypass reCAPTCHA?#

NextCaptcha’s reCAPTCHA Solver auto reCAPTCHA solving service is solved by machine learning

reCAPTCHA captcha solver: How to solve reCAPTCHA using bypass API#

Payment is only for successfully solved. Solving reCAPTCHA using the API is a great way to automate the bypassing process. To use the API a user must register on NextCaptcha. Once the profile is activated, the user can start using the API.

Send Request#

Send an API request to create a captcha solver task with payload . List of required parameters:
{
    "clientKey":"api key",
    "task": {
        "type":"RecaptchaV2TaskProxyless",
        "websiteURL":"https://www.google.com/recaptcha/api2/demo",
        "websiteKey":"6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"
    }
}
If everything is OK you will receive the response with your captcha solver taskId.Example:
{
    "errorId": 0,
    "taskId": 942788349,
    "status": "pending"
}
The taskId should be used to query the result.

Getting a response#

Send an API request to getting the captcha solver task result. List of required parameters:
{
  "clientKey": "api key",
  "taskId": 1781234567890
}
In response, the API should return a gRecaptchaResponse token. The received token should be used to pass the puzzle in the format:
{
    "errorId": 0,
    "taskId": 942788349,
    "status": "ready",
    "solution": {
        "gRecaptchaResponse": "03AFcWeA7oT2VL8ng3JWjkONPrfBHWdHLRaVhht1tpyG5Owrh95rDF6iIfpIrRSIrTJMSYOvi12zTgDiLYdTPKfkAZ24-Xtg0GzU9EvgXKQvl_qQDvrwSFDoDslal8JqOhPRISi0DMicwW8jC5gb4o1YXj9nhl9pEMl2yLMaQ85urBU7GDi-R2LsQjWs-0LLlqcab1jSafYAfphB7kpelXUAfYoQEGvEh0PLJAdJc85W32B5HIuVyHSczTXZX_kGuaEGMOM6mYjvwWUQEhcIJsg-f6DkHmphJF9mdrfBrfJUVKKlqG6DN4OYdSGxPoENX5M26n13P07mBD5roJ_mealbaN5EuW-Tp1MlAfeLVZB5Yr40_RPbIVW6nCU-BhCIk2LnSL0FBNPiX8MHo6UDlVtSP2c-DImAUNl9yJT5vCrULqu0aILPfyuEPoCQY1P9D7fUDEqwn_sDF7C41Pvd6cFVWFaGiMQXk44xpBOv9ggfCt1lYBVWzpPWlYZp0Q7GZNt8lWuB77AkrVFcDjprhRw79K58AI9SFeY6LthJc_5nhgi20XF7kbxwwAKqFzmFoKA0nlmPZbMmVYtn2gMJ1wcDG1uqHKxMQBVZpx5NSh3WamJCDmlZItcpaFhMq6SyoC8T7NYsoeVLqlTBCcRQH-J6G4O2AgvSfMrlPmvWqzzHspMlYS2YuQP_lk0c2ftlmXuKxw24GrVK8bT2_v2IEOvm7ZrNIOD45PjPPRMok4TPXQMYwM0wBmtsY"
    }
}
 

Code examples#

sample code for solve recaptcha v2 in python#

from nextcaptcha import NextCaptchaAPI
 
api = NextCaptchaAPI(client_key="YOUR_CLIENT_KEY")
 
result = api.recaptchav2(website_url="https://example.com", website_key="SITE_KEY")

sample code for solve recaptcha v2 enterprise in python#

from nextcaptcha import NextCaptchaAPI
 
api = NextCaptchaAPI(client_key="YOUR_CLIENT_KEY")
 
result = api.recaptchav2enterprise(website_url="https://example.com", website_key="SITE_KEY")

sample code for solve recaptcha v3 enterprise in python#

from nextcaptcha import NextCaptchaAPI
 
api = NextCaptchaAPI(client_key="YOUR_CLIENT_KEY")
 
result = api.recaptchav3(website_url="https://example.com", website_key="SITE_KEY")

sample code for solve recaptcha mobile in python#

from nextcaptcha import NextCaptchaAPI
 
api = NextCaptchaAPI(client_key="YOUR_CLIENT_KEY")
 
result = api.recaptcha_mobile(app_key="APP_KEY", app_package_name="APP_PACKAGE_NAME", app_action="APP_ACTION")

Price#

The price for 1000 recognitions is $0.5-$0.8.

References#

Detailed information on bypassing reCAPTCHA is published on the API page. Code examples in different programming languages:

Conclusion#

For successful data retrieval, you need a powerful tool to rely completely on in order to handle CAPTCHA. NextCaptcha provides an easy-to-setup API that enables you to overcome all anti-bot challenges, and you can try it for free today.