Get Account Balance
Gets Account Balance
(Authentication type:KEYED, See Interface Permission)
Request Format
GET https://api-cloud.bitmart.com/account/v1/wallet
Request Limit
Request Parameter
Field | Type | Required? | Description |
---|---|---|---|
account_type | string | Yes | Account Type |
1 =spot |
|||
2 =contract |
Request example
https://api-cloud.bitmart.com/account/v1/wallet?account_type=1
Response Data
Field | Type | Description |
---|---|---|
currency | string | Token symbol, e.g., 'BTC' |
name | string | Token name, e.g., 'Bitcoin' |
available | string | Available Balance |
frozen | string | Frozen Balance |
Instruction
Note: The return list contains only assets with a balance greater than 0.
Example of returned data format
{
"message":"OK",
"code":1000,
"trace":"ef834248-51d3-4223-9481-f862aa9dd39f",
"data":{
"wallet":[
{
"currency":"USDT",
"name":"Tether USD",
"available":"1000.00000000",
"frozen":"0.00000000"
},
{
"currency":"BTC",
"name":"Bitcoin",
"available":"10000.00000000",
"frozen":"10.00000000"
}
]
}
}