API Reference
Balance
Check a wallet's available credit.
GET /v1/balance/:wallet
Return a wallet's available credit (balance minus any locked-for-in-flight amount). Public — no authentication required, since balances are not sensitive.
curl https://agent-router.gaib.ai/v1/balance/0xYourWallet{
"wallet": "0xabc...",
"available_usdc": 4950000
}| Field | Unit | Conversion |
|---|---|---|
available_usdc | micro-USDC | / 1_000_000 = USD (balance_usdc − locked_usdc) |
Unknown wallets return available_usdc: 0 rather than a 404. For the full per-key breakdown and raw balance_usdc / locked_usdc, use the Usage endpoint.