GET /api/v2/portfolio/positions — Get user positions with PnL
Portfolio
Get Positions
GET
GET /api/v2/portfolio/positions — Get user positions with PnL
Documentation Index
Fetch the complete documentation index at: https://docs.shuriken.trade/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Use Authorization: Bearer <jwt> for user auth or Authorization: Bearer sk_{keyId}_{secret} for API key auth.
Response
200 - application/json
Portfolio positions
V2 success response envelope
Positions response with aggregated data
Example:
{
"positionCount": 1,
"positions": [
{
"balanceUsd": 1000,
"boughtUsd": 1500,
"latestBalanceRaw": "1000000000",
"latestTokenUsdPrice": 1,
"network": "sol",
"realisedPnlPct": -33.33,
"soldUsd": 500,
"tokenAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"tokenDecimal": 6,
"totalPnlPct": 0,
"walletAddress": "CuieVDEDtLo7FypA9SbLM9saXFdb1dsshEkyErMqkRQq"
}
],
"totalValueUsd": 1000
}
Page-based pagination info (per RFC)