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

# Get anonymous strategy leaderboard

> Returns anonymized strategy performance rankings and weekly/monthly champions. Only the requesting user can see which rows are theirs.

Operation ID: get__leaderboard.



## OpenAPI

````yaml /openapi/itoflow-public.openapi.json get /leaderboard
openapi: 3.1.0
info:
  description: >-
    All Itoflow APIs are experimental and may change without notice. Read-only
    operations marked interactive can be tried from the documentation; the
    others are reference-only.
  title: Itoflow Developer API
  version: 1.0.0
servers:
  - description: Itoflow API
    url: https://api.itoflow.ai
security: []
tags:
  - name: Account
  - name: Billing
  - name: Brokers
  - name: Chat
  - name: Connected MCP servers
  - name: GitHub
  - name: Market data
  - name: Monitors
  - name: Notifications
  - name: Portfolios
  - name: Risk runs
  - name: Sharing and data
  - name: Strategies
paths:
  /leaderboard:
    get:
      tags:
        - Market data
      summary: Get anonymous strategy leaderboard
      description: >-
        Returns anonymized strategy performance rankings and weekly/monthly
        champions. Only the requesting user can see which rows are theirs.


        Operation ID: get__leaderboard.
      operationId: get__leaderboard
      parameters:
        - description: Ranking period
          in: query
          name: period
          required: false
          schema:
            default: overall
            description: Ranking period
            enum:
              - overall
              - weekly
              - monthly
            example: overall
            type: string
        - description: Maximum entries to return. Clamped between 1 and 100.
          in: query
          name: limit
          required: false
          schema:
            description: Maximum entries to return. Clamped between 1 and 100.
            example: '50'
            type: string
        - description: 1-based page number.
          in: query
          name: page
          required: false
          schema:
            description: 1-based page number.
            example: '1'
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LeaderboardResponse'
          description: Anonymous leaderboard
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Server error
      security:
        - bearerAuth: []
components:
  schemas:
    LeaderboardResponse:
      properties:
        champions:
          properties:
            monthly:
              allOf:
                - $ref: '#/components/schemas/LeaderboardEntry'
                - type:
                    - object
                    - 'null'
            weekly:
              allOf:
                - $ref: '#/components/schemas/LeaderboardEntry'
                - type:
                    - object
                    - 'null'
          required:
            - weekly
            - monthly
          type: object
        entries:
          items:
            $ref: '#/components/schemas/LeaderboardEntry'
          type: array
        generatedAt:
          type: string
        pagination:
          properties:
            hasNextPage:
              type: boolean
            hasPreviousPage:
              type: boolean
            page:
              exclusiveMinimum: 0
              type: integer
            pageSize:
              exclusiveMinimum: 0
              type: integer
            totalPages:
              minimum: 0
              type: integer
            totalRankedEntries:
              minimum: 0
              type: integer
          required:
            - page
            - pageSize
            - totalPages
            - totalRankedEntries
            - hasNextPage
            - hasPreviousPage
          type: object
        period:
          enum:
            - overall
            - weekly
            - monthly
          type: string
        viewer:
          properties:
            anonymousUserName:
              type: string
            bestPerformance:
              type:
                - number
                - 'null'
            bestRank:
              exclusiveMinimum: 0
              type:
                - integer
                - 'null'
            bestStrategyName:
              type:
                - string
                - 'null'
            totalRankedEntries:
              minimum: 0
              type: integer
          required:
            - anonymousUserName
            - bestRank
            - totalRankedEntries
            - bestStrategyName
            - bestPerformance
          type: object
      required:
        - period
        - generatedAt
        - viewer
        - pagination
        - entries
        - champions
      type: object
    Error:
      properties:
        available:
          description: Optional available amount or value
          type: string
        billing_action:
          $ref: '#/components/schemas/BillingAction'
        code:
          description: Machine-readable error code
          type: string
        currentVersion:
          description: Current server-side version, when relevant
          type: number
        details:
          description: Optional structured error details
        error:
          description: Error type or code
          type: string
        expectedVersion:
          description: Client-provided expected version, when relevant
          type: number
        message:
          description: Human-readable error message
          type: string
        requested:
          description: Optional requested amount or value
          type: string
        usage:
          description: Optional usage metadata for limit errors
      required:
        - error
      type: object
    LeaderboardEntry:
      properties:
        anonymousStrategyName:
          type: string
        anonymousUserName:
          type: string
        calculatedAt:
          type: string
        isCurrentUser:
          type: boolean
        leaderboardEntryId:
          type: string
        monthlyAlpha:
          type:
            - number
            - 'null'
        overallReturn:
          type:
            - number
            - 'null'
        performance:
          type: number
        rank:
          exclusiveMinimum: 0
          type: integer
        weeklyAlpha:
          type:
            - number
            - 'null'
      required:
        - rank
        - leaderboardEntryId
        - anonymousUserName
        - anonymousStrategyName
        - isCurrentUser
        - performance
        - weeklyAlpha
        - monthlyAlpha
        - overallReturn
        - calculatedAt
      type: object
    BillingAction:
      description: Action that resolves a billing-related rejection
      properties:
        href:
          type: string
        kind:
          enum:
            - upgrade
            - payment_method
            - spending_cap
            - billing
          type: string
        label:
          type: string
      required:
        - href
        - label
        - kind
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      description: Itoflow access token issued for the Itoflow API.
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.