Skip to main content

Get Wallet Balance

HTTP Request

GET /spot/v3/private/account

Request Parameters

None

Response Parameters

ParameterTypeComments
balancesarrayObject
> coinstringCoin
> coinIdstringCoin ID
> totalstringTotal equity
> freestringAvailable balance
> lockedstringReserved for orders

Request Example

curl --location --request GET 'https://api-testnet.bybit.com/spot/v3/private/account' \
--header 'X-BAPI-SIGN: XXXXXX' \
--header 'X-BAPI-API-KEY: {api key}' \
--header 'X-BAPI-TIMESTAMP: 1659346886605' \
--header 'X-BAPI-RECV-WINDOW: 5000'

Response Example

{
"retCode": 0,
"retMsg": "OK",
"result": {
"balances": [
{
"coin": "BTC",
"coinId": "BTC",
"total": "0.20378018343",
"free": "0.20378018343",
"locked": "0"
},
{
"coin": "BTC3L",
"coinId": "BTC3L",
"total": "743.03560386",
"free": "743.03560386",
"locked": "0"
},
{
"coin": "BTC3S",
"coinId": "BTC3S",
"total": "0.999",
"free": "0.999",
"locked": "0"
}
]
},
"retExtMap": {},
"retExtInfo": {},
"time": 1659346887407
}