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

# Leaderboard

> SourceTag-attributed volume and distinct active accounts, plus takeout actually collected. Rows ranked by realized P&L.

The global leaderboard. `distinct_accounts` and `tagged_volume_xrp` are the Make Waves attribution metrics (SourceTag carried on every counsel transaction). `takeout_collected_xrp` is the un-fakeable metric: real fees collected on settled, non-void markets, which a wash trader cannot fabricate. Rows are ranked by realized P\&L, and seeds and voided markets are excluded from volume.


## OpenAPI

````yaml GET /leaderboard
openapi: 3.1.0
info:
  title: counsel API
  version: 1.0.0
  description: >-
    Public, read-only HTTP API for counsel, an L1-native parimutuel prediction
    market on the XRP Ledger. No API key, no auth, all responses JSON. It
    exposes live market state, indicative odds, unsigned bet construction,
    account positions and profiles, a copy-trading feed, and the
    SourceTag-attributed leaderboard.
  contact:
    name: counsel
    url: https://counsel.markets
  license:
    name: MIT
servers:
  - url: https://api.counsel.markets
    description: Canonical API host
  - url: https://counsel.markets/api/v1
    description: Path-based equivalent
security: []
paths:
  /leaderboard:
    get:
      tags:
        - Leaderboard
      summary: Leaderboard
      description: >-
        SourceTag-attributed volume and distinct active accounts (the Make Waves
        metric), plus takeout actually collected, the metric a washer cannot
        fabricate. Rows are ranked by realized PnL.
      operationId: getLeaderboard
      responses:
        '200':
          description: Leaderboard
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Leaderboard'
components:
  schemas:
    Leaderboard:
      type: object
      required:
        - distinct_accounts
        - total_volume_xrp
        - tagged_volume_xrp
        - takeout_collected_xrp
        - total_bets
        - source_tag
        - rows
        - generated_at
      properties:
        distinct_accounts:
          type: integer
          description: >-
            Distinct active accounts carrying counsel's SourceTag (the Make
            Waves metric).
        total_volume_xrp:
          type: number
        tagged_volume_xrp:
          type: number
          description: Volume attributed to counsel's SourceTag.
        takeout_collected_xrp:
          type: number
          description: >-
            Takeout actually collected on settled, non-void markets. The
            un-fakeable metric.
        total_bets:
          type: integer
        source_tag:
          type:
            - integer
            - 'null'
          example: 2606220005
        rows:
          type: array
          items:
            type: object
            properties:
              account:
                type: string
              volume_xrp:
                type: number
              pnl_xrp:
                type: number
              bets:
                type: integer
              markets:
                type: integer
        generated_at:
          type: string
          format: date-time

````