New way of solving ReCaptcha V2

 

 

This method allows passing captchas without the need to emulate browser and sending us images, also it gives 100% solving accuracy.

UPD February 24, 2017 Not long ago Google updated ReCaptcha V2 with invisible version.
Read how to deal with invisible ReCaptcha.

UPD September 1, 2016 At the moment ReCaptcha can be solved for any website. It's required to send us the url of the website where you get ReCaptcha (it wasn't required before). Sending the proxy information is not obligatory yet but it's recommended.

UPD November 9, 2016 We've added some new examples for ReCaptcha V2 API check them out here.

Intro:

Let's start with couple of words on captcha's algorhytm, let's see what traffic and at which point is being sent.

1. User enters the page and the recaptcha form is uploaded from google
2. User clicks the checkbox and solves the captcha
3. When the captcha is solved, google checks the answer and returns code to the user in the field <textarea id="g-recaptcha-response"
4. User fills all the forms on the page
5. User sends these forms. At the same time code is sent from the field "g-recaptcha-response"
6. Site receives data from the users and sends a request to google to check code's validity from the field "g-recaptcha-response"
7. Google checks the validity of the code. If the code is valid the site continues processing user's data

For additional information and a step-by-step instruction please see How to solve recaptcha without the use of the browser emulation

Recaptcha solving scheme:

1. You fill all the needed fields
2. You send us Site_Key from the site + additional data ( optional: URL of the page, where you've encountered the captcha, PROXY that you use)
3. We upload captcha to our server and assign a worker to solve it
4. When the worker solves his captcha we receive g-recaptcha-response
5. We return g-recaptcha-response to you
6. You enter our answer into the field g-recaptcha-response and pass the form

Price:

1000 for $2,99

Where do I get and where do I input the data?

Browse HTML-code of the page, where you've encountered the captcha:

1. Find this parameter
data-sitekey=
This is site's key, it is constant and unique for each site (unless admin changes it manually)
Return the key back to us as parameter
googlekey=%data-sitekey%

2. Find the field for text
<textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 40px; border: 1px solid #c1c1c1; margin: 10px 25px; padding: 0px; resize: none; "></textarea>
You will need to enter our answer here

 

 

API for communication with our server:

Adress for uploading your captcha: http://2captcha.com/in.php
After sending your data you will receive an answer in this format:
OK|CAPTCHA_ID
Where CAPTCHA_ID is an ID of a captcha, which you need to address in the time needed to solve it to get the answer

Parameters you need to send to our server:

POST parameter value parameter description
key YOUR_API_KEY Necessary parameter. YOUR_API_KEY from your 2captcha account can be found at https://2captcha.com/setting
method userrecaptcha Necessary parameter. This parameter tells us that this is a recaptcha, which needs to be solved on our side
googlekey %data-sitekey% Necessary parameter. Open key of the site, where recaptcha is installed, can be found in the page's HTML
proxy %IP proxy% Necessary parameter. Worker solves captchas through the specified proxy
proxytype

HTTP
HTTPS
SOCKS4
SOCKS5

Type of proxy
pageurl %URL% Necessary parameter. URL of the page where the recaptcha is encountered. You can specify either a domain name or the whole URL. After the captcha is assigned to a worker he will get its context from the site
json 1 Unnecessary parameter. Receiving answer in JSON format from the server. Works for in.php и res.php
Status = 1 request successful
Status = 0 error

Upload the captcha and get CAPTCHA_ID:
http://2captcha.com/in.php?key=YOUR_API_KEY&method=userrecaptcha&googlekey=googlekey&pageurl=site.com

Address for getting the answer:
http://2captcha.com/res.php?key=YOUR_API_KEY&action=get&id=CAPTCHA_ID
YOUR_API_KEY - KEY from your account on 2captcha, it can be found here https://2captcha.com/setting
CAPTCHA_ID - ID of a captcha you receive after uploading

To receive answer in JSON format, make a request:
http://2captcha.com/res.php?key=YOUR_API_KEY&action=get&id=CAPTCHA_ID&json=1

 

Examples

C# VB.NET Example

Java Example

PHP Example

Python Example

iMacros Example

C++ Example

C# Example

PHP library by jumper423

Check our GitHub repo and api examples page for more examples

 

Additionally

For now our functionality means that worker solves captcha from one IP, and you solve it from the other. In theory google can notice it and ban your IP. Soon we will add a feature allowing the worker to solve a captcha through the same proxy-server that you use. This is the reason why we advise you to start sending us address of your proxy server and URL of the page where you encountered the captcha now.

How to send us proxies:

If authorization on your proxy is done with login/password:
Your case:
login: login
password: password
Proxy IP: 123.123.123.123
port: 3128
type: SOCKS4

Format for sending to 2captcha.com
proxy="login:password@123.123.123.123:3128"
proxytype="SOCKS4"

If your proxy allows access from a limited quantity of IPs
add our server's IP to the list of IPs that can send requests to your proxies:
138.201.189.84
Warning! This IP-address can change, if your proxy is linked to IP, we recommend you to monitor changes on this page.

Your case:
Proxy IP: 123.123.123.123
port: 80
type: HTTP
Format for sending to 2captcha.com
proxy="123.123.123.123:80"
proxytype="HTTP"