ApiReference
Get portfolio
Get an overview of the user's portfolio including total value, PnL, and asset breakdown.
Get an overview of the user's portfolio including total value, PnL, and asset breakdown.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Response Body
application/json
application/json
curl -X GET "https://api.arjia.city/portfolio"{
"totalValueUsd": 0,
"totalPnlUsd": 0,
"totalPnlPercent": 0,
"positions": 0,
"assets": [
{
"symbol": "string",
"valueUsd": 0,
"percentage": 0
}
]
}{
"message": "Unauthorized",
"statusCode": 401
}