跳到主要内容

获取单个交易对账户信息

限速规则: 10次/1s (uid)

描述

获取资产账户信息

HTTP请求

  • GET /api/v2/mix/account/account
请求示例
curl "https://api.bitget.com/api/v2/mix/account/account?symbol=btcusdt&productType=USDT-FUTURES&marginCoin=usdt" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"

请求参数

参数名参数类型是否必须描述
symbolString交易对名称,例如"BTCUSDT"
productTypeString产品类型
USDT-FUTURES USDT专业合约
COIN-FUTURES 混合合约
USDC-FUTURES USDC专业合约
SUSDT-FUTURES USDT专业合约模拟盘
SCOIN-FUTURES 混合合约模拟盘
SUSDC-FUTURES USDC专业合约模拟盘
marginCoinString保证金币种,必须大写
返回示例
{
"code": "00000",
"data": {
"marginCoin": "USDT",
"locked": "0",
"available": "13168.86110692",
"crossedMaxAvailable": "13168.86110692",
"isolatedMaxAvailable": "13168.86110692",
"maxTransferOut": "13168.86110692",
"accountEquity": "13178.86110692",
"usdtEquity": "13178.861106922",
"btcEquity": "0.344746495477",
"crossedRiskRate": "0",
"crossedMarginLeverage": "20",
"isolatedLongLever": "20",
"isolatedShortLever": "20",
"marginMode": "crossed",
"posMode": "hedge_mode",
"unrealizedPL": "",
"coupon": "0"
},
"msg": "success",
"requestTime": 1627292199523
}

返回参数

返回字段参数类型字段说明
>marginCoinString保证金币种
>lockedString锁定数量(保证金币种),有平仓单时会lock
>availableString账户可用数量
>crossedMaxAvailableString全仓最大可用来开仓余额(保证金币种)
>isolatedMaxAvailableString逐仓最大可用来开仓余额(保证金币种)
>maxTransferOutString最大可转出
>accountEquityString账户权益(保证金币种),包含未实现盈亏(根据mark price计算)
>usdtEquityString折算USDT账户权益
>btcEquityString折算BTC账户权益
>crossedRiskRateString全仓时风险率
>crossedMarginLeverageString全仓时杠杆倍数
>isolatedLongLeverString逐仓时多头杠杆数
>isolatedShortLeverString逐仓时空头杠杆数
>marginModeString保证金模式。
isolated逐仓模式;
crossed 全仓模式
>posModeString持仓模式
one_way_mode 单向持仓
hedge_mode 双向持仓
>unrealizedPLString未实现盈亏
>couponString体验金
>crossedUnrealizedPLString全仓未实现盈亏
>isolatedUnrealizedPLString逐仓未实现盈亏