NeuroCaptcha

getQueueStats

Current load of a task queue: waiting tasks, worker load, prices and average solving time. No key needed.

Ta sekcja jest wyświetlana po angielsku.

Na tej stronie
Endpoint
GET https://neurocaptcha.com/getQueueStats?queueId=6
POST https://neurocaptcha.com/getQueueStats

The load of a queue — useful to decide whether to send tasks now. No key is needed. Only live tasks are counted.

Request#

queueId
integer
Queue id (below). Missing or unknown — all task types.
queueIdTask types
5RecaptchaV2Task, RecaptchaV2EnterpriseTask
6RecaptchaV2TaskProxyless, RecaptchaV2EnterpriseTaskProxyless
18, 19, 20RecaptchaV3TaskProxyless, 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#

Success
{
  "errorId": 0,
  "waiting": 3,
  "load": 42.5,
  "bid": 0.6,
  "speed": 7.4,
  "total": 40,
  "minCost": "0.600000",
  "maxCost": "1.500000",
  "avgSolutionTime": 7
}
waiting
integer
Tasks waiting in the queue.
load
number
Busy workers, percent (0–100).
total
integer
Workers online.
speed
number
Average time from creation to solution over the last 10 minutes, seconds.
avgSolutionTime
integer
The same, rounded to whole seconds.
bid
number
The lowest price per 1000 tasks in this queue, USD.
minCost
string
The lowest price per 1000 tasks, USD with 6 decimals.
maxCost
string
The highest price per 1000 tasks, USD with 6 decimals.