> ## Documentation Index
> Fetch the complete documentation index at: https://docs.clicker.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Leaderboard

The V2 leaderboard response containing a flat list of traders sorted by combined PnL.

## Structure

```typescript theme={null}
{
  traders: TraderV2[]  // Sorted by pnl.total descending
}
```

## Differences from V1

| V1 Response                                          | V2 Response                           |
| ---------------------------------------------------- | ------------------------------------- |
| `{ sections: [{ key, title, commenters, others }] }` | `{ traders: [...] }`                  |
| Multiple categories in one response                  | Single filtered list                  |
| Traders split into `commenters` and `others`         | Single list with `hasComments` flag   |
| PnL in `reason.value`                                | PnL in `pnl.total` and `pnl.perChain` |

## Example

```json theme={null}
{
  "traders": [
    {
      "profile": {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "name": "TopTrader",
        "images": {
          "raw": "https://example.com/avatar.png",
          "xs": "https://example.com/avatar-75.png",
          "sm": "https://example.com/avatar-300.png"
        },
        "addresses": ["0x1234..."],
        "metadata": { "pnl30d": 250000, "winRate30d": 0.72 },
        "metrics": {
          "thisPartner": { "followerCount": 100, "followingCount": 50 },
          "allPartners": { "followerCount": 320, "followingCount": 50 },
          "comments": { "commentCount30d": 12, "commentCountAllTime": 48 },
          "copytradedAllTime": {
            "count": 85,
            "distinctActors": 30,
            "volumeUSD": 125000
          }
        }
      },
      "pnl": {
        "total": 250000,
        "perChain": {
          "base": 150000,
          "solana": 100000
        }
      },
      "hasComments": true
    }
  ]
}
```
