Get Balance

Retrieves the current balance of your VastCap account.

API Endpoint

POST /getBalance

Request Parameters

clientKey
string
required

Your API key.

Response

balance
number

Your current account balance in USD.

Example Request

curl -X POST https://captcha.vast.sh/api/solver/getBalance \
  -H "Content-Type: application/json" \
  -d '{
    "clientKey": "YOUR_API_KEY"
  }'

Example Response

{
  "balance": 10.25
}

Error Codes

error
object

Error details when the request fails.

error.errorId
integer

Error ID.

error.errorCode
string

Error code identifier.

error.errorDescription
string

Human-readable error description.

Common error codes:

  • ERROR_KEY_DOES_NOT_EXIST - Invalid API key
  • ERROR_ACCOUNT_DISABLED - Account is disabled

Notes

  • Before making captcha solving requests, ensure your account has sufficient balance. The minimum required balance for making captcha solving requests is $0.001.
  • You can top up your account balance from the VastCap Dashboard.

Get Balance

Retrieves the current balance of your VastCap account.

API Endpoint

POST /getBalance

Request Parameters

clientKey
string
required

Your API key.

Response

balance
number

Your current account balance in USD.

Example Request

curl -X POST https://captcha.vast.sh/api/solver/getBalance \
  -H "Content-Type: application/json" \
  -d '{
    "clientKey": "YOUR_API_KEY"
  }'

Example Response

{
  "balance": 10.25
}

Error Codes

error
object

Error details when the request fails.

error.errorId
integer

Error ID.

error.errorCode
string

Error code identifier.

error.errorDescription
string

Human-readable error description.

Common error codes:

  • ERROR_KEY_DOES_NOT_EXIST - Invalid API key
  • ERROR_ACCOUNT_DISABLED - Account is disabled

Notes

  • Before making captcha solving requests, ensure your account has sufficient balance. The minimum required balance for making captcha solving requests is $0.001.
  • You can top up your account balance from the VastCap Dashboard.