Portfolio
Get user portfolio with all pools containing closed positions
Returns a paginated list of pools where the user has closed positions, sorted by most recent activity (last_closed_at DESC). The response includes:
- Pool metadata (address, token symbols, icons, fees)
- Aggregated PnL data (deposits, withdrawals, fees, total PnL)
- Per-token breakdowns (X and Y)
For detailed position history within each pool, call the /positions//pnl endpoint.
Arguments
user- The wallet address of the userpage- Page number for pagination (default: 1)page_size- Number of pools per page (default: 120, max: 365)days_back- Only include pools with positions closed within this many days (default: 90)
Returns
200- The user’s portfolio with pool metadata and aggregated PnL400- Invalid user address or query parameters
GET
Get user portfolio with all pools containing closed positions
Query Parameters
Response
200 - application/json
User portfolio response with aggregated pool data

