The balance endpoint returns your current account balance in both micro-USD (integer) and USD (string). Balances are credited when you deposit via the Darkbloom console and debited after each inference request completes.Documentation Index
Fetch the complete documentation index at: https://docs.darkbloom.dev/llms.txt
Use this file to discover all available pages before exploring further.
balance_micro_usd is the canonical value — all internal billing uses micro-USD to avoid floating-point rounding errors. The balance_usd string is a human-readable convenience field formatted to six decimal places.
withdrawable_micro_usd reflects funds that can be withdrawn (for provider earnings). This will be zero for consumer-only accounts.
Authentication
This endpoint requires a Bearer token:Response
Your current balance in micro-USD (1 USD = 1,000,000 micro-USD). Use this value for precise balance comparisons and cost calculations.
Your current balance as a USD string formatted to six decimal places, e.g.
"1.250000".The portion of your balance available for withdrawal, in micro-USD. For consumer accounts this is typically
0.Withdrawable balance as a USD string formatted to six decimal places.
Example
cURL