Menu

getQueueStats: obtain queue load statistics

This method makes it possible to define a suitable time for uploading a new task. Output is cached for 10 seconds.

Address: https://api.anti-captcha.com/getQueueStats
Method: POST
Content-type: application-json

Request properties

PropertyTypeRequiredPurpose
queueIdIntegerYesIdentifier of a queue. The following queues are available:

1 - ImageToText, English
2 - ImageToText, Russian
5 - Recaptcha v2 with proxy
6 - Recaptcha v2 without proxy
7 - Funcaptcha with proxy
10 - Funcaptcha without proxy
12 - GeeTest with proxy
13 - GeeTest without proxy
18 - Recaptcha V3 s0.3
19 - Recaptcha V3 s0.7
20 - Recaptcha V3 s0.9
21 - hCaptcha with proxy
22 - hCaptcha without proxy
23 - Recaptcha Enterprise V2 with proxy
24 - Recaptcha Enterprise V2 without proxy
25 - AntiGateTask
26 - Turnstile with proxy
27 - Turnstile without proxy
28 - Image Coordinates
29 - Hcaptcha Enterprise
templateNameStringNoIf you're querying for queue ID 25 (Antigate Templates), you can specify a template name to request exact amount of available workers and the amount of workers who unsubscribed from that template.

Request example

bash
Antigate Templates
curl -i -H "Accept: application/json" \
-H "Content-Type: application/json" \
-X POST -d '{ "queueId": 6 }' \
https://api.anti-captcha.com/getQueueStats


Response structure

PropertyTypePurpose
waitingIntegerNumber of idle workers online, waiting for a task
loadDoubleQueue load as a percentage
bidDoubleAverage task solution cost in USD
speedDoubleAverage task solution speed in seconds
totalIntegerTotal number of workers

Response example

{
    "waiting":242,
    "load":60.33,
    "bid":"0.0008600982",
    "speed":10.77,
    "total": 610
}