GET /data/pnl-stats

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

Realized/unrealized PnL aggregates for one wallet — powers the portfolio PnL header.

Parameters

nameintypedescription
addressquerystrrequiredSolana wallet address (query parameter)
example: 5tzFkiKscXHK5ZXCGbXRExdE8ooZjJPTp8ivbtQqPgUM

Response

type: object
pagination: none
sample: {
  "5tzFkiKscXHK5ZXCGbXRExdE8ooZjJPTp8ivbtQqPgUM": "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/jupiter_portfolio/data/pnl-stats?address=5tzFkiKscXHK5ZXCGbXRExdE8ooZjJPTp8ivbtQqPgUM"