Documentation menu

Legacy API v.1

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

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 worker to enter an answer with at least one "space". If there's no space, they will skip the task, so use it with caution.
regsense Boolean No true false - no requirements
true - worker will see a special mark telling that answer must be entered with case sensitivity.
numeric Integer No 0 0 - no requirements
1 - only number are allowed
2 - any letters are allowed except numbers
calc Boolean No false 0 - no requirements
1 - only number 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 comment for workers like "enter letters in red color".
Result is not guaranteed and is totally up to a worker.
soft_id Integer No
is_russian Integer No When set to 1, sends captcha tasks to 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