getQueueStats
Métodos JSON
Tarefas de token
- 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
- Página de desafio do Cloudflare
- Cutcaptcha
- CyberSiARA
- atbCAPTCHA
- Tencent Captcha
- Prosopo Procaptcha
- CaptchaFox
- Altcha
- NetEase Yidun
- Yandex SmartCaptcha
- VK Captcha
- Binance Captcha
- Tarefa personalizada (Imperva, Temu e outras)
getQueueStats
Retorna a fila atual: tarefas aguardando, tarefas em resolução e o tempo médio de resolução na última hora. Os números vêm de tarefas reais, não de estimativas.
POSThttps://unlock-api.com/getQueueStats
Parâmetros da requisição
clientKeyStringObrigatório
Sua chave de API, com 32 caracteres, da página da conta.
Requisição
POST /getQueueStats
{
"clientKey": "YOUR_API_KEY"
}Resposta
Sucesso
{
"errorId": 0,
"waiting": 3,
"solving": 12,
"speed": 6.4,
"total": 15
}Campos da resposta
errorIdInteger
0 quando a requisição deu certo, 1 quando não deu.
waitingInteger
Tarefas aguardando envio para um resolvedor.
solvingInteger
Tarefas sendo resolvidas agora.
speedNumber
Tempo médio de resolução em segundos na última hora, ou null se nada foi resolvido.
totalInteger
waiting mais solving.
Exemplos de código
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);Erros que este método pode retornar
A chave está errada. Copie de novo na página da conta. (in.php e res.php: ERROR_WRONG_USER_KEY)