getSpendingStats
Spending of the account by hour or by minute in the Anti-Captcha format: number of solved tasks and money.
यह अनुभाग अंग्रेज़ी में दिखाया गया है।
POST https://neurocaptcha.com/getSpendingStatsSpending of the whole account (all keys) in time buckets: solved tasks and the money charged for them. Test tasks are counted with zero money.
Request#
पैरामीटरविवरण
clientKeystringज़रूरी- Your API key.
dateinteger- Start of the period, Unix time. Default — the start of the current day (UTC), or of the current hour for
scope: "hour". scopestringday(default) — 24 hourly buckets;hour— 60 one-minute buckets.softIdinteger- Only tasks created with this
softId.
Example#
import requests
response = requests.post("https://neurocaptcha.com/getSpendingStats", json={
"clientKey": "YOUR_API_KEY",
"date": 1793318400,
"scope": "day",
}, timeout=30)
print(response.json())Response#
{
"errorId": 0,
"data": [
{
"dateFrom": 1793318400,
"dateTill": 1793321999,
"volume": 120,
"money": 0.072
},
{
"dateFrom": 1793322000,
"dateTill": 1793325599,
"volume": 0,
"money": 0
}
]
}पैरामीटरविवरण
dateFrominteger- Start of the bucket, Unix time.
dateTillinteger- End of the bucket (inclusive), Unix time.
volumeinteger- Tasks solved in the bucket.
moneynumber- Money spent, USD.