get https://api.liquiditytech.com/api/v1/asset/getAccountCurrencyInfo
Retrieve the balance of Funding Accounts, CL Tranding Accounts and Exchange Account. You can query by either accountId or currency.
Tips
Applies to user's API Key only. Permission: READ.
For retrieving balance and asset details of trading portfolio, please use RapidX asset api
Request
| Field name | Type | Necessary | Remarks |
|---|---|---|---|
| accountId | String | N | LTP account ID. Support multiple accountIds, separated by commas. E.g. 10001,10002,10003. |
| currency | String | N | Name of asset. Does not support retrieving information for multiple coins simultaneously. |
Response
| Field name | Type | Remarks |
|---|---|---|
| accountId | Long | Account ID. |
String | ||
| accountNote | String | Customized account note on LTP dashboard |
| venues | String | E.g. Binance, OKX, Funding account, CL Trading Account etc. |
| accountType | String | Type of exchange account that can be used to transfer or withdrawal funds at LTP such as spot account or main account. |
| totalUsdt | String | Equivalent USDT value of List<AssetInfoVO>. |
| assetInfo | List<AssetInfoVO> | Please see below. |
AssetInfoVO Response
| Field name | Type | Remarks |
|---|---|---|
| currency | String | Name of asset. |
| totalBalance | String | Available + Frozen Balance. |
| available | String | Available balance. |
| withdrawAvailable | String | The amount you are available to transfer out or withdraw from your account. |
| frozen | String | Asset cannot be used due to being currently occupied or for other reasons. |
| valueUsdt | String | Asset value in USDT. |
