Get Account/All Positions Data
Description
Get account information and all position data
HTTP Request
- GET /fapi/v1/account/account
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
Request Example
http
curl 'https://futuresopenapi.100ex.com/fapi/v1/account/account' \
-H "X-CH-TS:1736156253259" \
-H "X-CH-SIGN:*" \
-H "X-CH-APIKEY:********" \
-H "Content-Type: application/json"Response Parameters
| Parameter | Type | Description |
|---|---|---|
| > marginCoin | String | Margin coin |
| > accountNormal | String | Available balance in the account, including crossed margin |
| > accountLock | String | Locked margin balance |
| > crossedMargin | String | All of crossed margin |
| > crossedEquity | String | Crossed margin equity |
| > isolatedMargin | String | Isolated margin |
| > isolatedEquity | String | Isolated margin equity |
| > crossedCost | String | Crossed cost |
| > realizedAmount | String | Realized Profit and Loss |
| > unrealizedAmount | String | Unrealized Profit and Loss |
| > positions | List<Object> | All of positions |
| >> symbol | String | Trading pair, e.g. "BTC-USDT" |
| >> futuresName | String | Futures name, e.g. "E-BTC-USDT" |
| >> leverage | String | Leverage |
| >> type | String | Position type, 1: Crossed, 2: Isolated |
| >> side | String | Position direction, BUY: long position, SELL: short position |
| >> volume | String | Total amount of position |
| >> canCloseVolume | String | Amount of position can be closed |
| >> realizedAmount | String | Realized Profit and Loss |
| >> unrealizedAmount | String | Unrealized Profit and Loss |
| >> holdAmount | String | Margin amount |
| >> indexPrice | String | Index price |
| >> openPrice | String | Open price |
| >> avgPrice | String | Average open price |
| >> closePrice | String | Close price |
| >> closeProfit | String | Close Profit and Loss |
| >> tradeFee | String | Transaction fee |
| >> capitalFee | String | Capital fee |
| >> keepRate | String | Margin rate, 0.1 represents 10% |
| >> ctime | String | Creation timestamp, ms |
| >> mtime | String | Update timestamp, ms |
Response Example
json
{
"code": "0",
"msg": "suc",
"data": [
{
"marginCoin": "USDT",
"normalBalance": "952.4347",
"lockedBalance": "0",
"isolatedMargin": "0",
"isolatedEquity": "0",
"crossedMargin": "96.6128950981988855",
"crossedMarginRate": "1.971554986573939",
"crossedEquity": "952.388175490994427505",
"crossedCost": "96.659419607204457995",
"realizedAmount": "0",
"unrealizedAmount": "-0.046524509005572495",
"accountMarginRate": "1.971554986573939",
"positions": [
{
"symbol": "ETH-USDT",
"futuresName": "E-ETH-USDT",
"leverage": "5",
"type": "1",
"side": "BUY",
"volume": "15",
"realizedAmount": "-47.5653",
"unrealizedAmount": "-0.046524509005572495",
"holdAmount": "96.6128950981988855",
"indexPrice": "3220.4298366066295167",
"avgPrice": "3220.74",
"openPrice": "3216.22",
"closePrice": "0",
"closeProfit": "0",
"canCloseVolume": "15",
"tradeFee": "48.2433",
"capitalFee": "0",
"keepRate": "0.005",
"ctime": "1736937017000",
"mtime": "1736950443000"
}
]
}
],
"succ": true
}