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 | |
regsense | Boolean | No | true | |
numeric | Integer | No | 0 | |
calc | Boolean | No | false | |
min_len | Integer | No | 0 | |
max_len | Integer | No | 0 | |
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, it 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