Get Lever Account Information With Coin Pair
Description
Get user lever account information with coin pair
HTTP Request
- POST /open/api/margin/symbol/balance
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 |
| symbol | String | Yes | coin pair, example: btcusdt |
Request Example
http
curl -X POST 'https://openapi.100ex.com/open/api/margin/symbol/balance' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'api_key=*********&time=1736303665297&sign=*********&symbol=BTCUSDT'Response Parameters
| Parameter | Type | Description |
|---|---|---|
| baseTotalBalance | Decimal | base coin normal account balance + base coin lock account balance |
| baseNormalBalance | Decimal | base coin normal account balance |
| baseLockBalance | Decimal | base coin lock account balance |
| quoteTotalBalance | Decimal | quote coin normal account balance + quote coin lock account balance |
| quoteNormalBalance | Decimal | quote coin normal account balance |
| quoteLockBalance | Decimal | quote coin lock account balance |
| quoteCoin | String | quote coin |
| baseCoin | String | base coin |
| symbol | String | coin pair |
| riskRate | Decimal | risk rate |
| burstPrice | Decimal | burst price |
Response Example
json
{
"code": "0",
"msg": "suc",
"data": {
"symbol": "btcusdt",
"riskRate": 27133,
"quoteTotalBalance": 50978.2794083000,
"quoteNormalBalance": 48040.5859385987,
"quoteLockBalance": 2937.6934697013,
"burstPrice": 0E-16,
"baseLockBalance": 0E-10,
"baseNormalBalance": 0.0027672300,
"quoteCoin": "USDT",
"baseCoin": "BTC",
"baseTotalBalance": 0.0027672300
},
"message": null,
"traceId": null
}Status Code
| Code | Description |
|---|---|
| 0 | success |
| 1 | system error |
| 2 | parameter error |
| 100004 | illegal parameter |
| 100005 | illegal sign |
| 100007 | illegal ip address |
| 100008 | the request time is expired |
