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 freeProjected realised-PnL timeline with category grouping.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
account | path | str | required | EVM wallet address whose public portfolio is read. example: 0x2d49Cf1bd94e20a78315A6c4beCc1f3a3DA233CE |
timeframe | query | str1d | 1m | 1w | optional | PnL window. default: 1wexample: 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"