User Account Balance
Description
Get user account balance
HTTP Request
- GET /open/api/user/account
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | String | Yes | the key is in the user api management |
| time | Long | Yes | it is the current timestamp |
| sign | String | Yes | the string is generated according to signature rule |
Request Example
http
curl 'https://openapi.100ex.com/open/api/user/account?api_key=*********&time=1736303665297&sign=*********'Response Parameters
| Parameter | Type | Description |
|---|---|---|
| total_asset | String | total asset |
| coin_list | List<Object> | coin list |
| >normal | String | normal account balance |
| >btcValuatin | String | account btc valuation |
| >locked | String | lock account balance |
| >coin | String | coin type |
Response Example
json
{
"code": "0",
"msg": "suc",
"data": {
"total_asset": "116.9677624877000000",
"coin_list": [
{
"normal": "16.4755080874",
"btcValuatin": "17.1755080874",
"locked": "0.7000000000",
"coin": "btc"
}
]
},
"message": null,
"traceId": null
}Status Code
| Code | Description |
|---|---|
| 0 | success |
| 1 | system error |
| 100004 | illegal parameter |
| 100005 | illegal sign |
| 100007 | illegal ip address |
| 100008 | the request time is expired |
