Light Mode
Get Account Detail - Margin
GET
/api/v1/margin/account:::tip[TIPS]
It is recommended to use the GET /api/v3/margin/accounts endpoint instead of this endpoint
:::
:::info[Description]
Request via this endpoint to get the info of the margin account.
:::
Request
None
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
code
string
required
data
object
required
debtRatio
string
required
Debt ratio
accounts
array [object {6}]
required
Margin account list
Example
{
"code": "200000",
"data": {
"debtRatio": "0",
"accounts": [
{
"currency": "USDT",
"totalBalance": "0.03",
"availableBalance": "0.02",
"holdBalance": "0.01",
"liability": "0",
"maxBorrowSize": "0"
}
]
}
}
Last modified: a month ago