Menu

getQueueStats: dapatkan statistik beban antrean

Metode ini memungkinkan penentuan waktu yang sesuai untuk mengunggah tugas baru. Output disimpan dalam cache selama 10 detik.

Alamat: https://api.anti-captcha.com/getQueueStats
Metode: POST
Content-type: application-json

Properti permintaan

PropertiJenisWajibTujuan
queueIdIntegerYaPengidentifikasi antrean. Antrean berikut tersedia:

1 - ImageToText, English
2 - ImageToText, Russian
5 - Recaptcha v2 dengan proxy
6 - Recaptcha v2 tanpa proxy
7 - Funcaptcha dengan proxy
10 - Funcaptcha tanpa proxy
12 - GeeTest dengan proxy
13 - GeeTest tanpa proxy
18 - Recaptcha V3 s0.3
19 - Recaptcha V3 s0.7
20 - Recaptcha V3 s0.9
21 - hCaptcha dengan proxy
22 - hCaptcha tanpa proxy
23 - Recaptcha Enterprise V2 dengan proxy
24 - Recaptcha Enterprise V2 tanpa proxy
25 - AntiGateTask
26 - Turnstile dengan proxy
27 - Turnstile tanpa proxy
28 - Image Coordinates
29 - Hcaptcha Enterprise
templateNameStringTidakJika Anda meminta antrian ID 25 (Antigate Templates), Anda dapat menentukan nama template untuk meminta jumlah pekerja yang tersedia dan jumlah pekerja yang berhenti berlangganan dari template tersebut.

Contoh permintaan

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


Struktur respons

PropertiJenisTujuan
waitingIntegerJumlah pekerja menganggur yang online, menunggu tugas
loadDoubleBeban antrean dalam persentase
bidDoubleBiaya solusi tugas rata-rata dalam USD
speedDoubleKecepatan solusi tugas rata-rata dalam detik
totalIntegerTotal jumlah pekerja

Contoh respons

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