GET /dlmm/portfolio/total

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/meteora/dlmm/portfolio/totalCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Cumulative DLMM realized PnL in USD and SOL for a wallet.

Parameters

nameintypedescription
userquerystrrequiredSolana wallet address.
example: 5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1

Response

type: object
pagination: none
sample: {
  "totalPnlUsd": "str",
  "totalPnlSol": "str",
  "totalPnlPctChange": "str",
  "totalPnlSolPctChange": "str",
  "totalClosedPositions": "int"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/meteora/dlmm/portfolio/total?user=5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1"