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

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

Request parameters:

Parameter
Type
Required
Purpose
clientKeyStringYesClient authorization key. Can be found here

Response structure:

Parameter
Type
Purpose
errorIdIntegerError identificator.
0 - no errors, the task has been successfully created, task ID located in taskId property
>1 - error identificator. Error code and short information transferred in errorCode and errorDescription properties
errorCodeStringError code. Check out errors list.
errorDescriptionStringShort information describing error
balanceFloatAccount balance value.

Example:

{
    "errorId":0,
    "balance":12.3456
}


Command line test:

curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X POST -d '{"clientKey":"YOUR_KEY_HERE"}' https://api.anti-captcha.com/getBalance
  • No labels