GET /wallet/{chain}/{wallet}/pnl

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/dextools/wallet/{chain}/{wallet}/pnlCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Aggregate wallet PnL summary (1d, 7d, 30d and daily series) on one chain.

Parameters

nameintypedescription
chainpathstrrequiredNetwork name or alias.
example: solana
walletpathstrrequiredWallet address.
example: CyaE1VxvBrahnPWkqm5VsdCvyS2QmNht2UFrKJHga54o

Response

type: object
pagination: none
sample: {
  "statusCode": "int",
  "data": "object"
}

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/dextools/wallet/solana/CyaE1VxvBrahnPWkqm5VsdCvyS2QmNht2UFrKJHga54o/pnl"