GET /leaderboard/pnl/unrealized/markets/{marketId}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/limitless/leaderboard/pnl/unrealized/markets/{marketId}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeOpen-position leaderboard for one market, ranked by PnL or ROI.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
marketId | path | int | required | Numeric Limitless market id (as returned by market payloads). example: 468363 |
metric | query | strpnl | roi | optional | Ranking metric for the market position leaderboard. default: pnlexample: pnl |
limit | query | int | optional | Rows per page (server caps vary by route; 100 is the widest documented). example: 5 |
page | query | int | optional | One-based page number. example: 1 |
Response
type: object
pagination: none
sample: {
"asOf": "null",
"data": "array[0]",
"limit": "int",
"page": "int",
"totalPages": "int",
"totalRows": "int",
"collateralToken": "null",
"markAsOf": "null",
"marketId": "int",
"metric": "str",
"presentationVersion": "str",
"projectionVersion": "str",
"schemaVersion": "int",
"scope": "str",
"scopeVersion": "null",
"staleReason": "null",
"state": "str"
}
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/unrealized/markets/468363?metric=pnl&limit=5&page=1"