Documentation menu

Legacy API v.1

This API is still working but no longer updated to support new types of tasks. The only task it supports is standard image captcha.

Address: http://anti-captcha.com/in.php
Method: POST
Content-type: multipart/form-data

Task object

Property Type Required Default value Purpose
key String Yes
body String Yes File body encoded in base64. Make sure to send it without line breaks. Do not include 'data:image/png,' or similar tags, only clean base64!
phrase Boolean No false false - no requirements
true - requires workers to enter an answer with at least one "space". If there are no spaces, they will skip the task, so use it with caution.
regsense Boolean No true false - no requirements
true - workers see a special mark indicating that the answer must be entered with case sensitivity.
numeric Integer No 0 0 - no requirements
1 - only numbers are allowed
2 - any letters are allowed except numbers
calc Boolean No false 0 - no requirements
1 - only numbers are allowed
2 - any letters are allowed except numbers
min_len Integer No 0 0 - no requirements
>1 - defines minimum length of the answer
max_len Integer No 0 0 - no requirements
>1 - defines maximum length of the answer
comment String No Additional comments for workers like "enter red text".
The result is not guaranteed and is totally up to the worker.
soft_id Integer No
is_russian Integer No When set to 1, sends captcha tasks to the Russian language queue.

Response example

No errors
        OK|CAPTCHA_ID_HERE
      
Has errors
        ERROR_KEY_DOES_NOT_EXIST
      

Retrieve the solution

Send GET request to https://anti-captcha.com/res.php?key=YOUR_KEY&action=get&id=CAPTCHA_ID

No errors
        OK|text_from_captcha
      
Captcha not solved yet
        CAPCHA_NOT_READY
      
Has errors
        ERROR_KEY_DOES_NOT_EXIST