资产
get
Header parameters
X-TimestringRequiredExample:
1748869178732
X-Openapi-KeystringRequiredExample:
8189f240150309b9835f9c76de137e6e
X-Openapi-SignstringRequiredExample:
fa11c7488a4430c886ab63c3c1e3b97477d3998e341b5ae0534ef2de6eb8bf75
Responses
200Success
application/json
get
GET /api/v1/balance HTTP/1.1
Host:
X-Time: text
X-Openapi-Key: text
X-Openapi-Sign: text
Accept: */*
200Success
{
"status": {
"code": 102000,
"error": null,
"messages": "success"
},
"data": {
"funding": [
{
"name": "Tether",
"code": "USDT",
"available": "500",
"unavailable": {
"freeze": "0",
"unconfirmed": "0"
}
}
],
"trading": [
{
"name": "Tether",
"code": "USDT",
"available": "488.69313963",
"unavailable": {
"freeze": "0",
"unconfirmed": "0",
"unrealized_profit_and_loss": "0",
"unrealized_profit_and_loss_rate": "0",
"cross_margin": "0"
},
"position_margin": {
"cross": "98.04344828",
"isolated": "0"
}
}
],
"commission": [
{
"name": "Tether",
"code": "USDT",
"available": "2.74166347",
"unavailable": {
"freeze": "0",
"unconfirmed": "0"
},
"today_total": "2.741663476"
}
]
}
}
请求参数
参数
类型
是否必需
说明
code
string
否
币种
is_simulate
bool
否
是否未模拟盘 1:是 2:不是
返回参数
参数
类型
说明
funding
object[]
资金账户
trading
object[]
交易账户
commission
object[]
返佣账户
账户object
参数
类型
说明
name
string
币种名称
code
string
币种
available
number
可用余额
unavailable
object
不可用余额
不可用余额object
参数
类型
说明
freeze
string
冻结
unconfirmed
string
限制
unrealized_profit_and_loss
string
未实现损益
unrealized_profit_or_loss_rate
string
收益率/损益率
Last updated