PnL leaderboard
get_leaderboardThe trader PnL leaderboard for a time span (ONE_DAY, SEVEN_DAYS, THIRTY_DAYS, ONE_YEAR, ALL_TIME): rank, username, address, PnL (USD), ROI (%) and current equity per trader, paginated. Also returns me — this account's own row on that board, if it is ranked. Use search to find a trader by username or address. For this account's rank across ALL time spans at once, use get_my_rank.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, 1-based (default 1) | |
| limit | No | Rows per page (default 20, max 100) | |
| search | No | Filter by username or (substring of) address | |
| sortBy | No | RANK (default), PNL, ROI or CURRENT_EQUITY | |
| timeSpan | No | Time span (default SEVEN_DAYS) | |
| sortDirection | No | Sort direction (default: best first) |