How to automatically solve Text Captcha?

#1
maxresdefault[1].jpg
Text Captcha is a type of captcha that is represented as text and doesn't contain images. Usually you have to answer a question to pass the verification.​
For example: "If tomorrow is Saturday, what day is today?".​
To solve text captcha with our service you have to submit the text as a value of textcaptcha parameter with HTTP POST request to our API URL: http://2captcha.com/in.php

Sample form for Text Captcha

Code:
<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

</head>



<body>

<form method="post" action="http://2captcha.com/in.php" enctype="multipart/form-data" accept-charset="UTF-8">

Your key:

<input type="text" name="key" value="YOUR_APIKEY">

<input type="text" name="textcaptcha" value="If tomorrow is Saturday, what day is today?">

<input type="submit" value="Send and get the ID">

</form>

</body>

</html>
YOUR_APIKEY is your API key.

You can provide additional parameters with your request to tell us more about your captcha and to help workers to solve it correctly. You can find the full list of parameters in the table below.

If everything is fine server will return the ID of your captcha as plain text, like: OK|2122988149 or as JSON {"status":1,"request":"2122988149"} if json parameter was used.

If something went wrong server will return an error. See Error Handling chapter for the list of errors.

Make a 5 seconds timeout and submit a GET request to our API URL: http://2captcha.com/res.php providing the captcha ID. The list of parameters is in the table below.

If everything is fine and your captcha is solved server will return the answer as plain text, like: OK|TEXT or as JSON {"status":1,"request":"TEXT"} if json parameter was used.

Otherwise server will return CAPCHA_NOT_READY that means that your captcha is not solved yet. Just repeat your request in 5 seconds.

If something went wrong server will return an error. See Error Handling chapter for the list of errors.

List of POST request parameters for http://2captcha.com/in.php

93a7f82a1e[1].png

92daed540f[1].png

Request URL example:
http://2captcha.com/res.php?key=1abc234de56fab7c89012d34e56fa7b8&action=get&id=2122988149