How to Solve reCAPTCHA: Why It Appears and Which Method to Use
reCAPTCHA is Google's "I'm not a robot" check that websites put on login, sign-up and submission forms. A regular visitor passes it with one click on the checkbox or by picking images. It becomes a problem when you have to pass it often or automatically: in automated tests, data collection, scripts and AI agents.
This page explains which reCAPTCHA versions exist, why the check appears and which solving method to choose. The API parameters are on the pages linked from each section.
You can see reCAPTCHA in action on the reCAPTCHA demo page.
reCAPTCHA Versions
| Version | What it looks like | How it is solved |
|---|---|---|
| reCAPTCHA v2 checkbox | The "I'm not a robot" checkbox, sometimes followed by a 3?3 or 4?4 image grid | Image clicks or a token |
| Invisible reCAPTCHA v2 | No checkbox; the image grid appears only when the check is in doubt | A token, or clicks if the grid appears |
| reCAPTCHA v3 | Nothing visible: the check runs in the background and the site gets a token | A token only |
| reCAPTCHA Enterprise | Looks like v2 or v3, but runs through Google's corporate service | A token with enterprise=1 |
How to tell them apart: v2 has a g-recaptcha element with a data-sitekey attribute in the page code; v3 loads the script as api.js?render=SITEKEY and calls grecaptcha.execute; Enterprise loads enterprise.js instead of api.js.
Why reCAPTCHA Appears
Google scores every visitor by many signals and shows the check when it is not sure it is dealing with a person. reCAPTCHA appears most often when:
- many requests come from one IP address, or the address is shared with other people (public Wi-Fi, VPN, mobile carrier);
- the browser runs under automation or has no history and cookies;
- actions on the page happen too fast and too uniformly;
- the site itself turned on a strict check for everyone, for example on the login page.
If you are just a visitor and reCAPTCHA keeps showing up, turning off the VPN, signing in to your Google account and keeping cookies between browser sessions usually helps.
Ways to Solve reCAPTCHA
| Method | Fits when | What you need |
|---|---|---|
| By hand | reCAPTCHA appears rarely | Nothing |
| Browser extension | You work in a browser by hand or in an anti-detect browser | The Cap.guru extension for Chrome or Firefox |
| Image clicks via API | A script drives the browser (Selenium, Playwright, Puppeteer) and has to pass the check on the page | reCAPTCHA image click API |
| Token via API | You only need a ready g-recaptcha-response, without clicks, or the site uses v3 | reCAPTCHA v2 token, reCAPTCHA v3 token |
| Ready module | You write in Python or Node.js | Python module, Node.js module |
Browser extension
The simplest way, with no code. The extension notices reCAPTCHA on the page, sends it to the recognition service and clicks the right images by itself. Install it from the Chrome Web Store or Firefox Add-ons and paste your API key. Details are on the extension page.
Image clicks via API
Your script takes a screenshot of the image grid, sends it with the task text (for example, crosswalks) and gets back where to click: coordinates (click=recap) or cell numbers (click=recap2, for example 1,2,6,9). Then it clicks them on the page. If new images appear after the clicks, the steps are repeated.
This way the check is passed right on the page, as a regular visitor would pass it. Parameters, response formats and code examples are on the reCAPTCHA image click API page.
Token via API
You send the site key (sitekey) and the page URL to the API and get a ready token. You put it into the g-recaptcha-response field or pass it to the function the site calls after the check. Nothing has to be clicked. For reCAPTCHA v3 this is the only option, since it has no images.
Details: reCAPTCHA v2 and invisible v2 token, reCAPTCHA v3 and v3 Enterprise token.
Ready modules
If you do not want to write the task submission and polling yourself:
- the Python module solves reCAPTCHA in Playwright and Selenium with one
solve_recaptcha2()call; - the Node.js module does the same in Puppeteer.
Clicks or Token: Which to Choose
- Clicks when your script already drives a browser and the site checks that reCAPTCHA was passed on the page itself. You need to take a screenshot and click.
- A token when there is no browser or you do not need one, when the site uses reCAPTCHA v3, or when inserting a ready answer is easier than clicking. A token is valid for about two minutes and for one check only, so request it right before submitting the form.
If you are not sure, start with a token: it is easier to connect. If the site does not accept it, switch to clicks.
Frequently Asked Questions
Which reCAPTCHA tasks are recognized? All standard ones: cars, bicycles, boats, bridges, buses, chimneys, crosswalks, hydrants, motorcycles, mountains, palm trees, traffic lights, tractors, taxis, stairs and parking meters. New tasks are added as they appear. Send the task text in English, whatever the page language.
What if the clicks miss the images? Check that the screenshot contains the whole grid without cropping and that its size matches the size of reCAPTCHA on the screen. More on the reCAPTCHA image click API page.
Why does the site reject the token? Most often the token was issued for another page URL or another sitekey, was used later than two minutes after it was issued, or was used twice. reCAPTCHA Enterprise needs enterprise=1.
How much does it cost? You pay only for solved captchas. Prices for each type are on the pricing page.
Where do I get an API key? Sign up at ru.cap.guru and copy the key from your dashboard.