Get Balance
GET
https://api.unhedged.gg /api/v1/balanceReturns available, locked, deposited, withdrawn, and total USD amounts, read from the database on every request (Cache-Control: no-store). withdrawalFee and bettingFee are also in USD. Held Canton Coin is reported separately in ccAvailable and ccLocked (CC units); ccPriceUsd is the USD price of one CC.
Configure requestRequest
Security · Bearer token
Send your API key in the Authorization header. Required scope balance:read.
Rate limit · 60 req/min
Authorization
Bearer token
Authorization: Bearer ak_your_key_herecurl https://api.unhedged.gg/api/v1/balance \
-H "Authorization: Bearer ak_your_key_here" {
"balance": {
"available": "500.0000000000",
"lockedWithdraws": "0.0000000000",
"lockedBets": "150.0000000000",
"lockedEngine": "0.0000000000",
"total": "650.0000000000",
"totalDeposited": "1000.0000000000",
"totalWithdrawn": "200.0000000000",
"ccAvailable": "25.0000000000",
"ccLocked": "0.0000000000"
},