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

# Get Top Traders (All Tokens)

> Gets the most profitable traders across all tokens



## OpenAPI

````yaml /data-api/openapi.json get /top-traders/all
openapi: 3.1.0
info:
  title: Solana Tracker Data API
  description: >-
    The Solana Tracker API gives you powerful, real-time access to the Solana
    ecosystem with comprehensive data endpoints for token data, market metrics,
    price analysis, transactions, wallet tracking, chart visualization, and
    profit analytics.
  version: 1.0.0
  contact:
    email: contact@solanatracker.io
servers:
  - url: https://data.solanatracker.io
    description: Production server
security:
  - apiKey: []
paths:
  /top-traders/all:
    get:
      tags:
        - Top Traders
      summary: Get Top Traders (All Tokens)
      description: Gets the most profitable traders across all tokens
      parameters:
        - name: expandPnl
          in: query
          description: Include detailed PnL data for each token if true
          schema:
            type: boolean
        - name: sortBy
          in: query
          description: Sort results by metric
          schema:
            type: string
            enum:
              - total
              - winPercentage
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TopTradersAllResponse'
components:
  schemas:
    TopTradersAllResponse:
      type: object
      properties:
        wallets:
          type: array
          items:
            type: object
            properties:
              wallet:
                type: string
              summary:
                $ref: '#/components/schemas/PnLSummary'
    PnLSummary:
      type: object
      properties:
        realized:
          type: number
        unrealized:
          type: number
        total:
          type: number
        totalInvested:
          type: number
        averageBuyAmount:
          type: number
        totalWins:
          type: integer
        totalLosses:
          type: integer
        winPercentage:
          type: number
        lossPercentage:
          type: number
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API Key for authentication

````