getQueueStats
JSON methods
Token tasks
- reCAPTCHA v2
- reCAPTCHA v2 Enterprise
- reCAPTCHA v3
- Cloudflare Turnstile
- GeeTest v3 / v4
- FunCaptcha (Arkose Labs)
- Amazon AWS WAF
- MTCaptcha
- Friendly Captcha
- Lemin Cropped Captcha
- DataDome
- KeyCaptcha
- Capy Puzzle
- Cloudflare Challenge page
- Cutcaptcha
- CyberSiARA
- atbCAPTCHA
- Tencent Captcha
- Prosopo Procaptcha
- CaptchaFox
- Altcha
- NetEase Yidun
- Yandex SmartCaptcha
- VK Captcha
- Binance Captcha
- Custom task (Imperva, Temu and others)
getQueueStats
Returns the current queue: tasks waiting, tasks being solved and the average solving time over the last hour. The numbers come from real tasks, not estimates.
POSThttps://unlock-api.com/getQueueStats
Request parameters
clientKeyStringRequired
Your API key, 32 characters, from the account page.
Request
POST /getQueueStats
{
"clientKey": "YOUR_API_KEY"
}Response
Success
{
"errorId": 0,
"waiting": 3,
"solving": 12,
"speed": 6.4,
"total": 15
}Response fields
errorIdInteger
0 when the request worked, 1 when it did not.
waitingInteger
Tasks waiting to be sent to a solver.
solvingInteger
Tasks being solved now.
speedNumber
Average solving time in seconds over the last hour, or null if nothing was solved.
totalInteger
waiting plus solving.
Code samples
curl -s https://unlock-api.com/getQueueStats \
-H "Content-Type: application/json" \
-d '{"clientKey":"YOUR_API_KEY"}'import requests
r = requests.post("https://unlock-api.com/getQueueStats", json={
"clientKey": "YOUR_API_KEY"
}).json()
print(r)const r = await fetch("https://unlock-api.com/getQueueStats", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"clientKey": "YOUR_API_KEY"
}),
}).then((res) => res.json());
console.log(r);Errors this method can return
The key is wrong. Copy it again from the account page. (in.php and res.php: ERROR_WRONG_USER_KEY)