v19

latestOpenAPI 3.0.0raw.githubusercontent.com2026-05-25200153.4 KB
Positions

Get LP positions revenue for an owner

Retrieve revenue and PnL data over time for a specific wallet owner. Only 7D and 1M ranges are available.

get/lp-positions/revenue/{owner}

Path parameters

ownerstring required

Wallet address of the position owner

Query parameters

period'day' | 'week' | 'month'

Aggregation period for revenue data

range'7D' | '1M'

Time range filter (only 7D and 1M are available)

protocolstring

Comma-separated protocol filter

Response

Successfully retrieved revenue data

statusstring

Example response

{
  "status": "success",
  "data": [
    {
      "close_day": "2026-03-10T00:00:00.000Z",
      "sum": 1500.5,
      "sum_native": 1200.25,
      "total_invested": 50000,
      "total_invested_native": 40000,
      "cumulative_pnl": 1500.5,
      "cumulative_pnl_native": 1200.25,
      "max_invested": 50000,
      "max_invested_native": 40000,
      "pnl_percent": 0.03,
      "pnl_percent_native": 0.03
    }
  ]
}