> ## 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 artist listeners



## OpenAPI

````yaml /api-reference/openapi.json get /app.rocksky.artist.getArtistListeners
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.artist.getArtistListeners:
    get:
      tags:
        - app.rocksky.artist
      summary: Get artist listeners
      operationId: app.rocksky.artist.getArtistListeners
      parameters:
        - name: uri
          in: query
          required: true
          description: The URI of the artist to retrieve listeners from
          schema:
            type: string
            description: The URI of the artist to retrieve listeners from
            x-lexicon-format: at-uri
        - name: offset
          in: query
          required: false
          description: Number of items to skip before returning results
          schema:
            type: integer
            description: Number of items to skip before returning results
        - name: limit
          in: query
          required: false
          description: Maximum number of results to return
          schema:
            type: integer
            description: Maximum number of results to return
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  listeners:
                    type: array
                    items:
                      $ref: >-
                        #/components/schemas/app.rocksky.artist.defs__listenerViewBasic
        '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.artist.defs__listenerViewBasic:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier of the actor.
        did:
          type: string
          description: The DID of the listener.
        handle:
          type: string
          description: The handle of the listener.
        displayName:
          type: string
          description: The display name of the listener.
        avatar:
          type: string
          description: The URL of the listener's avatar image.
          format: uri
        mostListenedSong:
          $ref: '#/components/schemas/app.rocksky.artist.defs__songViewBasic'
        totalPlays:
          type: integer
          description: The total number of plays by the listener.
          minimum: 0
        rank:
          type: integer
          description: The rank of the listener among all listeners of the artist.
          minimum: 1
    XrpcError:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        message:
          type: string
    app.rocksky.artist.defs__songViewBasic:
      type: object
      properties:
        uri:
          type: string
          description: The URI of the song.
          x-lexicon-format: at-uri
        title:
          type: string
          description: The title of the song.
        playCount:
          type: integer
          description: The number of times the song has been played.
          minimum: 0

````

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