FunCAPTCHA - Arkose Labs

First, you need to locate the
Publickey
in the page with Arkose Labs captchaPublic key can be found inside
data-pkey
parameter of funcaptcha's div element or inside an input element with name fc-token
- just extract the key indicated after pk
from the value of this element. 
POST
https://api.anycaptcha.com/createTask
name | type | required | description |
clientKey | text | yes | |
task.type | text | yes | FunCaptchaTaskProxyless |
task.websitePublicKey | text | yes | Value of pk or data-pkey parameter you found on page |
task.websiteURL | text | yes | Full URL of the page where you see the FunCaptcha |
POST /createTask HTTPS/1.1
Host: api.anycaptcha.com
Content-Type: application/json
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "FunCaptchaTaskProxyless",
"websitePublicKey": "E8A75615-1CBA-5DFF-8032-D16BCF234E10",
"websiteURL": "https://account.battle.net/creation/flow/creation-full"
}
}
success
error
server will return
errorId = 0
and taskId
for success{
"errorId": 0,
"taskId": 123456
}
server will return
errorId > 0
and errorCode
{
"errorId": 1,
"errorCode": "ERROR_KEY_DOES_NOT_EXIST",
"errorDescription": "ERROR_KEY_DOES_NOT_EXIST"
}
POST
https://api.anycaptcha.com/getTaskResult
name | type | required | description |
clientKey | text | yes | |
taskId | number | yes | the taskId |
POST /getTaskResult HTTP/1.1
Host: api.anycaptcha.com
Content-Type: application/json
{
"clientKey": "YOUR_API_KEY",
"taskId": 123456
}
success
processing
error
{
"errorId": 0,
"status": "ready",
"solution": {
"token": "1614fe286944949.9151016901|r=us-east-1|meta...."
}
}
{
"errorId": 0,
"status": "processing"
}
{
"errorId": 1,
"errorCode": "ERROR_CAPTCHA_UNSOLVABLE",
"errorDescription": "ERROR_CAPTCHA_UNSOLVABLE"
}
errorId = 0
andstatus = ready
: Solved successfully, read result insolution.token
errorId = 0
andstatus = processing
: The task is not ready yet, sleep 2s then remakeerrorId > 0
: error identifier. Error code and short description transferred in errorCode and errorDescription properties
Last modified 1yr ago