Page tree
Skip to end of metadata
Go to start of metadata

This method allows to define if it is suitable time to upload new task. Results are cached for 10 seconds.

Method address: https://api.anti-captcha.com/getQueueStats 
Request format: JSON POST 

Request parameters:

Property
Type
Required
Purpose
queueIdIntYes

Id of the queue. The following queues are available:

1 - standart ImageToText, English language
2 - standart ImageToText, Russian language
3 - square recaptcha images
4 - audio captcha
5 - Recaptcha NoCaptcha tasks
6 - Recaptcha Proxyless task 

Reponse structure:

Property
Type
Purpose
waitingIntAmount of idle workers online, waiting for a task
loadFloatQueue load in percents
bidFloatAverage task solution cost in USD
speedFloatAverage task solution speed in seconds
totalIntTotal number of workers


Request example:

curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X POST -d '{"queueId":1}' http://api.anti-captcha.com/getQueueStats


Response example:


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




  • No labels