GET /leaderboard/pnl

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

Realized/total PnL leaderboard across time windows.

Parameters

nameintypedescription
windowquerystr
1h | 24h | 7d | 30d
optionalTime window.
default: 7d
example: 7d
scopequerystroptionalLeaderboard scope.
default: global
example: global
metricquerystroptionalRanking metric.
default: realized_pnl
example: realized_pnl
pagequeryintoptionalOne-based page number.
example: 1
limitqueryintoptionalRows per page.
default: 20
example: 5

Response

type: object
pagination: none
sample: {
  "window": "str",
  "scope": "str",
  "metric": "str",
  "completeThrough": "str",
  "collateralToken": "object",
  "data": "array[5]",
  "limit": "int",
  "page": "int",
  "totalPages": "int",
  "totalRows": "int"
}

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/leaderboard/pnl?window=7d&scope=global&metric=realized_pnl&page=1&limit=5"