> ## 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.

# Top traders across crypto events

> Ranks Polymarket wallets by estimated mark-to-market P&L across all indexed BTC, ETH, SOL, XRP, DOGE, BNB, and HYPE Up/Down events. Intended for wallet discovery and copy-trading research.



## OpenAPI

````yaml /prediction-markets/openapi.json get /v1/crypto/traders
openapi: 3.1.0
info:
  title: Prediction Market API (Beta)
  description: >-
    Unified **beta** prediction market API for Kalshi and Polymarket — markets,
    events, full historical trades and candlesticks, orderbooks, crypto up/down
    windows, and Polymarket wallet analytics. Read/market-data only.


    **Auth:** pass your Data API key in the `x-api-key` header.


    **Conventions:** response bodies use camelCase. Query params are snake_case
    (camelCase aliases accepted where noted).


    **Caching:** SWR endpoints may set `X-Cache` (`HIT` | `HIT-STALE` | `MISS`).
    Busy backends may return `503` with `SERVICE_BUSY`.


    **Realtime:** join `pm:*` rooms on
    `wss://datastream.solanatracker.io/{apiKey}` (same Datastream hub as other
    products — see Datastream → Prediction Markets).
  license:
    name: ''
  version: 0.1.0
servers:
  - url: https://prediction-market-api.solanatracker.io
    description: Public beta
security:
  - apiKey: []
tags:
  - name: Exchange
    description: Exchange status
  - name: Events
    description: >-
      Cross-exchange event groupings (Kalshi event_ticker, Polymarket Gamma
      grouped/negRisk events). Includes metadata: image, icon, description,
      tags, and nested markets with groupItemTitle.
  - name: Crypto
    description: >-
      Polymarket crypto up/down (Chainlink) Price to Beat, final price, chart
      history, and series windows.
  - name: Meta
    description: Categories, series, sports, live data
  - name: Markets
    description: Market data, orderbooks, candles
  - name: Trades
    description: Trade feeds
  - name: Accounts
    description: Polymarket wallet analytics (FIFO PnL)
  - name: Leaderboard
    description: Top wallet PnL rankings (Polymarket; Kalshi has no public wallets)
  - name: Stats
    description: Platform statistics
paths:
  /v1/crypto/traders:
    get:
      tags:
        - Crypto
      summary: Top traders across crypto events
      description: >-
        Ranks Polymarket wallets by estimated mark-to-market P&L across all
        indexed BTC, ETH, SOL, XRP, DOGE, BNB, and HYPE Up/Down events. Intended
        for wallet discovery and copy-trading research.
      operationId: list_crypto_traders_path
      parameters:
        - name: limit
          in: query
          description: Max results (default 50, max 200)
          required: false
          schema:
            type: integer
            format: int64
            minimum: 0
        - name: cursor
          in: query
          description: Pagination offset cursor
          required: false
          schema:
            type: string
        - name: minTrades
          in: query
          description: Minimum crypto-event trades per wallet (default 5)
          required: false
          schema:
            type: integer
            format: int64
            minimum: 0
      responses:
        '200':
          description: Cross-crypto trader leaderboard
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedCryptoTraders'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorBody'
components:
  schemas:
    PaginatedCryptoTraders:
      type: object
      required:
        - data
        - count
        - hasMore
      properties:
        count:
          type: integer
          minimum: 0
        cursor:
          type:
            - string
            - 'null'
        data:
          type: array
          items:
            $ref: '#/components/schemas/CryptoTrader'
        hasMore:
          type: boolean
    ApiErrorBody:
      type: object
      description: Standard API error response envelope.
      required:
        - error
        - code
      properties:
        code:
          type: integer
          format: int32
          description: HTTP status code (duplicated for convenience).
          minimum: 0
        error:
          type: string
        errorCode:
          type:
            - string
            - 'null'
          description: >-
            Stable machine-readable code: RATE_LIMITED, SERVICE_BUSY,
            BAD_REQUEST, NOT_FOUND, INTERNAL.
    CryptoTrader:
      type: object
      description: Wallet performance aggregated across supported Polymarket crypto events.
      required:
        - rank
        - address
        - exchange
        - estimatedPnlUsd
        - buyVolumeUsd
        - sellVolumeUsd
        - totalVolumeUsd
        - buyCount
        - sellCount
        - totalTrades
        - marketsTraded
        - returnPct
      properties:
        address:
          type: string
        buyCount:
          type: integer
          format: int64
          minimum: 0
        buyVolumeUsd:
          type: number
          format: double
        estimatedPnlUsd:
          type: number
          format: double
          description: 'Mark-to-market P&L: sale proceeds + current positions − buys − fees.'
        exchange:
          $ref: '#/components/schemas/Exchange'
        lastTradeAt:
          type:
            - string
            - 'null'
        marketsTraded:
          type: integer
          format: int64
          minimum: 0
        rank:
          type: integer
          format: int64
          minimum: 0
        returnPct:
          type: number
          format: double
        sellCount:
          type: integer
          format: int64
          minimum: 0
        sellVolumeUsd:
          type: number
          format: double
        totalTrades:
          type: integer
          format: int64
          minimum: 0
        totalVolumeUsd:
          type: number
          format: double
        username:
          type:
            - string
            - 'null'
    Exchange:
      type: string
      enum:
        - polymarket
        - kalshi
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Solana Tracker Data API key

````