Get position PnL data (open and closed positions with on-the-fly calculation)
Positions
Get position PnL data (open and closed positions with on-the-fly calculation)
Returns positions for a specific pool and user with calculated PnL values. Includes SOL-denominated amounts when SOL price is available (omitted otherwise). Results can be filtered by status (open/closed) and are paginated.
Arguments
pool_address- The address of the pooluser- The user addressstatus- Filter by status: “open”, “closed”, or omit for all (default: all)page- Page number starting from 1 (default: 1)
Returns
200- Paginated list of positions with PnL data in USD and SOL
GET
Get position PnL data (open and closed positions with on-the-fly calculation)
Documentation Index
Fetch the complete documentation index at: https://docs.meteora.ag/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Query Parameters
The user's wallet address
Filter positions by status: "open", "closed", or "all" (default: "all")
Available options:
open, closed, all Page number for pagination (minimum: 1, default: 1)
Required range:
x >= 0Page size for pagination (minimum: 1, maximum: 100, default: 20)
Required range:
x >= 0Response
200 - application/json
Required range:
x >= 0Required range:
x >= 0Required range:
x >= 0
