Get Trading Leaderboard
Trading
Get Trading Leaderboard
Get ranked list of top traders by various metrics
GET
Get Trading Leaderboard
Overview
Retrieve ranked leaderboards of top traders based on different performance metrics. This endpoint provides competitive rankings perfect for building leaderboards, competitions, and showcasing top performers.Parameters
Ranking metric
volume- Total trading volume (default)profit- Total profit/losswinRate- Win rate percentagetrades- Number of tradesefficiency- Profit per volume ratioconsistency- Consistency scoreriskAdjusted- Risk-adjusted returns
Time period for rankings
7d- Last 7 days30d- Last 30 days (default)90d- Last 90 days1y- Last yearall- All time
Filter by specific blockchain
1- Ethereum mainnet137- Polygon56- BSC42161- Arbitrum10- Optimism250- Fantom43114- Avalanche
Filter by specific protocol
uniswap- Uniswapsushiswap- SushiSwap1inch- 1inchcurve- Curvebalancer- Balancerpancakeswap- PancakeSwap
Trader category
all- All traders (default)whale- High volume tradersretail- Retail tradersprofessional- Professional tradersinstitutional- Institutional traders
Number of traders to return (default: 100, max: 1000)
Number of traders to skip for pagination (default: 0)
Include detailed statistics for each trader (default: true)
Include ranking information (default: true)
Response
Indicates if the request was successful
Array of ranked traders
Pagination information
Leaderboard metadata
ISO 8601 timestamp of the response
Examples
Response Example
Use Cases
1. Trading Competition Dashboard
Create a competitive trading dashboard:2. Trader Profile Analysis
Analyze individual trader performance:3. Leaderboard Trends
Analyze leaderboard trends over time:4. Category Analysis
Analyze different trader categories:5. Badge System
Implement a badge system for achievements:Best Practices
1. Caching
Cache leaderboard data for performance:2. Real-time Updates
Subscribe to leaderboard updates:3. Pagination
Handle large leaderboards with pagination:4. Performance Optimization
Optimize for large datasets:Related Endpoints
- Get Trading Stats - Individual trader statistics
- Get Trading History - Detailed trade history
- Get Score - Overall ZKScore
Troubleshooting
”No traders found”
Cause: No traders match the criteria or invalid filters. Solution:- Remove restrictive filters
- Check if the timeframe has trading activity
- Verify metric and category values
”Invalid metric”
Cause: Unsupported metric value. Solution:- Use supported metrics: volume, profit, winRate, trades, efficiency, consistency, riskAdjusted
- Check for typos
”Invalid category”
Cause: Unsupported category value. Solution:- Use supported categories: all, whale, retail, professional, institutional
- Check for typos
Rate Limits
Leaderboard requests are subject to rate limits:- Free tier: 60 requests per minute
- Starter tier: 300 requests per minute
- Professional tier: 1,000 requests per minute
- Enterprise tier: Custom limits