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

PropertyTypeRequiredDefault valuePurpose
keyStringYes
bodyStringYesFile body encoded in base64. Make sure to send it without line breaks. Do not include 'data:image/png,' or similar tags, only clean base64!
phraseBooleanNofalse - no requirements - 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.
regsenseBooleanNotrue - no requirements - workers see a special mark indicating that the answer must be entered with case sensitivity.
numericIntegerNo0 - no requirements - only numbers are allowed - any letters are allowed except numbers
calcBooleanNofalse - no requirements - only numbers are allowed - any letters are allowed except numbers
min_lenIntegerNo0 - no requirements - defines minimum length of the answer
max_lenIntegerNo0 - no requirements - defines maximum length of the answer
commentStringNoAdditional comments for workers like "enter red text". The result is not guaranteed and is totally up to the worker.
soft_idIntegerNo
is_russianIntegerNoWhen set to 1, sends captcha tasks to the Russian language queue.

Response example

No errors
Has errors
OK|CAPTCHA_ID_HERE

Retrieve the solution

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

No errors
Captcha not solved yet
Has errors
OK|text_from_captcha