Account balance
GET/bot-gateway-service/api/v3/account
Retrieves current account information, including a list of assets along with their corresponding available and locked amounts.
Request
Query Parameters
- RecvWindow is optional.
- The value cannot be greater than 60000.
- If recvWindow is not sent, it defaults to 5000.
The number of milliseconds the request is valid for after the timestamp.
Responses
- 200
- 401
Success
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
Maker commission rate in percentage.
Taker commission rate in percentage.
Buyer commission rate in percentage.
Seller commission rate in percentage.
commissionRates
object
Maker commission rate in percentage (e.g., "0.00150000").
Taker commission rate in percentage (e.g., "0.00150000").
Buyer commission rate in percentage (e.g., "0.00000000").
Seller commission rate in percentage (e.g., "0.00000000").
Indicates if trading is allowed.
Indicates if withdrawal is allowed.
Indicates if a deposit is allowed.
Indicates if the account is brokered.
Indicates if self-trade prevention is required.
Indicates if SOR (Smart Order Routing) is prevented.
The timestamp of the last update.
The type of the account (e.g., SPOT).
balances
object[]
nullable
List of asset balances.
The asset symbol (e.g., BTC).
The amount of the asset that is free to trade.
The amount of the asset that is locked in trades or withdrawal requests.
List of permissions associated with the account (e.g., SPOT, MARGIN, LEVERAGED).
Unique identifier for the account.
{
"makerCommission": 0,
"takerCommission": 0,
"buyerCommission": 0,
"sellerCommission": 0,
"commissionRates": {
"maker": "string",
"taker": "string",
"buyer": "string",
"seller": "string"
},
"canTrade": true,
"canWithdraw": true,
"canDeposit": true,
"brokered": true,
"requireSelfTradePrevention": true,
"preventSor": true,
"updateTime": 0,
"accountType": "string",
"balances": [
{
"asset": "string",
"free": "string",
"locked": "string"
}
],
"permissions": [
"string"
],
"uid": 0
}
{
"makerCommission": 1,
"takerCommission": 1,
"buyerCommission": 0,
"sellerCommission": 0,
"commissionRates": {
"maker": "0.001",
"taker": "0.001",
"buyer": "0.00000000",
"seller": "0.00000000"
},
"canTrade": true,
"canWithdraw": true,
"canDeposit": true,
"brokered": false,
"requireSelfTradePrevention": true,
"preventSor": true,
"updateTime": 1709100479838,
"accountType": "Cash",
"balances": [
{
"asset": "ETH",
"free": "1",
"locked": "5"
},
{
"asset": "BTC",
"free": "0.01",
"locked": "0.002"
},
{
"asset": "USDC",
"free": "1000000",
"locked": "0"
}
],
"permissions": [
"SPOT"
],
"uid": 8
}
Unauthorized