Skip to main content
GET
GET /leaderboard: Wallet Leaderboard
Sign each request with a fresh HMAC signature. The cURL and HTTP header values below are placeholders, not reusable credentials. For runnable signing code, use request signing examples.
Ranks Polymarket wallets for the requested window by the chosen metric. You can narrow the set with trading-style include/exclude filters and with inclusive min_ / max_ range filters. Fixed to Polymarket (no venue parameter). Exchange scope: CTF Exchange V1 and V2. ExchangeV3 (combo) fills are not counted yet. See response conventions for the number, timestamp and null rules. Parameter and field names follow Predexon’s leaderboard, so you can switch base URLs.
Every parameter is checked. A query parameter this endpoint does not list below is refused with 400 unknown_param, never ignored. A range filter on a metric that is unknown for a wallet excludes that wallet. For example, min_profit_factor drops wallets with no losing positions, because their profit factor is undefined.

Query parameters

string
default:"all_time"
Rolling window: 1d, 7d, 30d or all_time.
string
default:"total_pnl"
Rank metric: total_pnl, realized_pnl, roi, win_rate, volume, trades, wins, losses, profit_factor, avg_trade_usd or wallet_age_days. win_rate, wins and losses need window=all_time. Wallets whose metric is unknown sort last in both directions. wallet_age_days with order=desc lists the oldest wallets first.
string
default:"desc"
Sort direction: asc or desc.
string
Include only wallets with this trading style: WHALE, MARKET_MAKER, ACTIVE_TRADER, BUY_AND_HOLD, DEGEN, HIGH_CONVICTION, CONTRARIAN or VALUE_HUNTER. Case-insensitive.
string
Exclude wallets with this trading style. Same values as style.
string
Volume in USD over the window. Non-negative, at most 6 decimals.
integer
Trade count over the window. Non-negative whole number.
string
Realized PnL, or total PnL (realized + unrealized), in USD. Can be negative. At most 6 decimals. A wallet whose total PnL is unknown (open positions not yet valued) is excluded by a total_pnl range.
string
Return on cost as a decimal (0.5 = 50%). Can be negative. At most 6 decimals. Wallets with no buy cost are excluded.
string
Gross profit / gross loss. Non-negative, at most 6 decimals. Wallets with no gross loss are excluded.
string
Win rate, 0–1. window=all_time only. Compared with the served win_rate, which is truncated to 6 decimals: a wallet shown as 0.666666 is kept by min_win_rate=0.666666 and dropped by 0.666667. Wallets with no closed positions are excluded.
string
Average trade size in USD, defined as volume / trades. Non-negative, at most 6 decimals. Wallets with no trades are excluded.
string
Average buy or sell price, 0–1. Non-negative, at most 6 decimals. Wallets with no buys (or no sells) are excluded.
string
Entry edge (average sell price − average buy price). Can be negative. At most 6 decimals.
integer
Whole days since the wallet’s first on-chain activity. Wallets with no recorded first activity are excluded.
integer
default:"50"
Rows per page, 1–100.
string
Opaque cursor from the previous page’s pagination.pagination_key.
Range bounds are inclusive and compared exactly: ratios are compared on the same 6-decimal value the response prints, and averages and win rates are compared by integer cross-multiplication, never in floating point. A min_ above its max_ is a 400.

Response

array
required
The ranked wallets. The entry fields are in the table below.
object
required
limit, count, has_more (boolean), pagination_key (string or null).
integer
required
Unix seconds the snapshot was computed.
On the leaderboard, fees_paid is served on window=all_time only and is null on the day windows. Use the wallet profile for per-window fees. It follows the same rules as the profile: CLOB V2 fees only (fees_paid_exchange_scope: "ctf_v2"), and null with fees_paid_source: "v1_fee_unvalued" for a wallet that also paid V1 fees, so a board row and the profile agree. fees_refunded is always null.

Errors

Two layers answer a 400, and their envelopes differ. The API edge sends {"error": "<message>", "code": "unknown_param" | "invalid_param", "param": "<name>"}. The analytics service sends {"error": "BAD_REQUEST" | "NOT_FOUND" | "UNAVAILABLE", "message": "<message>"}. Read the typed code from code when it is present, otherwise from error.