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

# Get Tournament Leaderboard

> Get real-time tournament leaderboard

Get real-time tournament leaderboard with current player rankings, scores, and status. Updated continuously during active tournaments for live leaderboard displays.


## OpenAPI

````yaml GET /api/tournaments/{tournamentId}/leaderboard
openapi: 3.1.0
info:
  title: Tournament Platform API
  description: >-
    Comprehensive API for managing real-time multiplayer tournaments with Game
    Platform integration. Includes both external Casino Integration APIs and
    internal Game Platform APIs.
  version: 1.0.0
  license:
    name: MIT
  contact:
    name: Tournament Platform Support
    url: https://ts.playservices.tech/
    email: support@playservices.tech
servers:
  - url: https://ts.playservices.tech/api
    description: Production server
security:
  - OperatorAPIKey: []
  - InternalAPIKey: []
paths:
  /api/tournaments/{tournamentId}/leaderboard:
    get:
      tags:
        - Casino Integration - Results
      summary: Get tournament leaderboard
      description: Get real-time tournament leaderboard
      parameters:
        - $ref: '#/components/parameters/TournamentId'
        - name: limit
          in: query
          description: Number of players to return
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 50
        - name: includeEliminated
          in: query
          description: Include eliminated players
          schema:
            type: boolean
            default: false
      responses:
        '200':
          description: Tournament leaderboard
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Leaderboard'
        '404':
          $ref: '#/components/responses/NotFound'
      security:
        - OperatorAPIKey: []
components:
  parameters:
    TournamentId:
      name: tournamentId
      in: path
      required: true
      description: Unique tournament identifier
      schema:
        type: string
        example: '12345'
  schemas:
    Leaderboard:
      type: object
      properties:
        tournament_id:
          type: string
        leaderboard:
          type: object
          properties:
            data:
              type: array
              items:
                $ref: '#/components/schemas/LeaderboardEntry'
        last_updated:
          type: string
          format: date-time
    LeaderboardEntry:
      type: object
      properties:
        position:
          type: integer
        player_id:
          type: string
        display_name:
          type: string
        points:
          type: string
        status:
          type: string
    Error:
      type: object
      required:
        - error
        - message
      properties:
        error:
          type: string
        message:
          type: string
        details:
          type: object
  responses:
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    OperatorAPIKey:
      type: http
      scheme: bearer
      description: >-
        Operator API key with role-based permissions (tournaments.read,
        players.write, etc.)
    InternalAPIKey:
      type: apiKey
      in: header
      name: X-Internal-Api-Key
      description: Internal API key for Game Platform integration

````