getQueueStats
Current load of a task queue: waiting tasks, worker load, prices and average solving time. No key needed.
이 섹션은 영어로 표시됩니다.
GET https://neurocaptcha.com/getQueueStats?queueId=6
POST https://neurocaptcha.com/getQueueStatsThe load of a queue — useful to decide whether to send tasks now. No key is needed. Only live tasks are counted.
Request#
파라미터설명
queueIdinteger- Queue id (below). Missing or unknown — all task types.
| queueId | Task types |
|---|---|
5 | RecaptchaV2Task, RecaptchaV2EnterpriseTask |
6 | RecaptchaV2TaskProxyless, RecaptchaV2EnterpriseTaskProxyless |
18, 19, 20 | RecaptchaV3TaskProxyless, RecaptchaV3EnterpriseTaskProxyless, RecaptchaV3EnterpriseTask — one queue, three ids for compatibility with Anti-Captcha |
Example#
import requests
response = requests.post("https://neurocaptcha.com/getQueueStats", json={
"queueId": 6,
}, timeout=30)
print(response.json())Response#
{
"errorId": 0,
"waiting": 3,
"load": 42.5,
"bid": 0.6,
"speed": 7.4,
"total": 40,
"minCost": "0.600000",
"maxCost": "1.500000",
"avgSolutionTime": 7
}파라미터설명
waitinginteger- Tasks waiting in the queue.
loadnumber- Busy workers, percent (0–100).
totalinteger- Workers online.
speednumber- Average time from creation to solution over the last 10 minutes, seconds.
avgSolutionTimeinteger- The same, rounded to whole seconds.
bidnumber- The lowest price per 1000 tasks in this queue, USD.
minCoststring- The lowest price per 1000 tasks, USD with 6 decimals.
maxCoststring- The highest price per 1000 tasks, USD with 6 decimals.