anycaptcha.com
Searchโ€ฆ
hCAPTCHA
hCaptcha is a quite new type of captcha that is really similar to reCAPTCHA and looks like this:
First, you need to find the value of data-sitekey parameter in the source code of the page.

1. CREATE TASK

Request

POST https://api.anycaptcha.com/createTask
name
type
required
description
clientKey
text
yes
client account key, can be found hereโ€‹
task.type
text
yes
HCaptchaTaskProxyless
task.websiteURL
text
yes
Address of a target web page. Can be located anywhere on the web site, even in a member area. Our workers don't navigate there but simulate the visit instead.
task.websiteKey
text
yes
hCaptcha sitekey
1
POST /createTask HTTP/1.1
2
Host: api.anycaptcha.com
3
Content-Type: application/json
4
โ€‹
5
{
6
"clientKey": "YOUR_API_KEY",
7
"task": {
8
"type": "HCaptchaTaskProxyless",
9
"websiteURL": "https://hcaptcha.com/"
10
"websiteKey": "00000000-0000-0000-0000-000000000000"
11
}
12
}
Copied!

Response

success
error
server will return errorId = 0 and taskId for success
1
{
2
"errorId": 0,
3
"taskId": 123456
4
}
Copied!
server will return errorId > 0 and errorCode
1
{
2
"errorId": 1,
3
"errorCode": "ERROR_KEY_DOES_NOT_EXIST",
4
"errorDescription": "ERROR_KEY_DOES_NOT_EXIST"
5
}
Copied!

2. GET TASK RESULT

Request

POST https://api.anycaptcha.com/getTaskResult
name
type
required
description
clientKey
text
yes
client account key, can be found hereโ€‹
taskId
number
yes
the taskId
1
POST /getTaskResult HTTP/1.1
2
Host: api.anycaptcha.com
3
Content-Type: application/json
4
โ€‹
5
{
6
"clientKey": "YOUR_API_KEY",
7
"taskId": 123456
8
}
Copied!

Response

success
processing
error
1
{
2
"errorId": 0,
3
"status": "ready",
4
"solution": {
5
"gRecaptchaResponse": "3AHJ_VuvYIBNBW5yyv0zRYJ75VkOK....."
6
}
7
}
Copied!
1
{
2
"errorId": 0,
3
"status": "processing"
4
}
Copied!
1
{
2
"errorId": 1,
3
"errorCode": "ERROR_CAPTCHA_UNSOLVABLE",
4
"errorDescription": "ERROR_CAPTCHA_UNSOLVABLE"
5
}
Copied!
  • errorId = 0 and status = ready : Solved successfully, read result in solution.text
  • errorId = 0 and status = processing: The task is not ready yet, sleep 2s then remake
  • errorId > 0: error identifier. Error code and short description transferred in errorCode and errorDescription properties
โ€‹
โ€‹
โ€‹
โ€‹
โ€‹
โ€‹
โ€‹
โ€‹
โ€‹
โ€‹
โ€‹
โ€‹
โ€‹
โ€‹
โ€‹
โ€‹
โ€‹
โ€‹
โ€‹
โ€‹
โ€‹
โ€‹
โ€‹