Perp PnL Leaderboard
Data Freshness & Historical Coverage
For data freshness and historical coverage, see Data Coverage by Chain; this endpoint follows it except where noted below.
Covers the Hyperliquid perpetuals dataset (reliable from May 2025), not per-chain history — see the Hyperliquid note on the coverage page.
Rank traders by their profit/loss performance for a specific perpetual contract on Hyperliquid. Shows both realized profits (from completed trades) and unrealized profits (from current holdings), along with ROI percentages and trading patterns. This endpoint can be used to analyze the realized and unrealized profit for each trader who traded the input perpetual contract.
Key Features:
Hyperliquid perpetual contracts only (no chain field needed)
Realized and unrealized PnL tracking
ROI calculations and trading patterns
Position size and balance tracking
Request Format:
token_symbol: Perpetual contract symbol (e.g., "BTC", "ETH", "SOL")date: Date range for analysisfilters: Optional filters for trader addresses, PnL ranges, etc.include_smart_money_labelskeeps only traders with at least one of the given Smart Money labels;exclude_smart_money_labelsdrops traders with any of them.pagination: Page and per_page parameters
Label Tier Control (premium_labels): When omitted or set to false (the default), the response contains free-tier labels and the request is billed at the standard credit cost for this endpoint. Passing premium_labels=true returns premium labels (Smart Money, Fund, and other advanced labels), is billed at 150 credits per call, and requires a paid plan. Filtering or sorting by a label field also requires premium_labels=true; other requests that do so are rejected with HTTP 400 and are not billed.
API key for authentication
Request model for TGM Perp PnL leaderboard endpoint. Simplified version that only supports Hyperliquid perpetual contracts.
Perpetual contract symbol (e.g., BTC, ETH, SOL)
BTCAdditional filters to apply to the query.
{"pnl_usd_realised":{"min":1000},"position_value_usd":{"min":1000}}Controls label tier in the response. When null/omitted or false (the default), returns free-tier labels at the standard credit cost for this endpoint. When true, returns premium labels (Smart Money, Fund, and other advanced labels), is billed at 150 credits per call, and requires a paid plan.
Custom sort order to override the endpoint's default ordering
TGM Perp PnL leaderboard data
Bad Request
Unauthorized
Payment Required
Forbidden
Not Found
Unprocessable Content
Too Many Requests
Internal Server Error
Bad Gateway
Service Unavailable
Gateway Timeout
POST /api/v1/tgm/perp-pnl-leaderboard HTTP/1.1
Host: api.nansen.ai
apikey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 287
{
"token_symbol": "BTC",
"date": {
"from": "2025-10-14T00:00:00Z",
"to": "2025-10-15T23:59:59Z"
},
"pagination": {
"page": 1,
"per_page": 10
},
"filters": {
"pnl_usd_realised": {
"min": 1000
},
"position_value_usd": {
"min": 1000
}
},
"premium_labels": true,
"order_by": [
{
"field": "pnl_usd_realised",
"direction": "ASC"
}
]
}{
"data": [
{
"trader_address": "0x28c6c06298d514db089934071355e5743bf21d60",
"trader_address_label": "🏦 Binance 14 [0x28c6c0]",
"price_usd": 1.23,
"pnl_usd_realised": 1250.5,
"pnl_usd_unrealised": 100.25,
"holding_amount": 5000,
"position_value_usd": 6000,
"max_balance_held": 10000,
"max_balance_held_usd": 12000,
"still_holding_balance_ratio": 0.5,
"netflow_amount_usd": 2500.75,
"netflow_amount": 1500,
"roi_percent_total": 15.5,
"roi_percent_realised": 12.3,
"roi_percent_unrealised": 3.2,
"pnl_usd_total": 1350.75,
"nof_trades": 25
}
],
"pagination": {
"page": 1,
"per_page": 10,
"is_last_page": true
}
}Last updated
Was this helpful?