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

# Get the listeners who scrobbled the most, all-time or over a date range



## OpenAPI

````yaml /api-reference/openapi.json get /app.rocksky.charts.getTopScrobblers
openapi: 3.1.0
info:
  title: Rocksky XRPC API
  version: 1.0.0
  description: >-
    Generated from the registered Rocksky XRPC handlers and current lexicons.
    Provider-defined payloads remain open schemas. Some handlers return empty
    fallback objects on service failures. This reference describes the
    repository implementation; production may run an earlier revision.
  license:
    name: MIT License
    identifier: MIT
servers:
  - url: https://api.rocksky.app/xrpc
    description: Rocksky API
security: []
paths:
  /app.rocksky.charts.getTopScrobblers:
    get:
      tags:
        - app.rocksky.charts
      summary: Get the listeners who scrobbled the most, all-time or over a date range
      operationId: app.rocksky.charts.getTopScrobblers
      parameters:
        - name: limit
          in: query
          required: false
          description: The maximum number of scrobblers to return
          schema:
            type: integer
            description: The maximum number of scrobblers to return
            minimum: 1
        - name: offset
          in: query
          required: false
          description: The offset for pagination
          schema:
            type: integer
            description: The offset for pagination
            minimum: 0
        - name: startDate
          in: query
          required: false
          description: The start date to count scrobbles from (ISO 8601 format)
          schema:
            type: string
            description: The start date to count scrobbles from (ISO 8601 format)
            format: date-time
        - name: endDate
          in: query
          required: false
          description: The end date to count scrobbles to (ISO 8601 format)
          schema:
            type: string
            description: The end date to count scrobbles to (ISO 8601 format)
            format: date-time
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  scrobblers:
                    type: array
                    items:
                      $ref: >-
                        #/components/schemas/app.rocksky.charts.defs__scrobblerViewBasic
        '400':
          description: Invalid XRPC request or parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/XrpcError'
        default:
          description: XRPC error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/XrpcError'
      security: []
components:
  schemas:
    app.rocksky.charts.defs__scrobblerViewBasic:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier of the actor.
        did:
          type: string
          description: The DID of the actor.
        handle:
          type: string
          description: The handle of the actor.
        displayName:
          type: string
          description: The display name of the actor.
        avatar:
          type: string
          description: The URL of the actor's avatar image.
          format: uri
        scrobbles:
          type: integer
          description: The number of scrobbles in the requested window.
        uniqueArtists:
          type: integer
          description: The number of distinct artists scrobbled in the window.
        uniqueTracks:
          type: integer
          description: The number of distinct tracks scrobbled in the window.
    XrpcError:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        message:
          type: string

````

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