Headers
string
required
Bearer <YOUR_API_KEY>. See Authentication.Response
string (decimal)
Total deposited balance.
string (decimal)
Held against jobs that haven’t completed yet.
string (decimal)
balance − reserved — what you can spend now.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -s https://bananahub.io/api/v1/balance \
-H "Authorization: Bearer $API_KEY"
import requests
balance = requests.get(
"https://bananahub.io/api/v1/balance",
headers={"Authorization": f"Bearer {API_KEY}"},
).json()
print(balance["available"])
{
"balance": "100.00",
"reserved": "5.50",
"available": "94.50"
}
Check your account’s available balance.
GET /balance
Bearer <YOUR_API_KEY>. See Authentication.balance − reserved — what you can spend now.curl -s https://bananahub.io/api/v1/balance \
-H "Authorization: Bearer $API_KEY"
import requests
balance = requests.get(
"https://bananahub.io/api/v1/balance",
headers={"Authorization": f"Bearer {API_KEY}"},
).json()
print(balance["available"])
{
"balance": "100.00",
"reserved": "5.50",
"available": "94.50"
}
402 when available doesn’t cover the job’s reserved price. See Errors.