Get account loan info
This endpoint returns loan and collateral information for a given account under unified margin.
GET /api/v1/account/loanQuery Parameters
Field
Type
Need
Description
Example
/api/v1/account/loan?account=42trU9A5...Response
{
"success": true,
"data": {
"borrowed": "1250.500000",
"pending_interest": "3.250000",
"collateral_utilization": "0.45",
"total_interest_earned": "120.750000",
"total_interest_paid": "85.300000",
"spot_balances": [
{
"symbol": "SOL",
"amount": "10.00000000",
"ltv_ratio": "0.90",
"market_value": "1500.000000",
"collateral_value": "1350.000000"
}
],
"updated_at": 1716200000000
},
"error": null,
"code": null
}Field
Type
Description
Field
Type
Description
Code Example (Python)
Last updated