Skip to content

Get Balance API

Get Balance API

Retrieve your account balance and plan details with the following API request.

GET https://api.captchasonic.com/balance?

Host:

api.captchasonic.com

Content-Type:

application/json

Query Parameters

ParameterTypeValue
apiKeystringYOUR API KEY.

Response Codes

CodeDescription
200 OKSuccessful request. Returns balance information.
401 UnauthorizedInvalid or missing API key.
403 ForbiddenAccess denied due to insufficient permissions.
429 Too Many RequestsRate limit exceeded.
500 Internal Server ErrorAn error occurred on the server.
Captcha_sonicFor a valid API key, click on Captchasonic.

Response Body

{
"status": "ok",
"balance": 100,
"username": "user",
"plan": {
"planId": "",
"active": 0,
"planType": "",
"minLimit": 0,
"minLimitUsed": 0,
"type": "",
"dailyLimit": 0,
"dailyLimitUsed": 500,
"start": 0,
"end": 0,
"planLimit": 0,
"planLimitUsed": 0,
"refill": 1734339963,
"auto_renew": false,
"shared": false
}
}