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 freeRealized/total PnL leaderboard across time windows.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
window | query | str1h | 24h | 7d | 30d | optional | Time window. default: 7dexample: 7d |
scope | query | str | optional | Leaderboard scope. default: globalexample: global |
metric | query | str | optional | Ranking metric. default: realized_pnlexample: realized_pnl |
page | query | int | optional | One-based page number. example: 1 |
limit | query | int | optional | Rows per page. default: 20example: 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"