Last updated:
3 min read
Take your automation tasks to next level with 2captcha
Rakesh Potnuru

Take your automation tasks to next level with 2captcha

Captcha is used on websites to avoid spam. Now, there are lots of services and tools you can use to crack the Captcha. But why? Why does someone want to crack the Captchas? Let's take an example- You want to build automation software to publish a post on some website that requires you to solve a Captcha in order to post there and you want to bypass that Captcha. Don't ask why someone wants to automate this because there may be many reasons maybe you want to repost that same post on different sites to reach more audience.

Some Captchas like text captchas can be easily cracked with some machine learning and image recognition stuff. But with reCaptcha it's not possible to crack with code, we have to solve it manually. So how can we overcome this 🤔? And the only solution is to actually solve it manually. But what about our automation software 😞? Don't worry, here comes 2Captcha into rescue.

2Captcha is a Captcha-solving software to bypass any type of captcha. Wait, wait, wait... the only solution is to manually solve the Captcha, then how 2Captcha is able to solve these Captchas? Because these Captchas are solved by real humans.

How does it work?

How this works depends on different types of Captchas. But here is the overview.

  1. You send the puzzle.
  2. Workers at 2Captcha solve the puzzle and send back the answer.
  3. You use that response to automatically solve the puzzle.

2Captcha mind map

Let's see how to implement this

2Captcha supports many different Captchas, in this blog, we will solve reCAPTCHA V2.


  1. Signup for a 2Captcha account.
    • Choose I'm a developer.
  2. Get the API key.

Try out

  • Open any website that uses reCaptcha v2.


  • Inspect the element and find the data-sitekey

Screenshot 2022-02-24 111932.png

  • Now we have to make HTTP get request to

The get request we have to make:


4 Params

  • key - Your API key
  • method - userrecaptcha
  • googlekey - reCaptcha data-sitekey which we got in previous step
  • pageurl - URL of the page that contains reCaptcha

Here is an example:

  • If you did everything correctly, you will get a response like this:
1{ 2 "status": 1, 3 "request":"2122988149" 4}
  • Wait for 15-20 seconds and make a get request to

The get request we have to make:


3 Parameters

  • key - Your API key
  • action - get
  • id - "request id" which we got from previous step

Here is an example:

  • 2Captcha solves the reCaptcha and send back a token which will look like this:
  • Now we have to insert that token into our reCAPTCHA textarea.

To do this,

  • While you are in dev tools, go to console, type this in console, and press enter.

Screenshot 2022-02-24 124204.png

  • And then submit the form.

That's it! We solved the captcha without actually solving the captcha.

All this makes sense when we use this somewhere. As you are building automation software, try to automate this.

Few things to note:

  1. We are not hacking anything.
  2. As these captchas are solved by real humans, the results are accurate.

Hope you found this useful.



Hiring Angular Developers in 2023: Insider Tips & Strategies

    5 min read

Hiring Angular Developers in 2023: Insider Tips & Strategies

Does your company struggle to create a modern, high-performance, cross-platform web app? Do you desire cost-effective development without compromising future software quality? Many web development teams utilize Angular to build complicated single-page apps. Hiring Angular programmers is difficult.

How Feature Flags Can Help You Ship Faster and Smarter?

    8 min read


How Feature Flags Can Help You Ship Faster and Smarter?

Are you tired of long development cycles and hesitant to push new features to production? Feature flags may be the solution you're looking for. In this blog post, we'll explore how feature flags can streamline your development process, reduce the risk of errors, and give you more control over the features you release to your users. From testing new features to rolling out changes to a select group of users, feature flags can help you do it all. Keep reading to learn how you can start using feature flags in your development workflow today.

Subscribe to Newsletter


  • Never miss an update.
  • Get articles and snippets directly to your inbox.
  • Subscribe to stay connected and avoid getting lost among millions of websites.


  • Coming soon...