Skip to main content
GET
/
lp-positions
/
revenue
/
{owner}
Get LP positions revenue for an owner
curl --request GET \
  --url https://api.lpagent.io/open-api/v1/lp-positions/revenue/{owner} \
  --header 'x-api-key: <api-key>'
{
  "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
    }
  ]
}

Authorizations

x-api-key
string
header
required

API key for authentication

Path Parameters

owner
string
required

Wallet address of the position owner

Query Parameters

period
enum<string>
default:day

Aggregation period for revenue data

Available options:
day,
week,
month
range
enum<string>

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

Available options:
7D,
1M
protocol
string

Comma-separated protocol filter

Response

Successfully retrieved revenue data

status
string
Example:

"success"

data
object[]