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

# Top Traders

> Returns the global leaderboard of top traders ranked by PnL or volume.



## OpenAPI

````yaml GET /v1/api/traders/top
openapi: 3.1.0
info:
  title: Dot Prediction API
  description: >-
    A unified API for accessing prediction market data across Kalshi,
    Polymarket, and Limitless.
  version: 1.0.0
servers:
  - url: https://api.dotprediction.io
security:
  - apiKey: []
paths:
  /v1/api/traders/top:
    get:
      tags:
        - Analytics
      summary: Top traders
      description: Returns the global leaderboard of top traders ranked by PnL or volume.
      operationId: getTopTraders
      parameters:
        - name: provider
          in: query
          required: true
          description: Platform to query.
          schema:
            type: string
            enum:
              - polymarket
              - limitless
        - name: category
          in: query
          required: false
          description: 'Category filter (default: overall).'
          schema:
            type: string
            default: overall
        - name: time_period
          in: query
          required: false
          description: Time period for ranking.
          schema:
            type: string
            enum:
              - day
              - week
              - month
              - all
            default: month
        - name: sort_by
          in: query
          required: false
          description: Sort dimension.
          schema:
            type: string
            enum:
              - pnl
              - volume
            default: pnl
        - name: limit
          in: query
          required: false
          description: Max results to return (default 25, max 50).
          schema:
            type: integer
            default: 25
            maximum: 50
        - name: cursor
          in: query
          required: false
          description: Pagination cursor from a previous response.
          schema:
            type: string
      responses:
        '200':
          description: Top traders leaderboard.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TopTradersResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: 0d5813fe-a3df-4eee-bda5-8e01bfe0683a
        '500':
          $ref: 13256dda-f2cf-48d5-853d-eda20215fa08
components:
  schemas:
    TopTradersResponse:
      type: object
      properties:
        traders:
          type: array
          items:
            $ref: '#/components/schemas/TopTrader'
        pagination:
          $ref: '#/components/schemas/Pagination'
        meta:
          type: object
          properties:
            platforms:
              type: array
              items:
                type: string
            request_time:
              type: integer
              format: int64
            cache_hit:
              type: boolean
            sort_by:
              type: string
            time_period:
              type: string
            category:
              type: string
    TopTrader:
      type: object
      properties:
        rank:
          type: integer
        address:
          type: string
        display_name:
          type: string
        pseudonym:
          type: string
        profile_image:
          type: string
        bio:
          type: string
        social:
          $ref: '#/components/schemas/TraderSocial'
        stats:
          $ref: '#/components/schemas/TopTraderStats'
    Pagination:
      type: object
      properties:
        total:
          type: integer
          description: Total number of results.
        limit:
          type: integer
          description: Number of results per page.
        has_more:
          type: boolean
          description: Whether more results are available.
        next_cursor:
          type: string
          nullable: true
          description: Cursor to use for the next page. `null` if no more results.
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            status:
              type: integer
              description: HTTP status code.
            message:
              type: string
              description: Human-readable error message.
            resolution:
              type: string
              description: Suggested action to resolve the error.
            error_text:
              type: string
              description: Detailed error information.
    TraderSocial:
      type: object
      properties:
        x_username:
          type: string
        verified:
          type: boolean
    TopTraderStats:
      type: object
      properties:
        total_volume:
          type: number
        total_pnl:
          type: number
        roi_percent:
          type: number
        markets_traded:
          type: integer
        win_rate:
          type: number
        portfolio_value:
          type: number
        open_positions:
          type: integer
  responses:
    BadRequest:
      description: Invalid request parameters.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        API key for authentication. Generate one via the dashboard or the
        `/v1/api/auth/api-keys` endpoint.

````