Skip to main content
GET
/
pools
/
{poolId}
/
onchain-stats
Get onchain statistics for a specific pool
curl --request GET \
  --url https://api.lpagent.io/open-api/v1/pools/{poolId}/onchain-stats \
  --header 'x-api-key: <api-key>'
{
  "status": "success",
  "data": {
    "poolStats": [
      {
        "pool": "7d51qGEeAKiPakkxLoHda9egShXQLJcjFYpHEcX4d3EM",
        "total_open_positions": 42,
        "unique_owners": 15,
        "total_input_value": 0,
        "total_input_native": 0
      }
    ]
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication

Path Parameters

poolId
string
required

The pool address

Response

Successfully retrieved pool onchain stats

status
string
Example:

"success"

data
object