GET /dlmm/portfolio

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

Wallet DLMM historical portfolio pools and closed positions.

Parameters

nameintypedescription
userquerystrrequiredSolana wallet address.
example: 5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1
pagequeryintoptional1-based page number.
default: 1
example: 1
page_sizequeryintoptionalResults per page.
default: 10
example: 5
days_backqueryintoptionalOptional lookback days.

Response

type: object
data key: pools
count key: totalCount
pagination: offset
sample: {
  "page": "int",
  "pageSize": "int",
  "hasNext": "bool",
  "totalCount": "int",
  "totalPositions": "int",
  "pools": "array[0]"
}

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?user=5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1&page=1&page_size=5"