Menu

getBalance: retrieve an account balance

Retrieve an account balance with its account key. Please don't call this method more than once every 30 seconds, and use a memory/disk cached value instead.

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

Request properties

Property Type Required Purpose
clientKey String Yes

Request example

Python
Javascript
PHP
Java
C#
bash
from anticaptchaofficial.recaptchav2proxyless import *

solver = recaptchaV2Proxyless() # or any other class
solver.set_verbose(1)
solver.set_key("YOUR_API_KEY")
money_balance = solver.get_balance()
subscription_credits_balance = solver.get_credits_balance()


Response structure

Property Type Purpose
errorId Integer Error identifier.
0 - no errors, operation completed successfully.
>0 - error identifier. Error code with short description are available in errorCode and errorDescription properties.
errorCode String
errorDescription String Short description of the error
balance Double Account balance value in USD
captchaCredits Integer

Response example

JSON with no errors
JSON with an error
{
    "errorId": 0,
    "balance": 12.3456,
    "captchaCredits": 85000
}