Check Balance
/getTaskResult
Section titled “/getTaskResult”Retrieve your account balance and plan details with the following API request. Get apiKey from https://my.captchasonic.com
GET `https://api.captchasonic.com/balance?apiKey=sonic_xxxxxx`
Host: api.captchasonic.com
URL Parameters
Section titled “URL Parameters”Parameter | Type | Value |
---|---|---|
apiKey | string | YOUR API KEY. |
Response Codes
Section titled “Response Codes”Code | Description |
---|---|
200 OK | Successful request. Returns balance information. |
401 Unauthorized | Invalid or missing API key. |
403 Forbidden | Access denied due to insufficient permissions. |
429 Too Many Requests | Rate limit exceeded. |
500 Internal Server Error | An error occurred on the server. |
Sample Request
Section titled “Sample Request”GET `https://api.captchasonic.com/balance?apiKey=sonic_xxxxxx`
Host: api.captchasonic.com
Response Body
Section titled “Response Body”{ "status": "ok", "balance": 99.99, "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 }}