GET /dlmm/positions/{pool_address}/pnl
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/meteora/dlmm/positions/{pool_address}/pnlCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeWallet position-level PnL inside a specific DLMM pool.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
pool_address | path | str | required | DLMM pool address. example: 5rCf1DM8LjKTw4YqhnoLcngyZYeNnQqztScTogYHAS6 |
user | query | str | required | Solana wallet address. example: 5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1 |
status | query | str | optional | Position status: open or closed. default: openexample: open |
page | query | int | optional | 1-based page number. default: 1example: 1 |
Response
type: object
data key: positions
count key: totalCount
pagination: offset
sample: {
"tokenX": "null",
"tokenY": "null",
"totalCount": "int",
"page": "int",
"pageSize": "int",
"hasNext": "bool",
"positions": "array[0]",
"tokenXPrice": "str",
"tokenYPrice": "str",
"rewardTokenX": "null",
"rewardTokenY": "null",
"rewardTokenXPrice": "str",
"rewardTokenYPrice": "str"
}
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/positions/5rCf1DM8LjKTw4YqhnoLcngyZYeNnQqztScTogYHAS6/pnl?user=5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1&status=open&page=1"