Supported task types
API methods
Articles
Tutorials
GitHub icon
GitHub
Tutorial pages

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!
phraseBooleanNofalsefalse - 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.
regsenseBooleanNotruefalse - no requirements
true - workers see a special mark indicating that the answer must be entered with case sensitivity.
numericIntegerNo00 - no requirements
1 - only numbers are allowed
2 - any letters are allowed except numbers
calcBooleanNofalse0 - no requirements
1 - only numbers are allowed
2 - any letters are allowed except numbers
min_lenIntegerNo00 - no requirements
>1 - defines minimum length of the answer
max_lenIntegerNo00 - no requirements
>1 - 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