Get Single Account
Frequency limit: 10 times/1s (uid)
Description
Get account details with the given 'marginCoin' and 'productType'
HTTP Request
- GET /api/v2/mix/account/account
Request Example
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"
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
symbol | String | Yes | Trading pair |
productType | String | Yes | Product typeUSDT-FUTURES USDT professional futuresCOIN-FUTURES Mixed futuresUSDC-FUTURES USDC professional futuresSUSDT-FUTURES USDT professional futures demoSCOIN-FUTURES Mixed futures demoSUSDC-FUTURES USDC professional futures demo |
marginCoin | String | Yes | Margin coin |
Response Example
{
"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
}
Response Parameters
Parameter | Type | Description |
---|---|---|
>marginCoin | String | Margin coin |
>locked | String | Locked quantity (margin coin). Lockup will be triggered when there is a position to be closed. |
>available | String | Available quantity in the account |
>crossedMaxAvailable | String | Maximum available balance to open positions under the cross margin mode (margin coin) |
>isolatedMaxAvailable | String | Maximum available balance to open positions under the isolated margin mode (margin coin) |
>maxTransferOut | String | Maximum transferable amount |
>accountEquity | String | Account equity (margin coin), including unrealized PnL (based on mark price) |
>usdtEquity | String | Account equity in USDT |
>btcEquity | String | Account equity in BTC |
>crossedRiskRate | String | Risk ratio in cross margin mode |
>crossedMarginLeverage | String | Leverage in cross margin mode |
>isolatedLongLever | String | Leverage of long positions in isolated margin mode |
>isolatedShortLever | String | Leverage of short positions in isolated margin mode |
>marginMode | String | Margin mode. isolated – isolated margin mode; crossed – cross margin mode |
>posMode | String | Position mode one_way_mode: one-way mode hedge_mode: hedge mode |
>unrealizedPL | String | Unrealized PnL |
>coupon | String | Trading bonus |
>crossedUnrealizedPL | String | unrealizedPL for croessed |
>isolatedUnrealizedPL | String | unrealizedPL for isolated |