Solve coordinates captchas

CAPTCHAFORUM

Administrator
1629980987438.png
This method allows you to solve any captcha that requires clicking on images, like reCAPTCHA V2, hCaptcha, etc.​
To solve the captcha you have to:
  1. Get an image and an instruction that tells you what to click.
  2. Submit a HTTP POST request to our API URL: http://2captcha.com/in.php providing coordinatescaptcha parameter set to 1.
    Server accepts images in multipart or base64 format.
    You can provide instruction as text using textinstructions parameter, but it's not obligatory if the instruction is already indicated on the image.
    But don't forget to indicate the language
    The full list of parameters is in the table below.
  3. Server will return captcha ID or an error code if something went wrong.
  4. Make a 5 seconds timeout and submit a HTTP GET request to our API URL: http://2captcha.com/res.php to get the result.
    If captcha is already solved server will return the answer with coordinates of points where you have to click, for example: OK|coordinate:x=39,y=59;x=252,y=72. Where the point with x=0,y=0 is the upper left corner of the image.
    If captcha is not solved yet server will return CAPCHA_NOT_READY result. Repeat your request in 5 seconds.
    If something went wrong server will return an error code.
  5. You simulate clicks on coordinates from the answer.
    Multipart sample form for Coordinates method
    Code:
    <form method="post" action="http://2captcha.com/in.php" enctype="multipart/form-data">
    <input type="hidden" name="method" value="post">
    <input type="hidden" name="coordinatescaptcha" value="1">

    Your key:
    Code:
    <input type="text" name="key" value="YOUR_APIKEY">
    Captcha image file:
    <input type="file" name="file">
    Instruction:
    <input type="text" name="textinstructions" value="Click on ghosts">
    <input type="submit" value="Upload and get the ID">
    </form>

    YOUR_APIKEY is Your API key.
    Base64 sample form for Coordinates method
    Code:
    <form method="post" action="http://2captcha.com/in.php">
    <input type="hidden" name="method" value="base64">
    <input type="hidden" name="coordinatescaptcha" value="1">

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

    Captcha image body in base64 format:
    Code:
    <textarea name="body">BASE64_FILE</textarea>
    Instruction
    <input type="text" name="textinstructions" value="Click on ghosts">
    <input type="submit" value="Upload and get the ID">
    </form>

    YOUR_APIKEY is your API key.
    BASE64_FILE is base64-encoded image body of the captcha.

    1629980770361.png

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