Get Account List - Spot/Margin/trade_hf
Get a list of accounts.
Please Deposit to the main account firstly, then transfer the funds to the trade account via Inner Transfer before transaction.
HTTP REQUEST
GET /api/v1/accounts
Example
GET /api/v1/accounts
[
{
"id": "5bd6e9286d99522a52e458de", //accountId
"currency": "BTC", //Currency
"type": "main", //Account type, including main and trade
"balance": "237582.04299", //Total assets of a currency
"available": "237582.032", //Available assets of a currency
"holds": "0.01099" //Hold assets of a currency
},
{
"id": "5bd6e9216d99522a52e458d6",
"currency": "BTC",
"type": "trade",
"balance": "1234356",
"available": "1234356",
"holds": "0"
}
]
API KEY PERMISSIONS
This endpoint requires the General permission.
REQUEST URL
This endpoint support Spot URL
REQUEST RATE LIMIT
Manage weight
:5
PARAMETERS
Param | Type | Mandatory | Description |
---|---|---|---|
currency | String | No | Currency |
type | String | No | Account type main、trade、margin、trade_hf |
RESPONSES
Param | Description |
---|---|
id | The ID of the account |
currency | Currency |
type | Account type:,main、trade、trade_hf、margin |
balance | Total funds in the account |
available | Funds available to withdraw or trade |
holds | Funds on hold (not available for use) |
Account type
There are three types of accounts: 1) main account 2) trade account 3) trade_hf account 4) margin account.
No fees will be charged for the funds transfer between these account.
The main account is used for the storage, withdrawal, and deposit of the funds. The assets in the main account cannot be directly used for trading. To trade cryptos, you need to transfer funds from the main account to the trade account.
The trade account is used for transaction. When you place an order, the system will use the balance of the trade account. You can’t withdraw funds directly from a trade account. To withdraw the funds, you need to transfer the funds from the trade account to the main account firstly.
FUNDS ON HOLD
When placing an order, the funds for the order will be freezed. The freezed funds cannot be used for other order placement or withdrawal and will remain on hold until the order is filled or cancelled.