Get PnL Leaderboard (V2)
curl --request GET \
--url https://api.clicker.xyz/v2/leaderboard \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.clicker.xyz/v2/leaderboard"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.clicker.xyz/v2/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://api.clicker.xyz/v2/leaderboard",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.clicker.xyz/v2/leaderboard"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.clicker.xyz/v2/leaderboard")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.clicker.xyz/v2/leaderboard")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"traders": [
{
"profile": {
"id": "<string>",
"name": "<string>",
"images": {
"raw": "<string>",
"xs": "<string>",
"sm": "<string>"
},
"addresses": [
"<string>"
],
"metadata": {
"farcasterUsername": "<string>",
"farcasterId": 123,
"lensHandle": "<string>",
"ensName": "<string>",
"twitterHandle": "<string>",
"debankName": "<string>",
"hlName": "<string>",
"commentCount30d": 123,
"pnl30d": 123,
"winRate30d": 123,
"tradeCount30d": 123,
"roiPercent30d": 123,
"pnl7d": 123,
"winRate7d": 123,
"tradeCount7d": 123,
"roiPercent7d": 123,
"medianHoldingTimeMinutes": 123,
"perAddressPnl30d": {},
"perAddressRoiPercent30d": {},
"perChainPnl30d": {
"solana": 123,
"ethereum": 123,
"base": 123,
"hyperliquid": 123
},
"perChainRoiPercent30d": {
"solana": 123,
"ethereum": 123,
"base": 123,
"hyperliquid": 123
},
"perChainVolumeUsd30d": {
"solana": 123,
"ethereum": 123,
"base": 123,
"hyperliquid": 123
},
"perChainPnl7d": {
"solana": 123,
"ethereum": 123,
"base": 123,
"hyperliquid": 123
},
"perChainRoiPercent7d": {
"solana": 123,
"ethereum": 123,
"base": 123,
"hyperliquid": 123
},
"perChainVolumeUsd7d": {
"solana": 123,
"ethereum": 123,
"base": 123,
"hyperliquid": 123
}
},
"isNSFW": false,
"metrics": {
"thisPartner": {
"followingCount": 123,
"followerCount": 123
},
"allPartners": {
"followingCount": 123,
"followerCount": 123
},
"comments": {
"commentCount30d": 123,
"commentCountAllTime": 123
},
"copytradedAllTime": {
"count": 123,
"distinctActors": 123,
"volumeUSD": 123
}
},
"externalId": "<string>",
"isFollowedByUser": true
},
"pnl": {
"total": 123,
"perChain": {
"base": 123,
"solana": 123,
"ethereum": 123,
"hyperliquid": 123
}
},
"hasComments": true,
"isFollowedByUser": true
}
]
}{
"error": "<string>"
}Leaderboard
Leaderboard
Get the top traders with combined PnL across selected chains. Returns a flat list of traders sorted by total PnL.
GET
/
v2
/
leaderboard
Get PnL Leaderboard (V2)
curl --request GET \
--url https://api.clicker.xyz/v2/leaderboard \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.clicker.xyz/v2/leaderboard"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.clicker.xyz/v2/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://api.clicker.xyz/v2/leaderboard",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.clicker.xyz/v2/leaderboard"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.clicker.xyz/v2/leaderboard")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.clicker.xyz/v2/leaderboard")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"traders": [
{
"profile": {
"id": "<string>",
"name": "<string>",
"images": {
"raw": "<string>",
"xs": "<string>",
"sm": "<string>"
},
"addresses": [
"<string>"
],
"metadata": {
"farcasterUsername": "<string>",
"farcasterId": 123,
"lensHandle": "<string>",
"ensName": "<string>",
"twitterHandle": "<string>",
"debankName": "<string>",
"hlName": "<string>",
"commentCount30d": 123,
"pnl30d": 123,
"winRate30d": 123,
"tradeCount30d": 123,
"roiPercent30d": 123,
"pnl7d": 123,
"winRate7d": 123,
"tradeCount7d": 123,
"roiPercent7d": 123,
"medianHoldingTimeMinutes": 123,
"perAddressPnl30d": {},
"perAddressRoiPercent30d": {},
"perChainPnl30d": {
"solana": 123,
"ethereum": 123,
"base": 123,
"hyperliquid": 123
},
"perChainRoiPercent30d": {
"solana": 123,
"ethereum": 123,
"base": 123,
"hyperliquid": 123
},
"perChainVolumeUsd30d": {
"solana": 123,
"ethereum": 123,
"base": 123,
"hyperliquid": 123
},
"perChainPnl7d": {
"solana": 123,
"ethereum": 123,
"base": 123,
"hyperliquid": 123
},
"perChainRoiPercent7d": {
"solana": 123,
"ethereum": 123,
"base": 123,
"hyperliquid": 123
},
"perChainVolumeUsd7d": {
"solana": 123,
"ethereum": 123,
"base": 123,
"hyperliquid": 123
}
},
"isNSFW": false,
"metrics": {
"thisPartner": {
"followingCount": 123,
"followerCount": 123
},
"allPartners": {
"followingCount": 123,
"followerCount": 123
},
"comments": {
"commentCount30d": 123,
"commentCountAllTime": 123
},
"copytradedAllTime": {
"count": 123,
"distinctActors": 123,
"volumeUSD": 123
}
},
"externalId": "<string>",
"isFollowedByUser": true
},
"pnl": {
"total": 123,
"perChain": {
"base": 123,
"solana": 123,
"ethereum": 123,
"hyperliquid": 123
}
},
"hasComments": true,
"isFollowedByUser": true
}
]
}{
"error": "<string>"
}V2 is the recommended leaderboard API. It provides a simpler, filter-based approach compared to the section-based V1 endpoint.
V2 vs V1 Comparison
| Feature | V1 (/v1/leaderboard) | V2 (/v2/leaderboard) |
|---|---|---|
| Structure | Section-based (multiple categories) | Filter-based (flat list) |
| Chain selection | Pre-defined sections like chain-solana | chains query param |
| PnL data | Single pnl30 value | pnl.total + pnl.perChain breakdown |
| Response | { sections: [...] } | { traders: [...] } |
Key Features
Chain Filtering
Filter traders by one or more chains:# Single chain
GET /v2/leaderboard?chains=solana
# Multiple chains (combined PnL)
GET /v2/leaderboard?chains=base&chains=solana
pnl.total is the sum of PnL across those chains.
Commenters Filter
Show only traders who have posted swap comments:GET /v2/leaderboard?onlyWithComments=true
Per-Chain PnL Breakdown
The V2 response includes a breakdown of PnL per chain:{
"traders": [
{
"profile": { ... },
"pnl": {
"total": 125000,
"perChain": {
"base": 80000,
"solana": 45000,
"ethereum": 0,
"hyperliquid": 0
}
},
"hasComments": true
}
]
}
Supported Chains
base- Base (Coinbase L2)solana- Solanaethereum- Ethereum mainnethyperliquid- Hyperliquid
Migration from V1
If you’re currently using V1 section-based leaderboards:| V1 Section | V2 Equivalent |
|---|---|
chain-solana | ?chains=solana |
chain-base | ?chains=base |
chain-ethereum | ?chains=ethereum |
chain-hyperliquid | ?chains=hyperliquid |
all | ?chains=base&chains=solana&chains=ethereum&chains=hyperliquid (or omit chains param) |
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Required range:
0 < x <= 250Available options:
base, solana, ethereum, hyperliquid Optional viewer address(es) to populate isFollowedByUser. Accepts a single address or an array of the viewer’s linked wallets (additional addresses beyond 10 are ignored).
Available options:
true, false Available options:
7d, 30d Response
200
Show child attributes
Show child attributes
⌘I