GET /portfolio/{account}/realized-pnl

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

Projected realised-PnL timeline with category grouping.

Parameters

nameintypedescription
accountpathstrrequiredEVM wallet address whose public portfolio is read.
example: 0x2d49Cf1bd94e20a78315A6c4beCc1f3a3DA233CE
timeframequerystr
1d | 1m | 1w
optionalPnL window.
default: 1w
example: 1w

Response

type: object
pagination: none
sample: {
  "timeframe": "str",
  "windowStart": "str",
  "current": "object",
  "categories": "array[1]",
  "data": "array[169]"
}

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/limitless/portfolio/0x2d49Cf1bd94e20a78315A6c4beCc1f3a3DA233CE/realized-pnl?timeframe=1w"