Skip to main content

Balance

Check balance

import requests

url = "https://api.xsolve.me/balance"
headers = {
    "X-Api-Key": "<x-api-key>"
}

response = requests.get(url, headers=headers)
print(response.json())

Headers

X-Api-Key string required

Service API Key

Compatibility balance endpoint

If you are migrating from CapSolver or Solverify-style clients, you can also call POST /getBalance with clientKey.

curl --request POST \
  --url https://api.xsolve.me/getBalance \
  --header 'Content-Type: application/json' \
  --data '{
    "clientKey": "<x-api-key>"
  }'
{
  "errorId": 0,
  "balance": 10.5,
  "requests": 131250
}

Response

{
  "balance": "12522",
  "threads": "150",
  "active_threads": "0",
  "success": true
}

Search documentation

Search tasks, migration guides, and balance documentation.

Type to search ยท Escape to close