GET /leaderboard: Wallet Leaderboard
curl --request GET \
--url https://partner-api.bravadotrade.com/v2/polymarket/leaderboardimport requests
url = "https://partner-api.bravadotrade.com/v2/polymarket/leaderboard"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://partner-api.bravadotrade.com/v2/polymarket/leaderboard', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://partner-api.bravadotrade.com/v2/polymarket/leaderboard",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://partner-api.bravadotrade.com/v2/polymarket/leaderboard"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://partner-api.bravadotrade.com/v2/polymarket/leaderboard")
.asString();require 'uri'
require 'net/http'
url = URI("https://partner-api.bravadotrade.com/v2/polymarket/leaderboard")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"entries": [
{}
],
"pagination": {},
"computed_at": 123
}Polymarket analytics
GET /leaderboard: Wallet Leaderboard
Polymarket wallets ranked for a rolling window, with min/max range filters on PnL, ROI, profit factor, win rate, trade size, wallet age and prices, trading-style filters and eleven sort keys. Cursor-paginated; unknown parameters are refused.
GET
/
v2
/
polymarket
/
leaderboard
GET /leaderboard: Wallet Leaderboard
curl --request GET \
--url https://partner-api.bravadotrade.com/v2/polymarket/leaderboardimport requests
url = "https://partner-api.bravadotrade.com/v2/polymarket/leaderboard"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://partner-api.bravadotrade.com/v2/polymarket/leaderboard', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://partner-api.bravadotrade.com/v2/polymarket/leaderboard",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://partner-api.bravadotrade.com/v2/polymarket/leaderboard"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://partner-api.bravadotrade.com/v2/polymarket/leaderboard")
.asString();require 'uri'
require 'net/http'
url = URI("https://partner-api.bravadotrade.com/v2/polymarket/leaderboard")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"entries": [
{}
],
"pagination": {},
"computed_at": 123
}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.
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.
GET https://partner-api.bravadotrade.com/v2/polymarket/leaderboard?window=30d&sort_by=realized_pnl&min_trades=20&min_win_rate=0.6
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
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.Include only wallets with this trading style:
WHALE, MARKET_MAKER, ACTIVE_TRADER, BUY_AND_HOLD, DEGEN, HIGH_CONVICTION, CONTRARIAN or VALUE_HUNTER. Case-insensitive.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.Return on cost as a decimal (
0.5 = 50%). Can be negative. At most 6 decimals. Wallets with no buy cost are excluded.Gross profit / gross loss. Non-negative, at most 6 decimals. Wallets with no gross loss are excluded.
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.Average trade size in USD, defined as volume / trades. Non-negative, at most 6 decimals. Wallets with no trades are excluded.
Average buy or sell price,
0–1. Non-negative, at most 6 decimals. Wallets with no buys (or no sells) are excluded.Whole days since the wallet’s first on-chain activity. Wallets with no recorded first activity are excluded.
min_ above its max_ is a 400.
Response
| Entry field | Meaning |
|---|---|
user | Wallet address. |
rank | 1-based rank within the ordering. |
entry_edge | Decimal; null when unknown. |
first_trade_at | Unix seconds; null when unknown. |
metrics | The window metrics: realized_pnl, total_pnl, volume (USD); roi, win_rate (0–1, truncated to 6 decimals); trades, wins, losses, positions_closed (counts); profit_factor, avg_buy_price, avg_sell_price; fees_paid, fees_paid_source, fees_paid_exchange_scope, fees_refunded. Each is a number, a label or null. |
trading_styles | is_whale, is_market_maker, is_active_trader, is_buy_and_hold, is_degen, is_high_conviction, is_contrarian, is_value_hunter (booleans) and primary_style (string or null). |
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
| Status | Code | Meaning |
|---|---|---|
400 | unknown_param | A query parameter this endpoint does not accept. |
400 | invalid_param | A value with the wrong shape: a range value that is not a decimal with at most 6 places, a non-integer limit or min_trades, a limit of 0, or a repeated parameter. |
400 | BAD_REQUEST | Refused by the analytics service: an unknown window, sort_by, order or style; a negative value where only non-negative is allowed; a min_ above its max_; win_rate, wins or losses outside all_time; a limit above 100; or an invalid pagination_key. |
401 / 403 / 402 / 429 | Signature, scope, credit allowance, rate limit. | |
503 | UNAVAILABLE | The analytics source is unavailable. Retry. |
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.