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

# List artists

> Performers, writers and producers in the archive.



## OpenAPI

````yaml /openapi.json get /v1/artists
openapi: 3.1.0
info:
  title: Diskograf API
  description: >-
    A public, read-only REST API over the Diskograf catalogue of Malaysian
    music.


    No authentication is required and no endpoint writes. Requests are rate
    limited

    to 60 per 60 seconds per IP address.


    Every successful response is wrapped in an envelope. List endpoints return

    `{ "data": [...], "meta": { "total", "limit", "offset" } }`; detail
    endpoints

    return `{ "data": {...} }`. Errors return `{ "error": { "code", "message" }
    }`.
  version: 1.0.0
servers:
  - url: https://api.diskograf.com
    description: Production
security: []
tags:
  - name: Songs
    description: The catalogue of published songs and their credits.
  - name: Artists
    description: Performers, writers and producers, and their discographies.
  - name: Genres
    description: The genre taxonomy and the songs in each genre.
  - name: Labels
    description: Record labels and their releases.
  - name: Users
    description: Public contributor profiles. Private account fields are never returned.
  - name: Search
    description: Cross-category keyword search.
  - name: Meta
    description: Service index, statistics and health.
paths:
  /v1/artists:
    get:
      tags:
        - Artists
      summary: List artists
      description: Performers, writers and producers in the archive.
      operationId: getV1Artists
      parameters:
        - name: q
          in: query
          schema:
            type: string
          description: Keyword search across artist names and aliases.
        - name: letter
          in: query
          schema:
            type: string
          description: First letter of the name, for A-Z browsing.
        - name: role
          in: query
          schema:
            type: string
          description: Role slug. Repeat the parameter or comma-separate for several.
        - name: status
          in: query
          schema:
            type: string
          description: Claim status filter.
        - name: band
          in: query
          schema:
            type: boolean
          description: True for groups only, false for individuals only.
        - name: sort
          in: query
          schema:
            type: string
          description: Sort column.
        - name: order
          in: query
          schema:
            type: string
            enum:
              - asc
              - desc
          description: Sort direction.
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 80
            default: 20
        - name: offset
          in: query
          schema:
            type: integer
            minimum: 0
            default: 0
      responses:
        '200':
          description: A page of artists.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        name:
                          type: string
                        slug:
                          type: string
                        prefix_title:
                          anyOf:
                            - type: string
                            - type: 'null'
                        is_group:
                          anyOf:
                            - type: boolean
                            - type: 'null'
                        total_songs:
                          anyOf:
                            - type: integer
                              minimum: -9007199254740991
                              maximum: 9007199254740991
                            - type: 'null'
                        total_credits:
                          anyOf:
                            - type: integer
                              minimum: -9007199254740991
                              maximum: 9007199254740991
                            - type: 'null'
                        disambiguator:
                          anyOf:
                            - type: string
                            - type: 'null'
                          description: >-
                            Editor-supplied namesake override. Null for almost
                            every artist — treat it as an optional extra label,
                            not a reliable way to tell namesakes apart.
                        first_release_year:
                          anyOf:
                            - type: integer
                              minimum: -9007199254740991
                              maximum: 9007199254740991
                            - type: 'null'
                        last_release_year:
                          anyOf:
                            - type: integer
                              minimum: -9007199254740991
                              maximum: 9007199254740991
                            - type: 'null'
                        avatar_url:
                          anyOf:
                            - type: string
                            - type: 'null'
                        username:
                          anyOf:
                            - type: string
                            - type: 'null'
                          description: >-
                            The claimed account handle, if any. Internal numeric
                            user ids are never exposed.
                      required:
                        - id
                        - name
                        - slug
                        - prefix_title
                        - is_group
                        - total_songs
                        - total_credits
                        - disambiguator
                        - first_release_year
                        - last_release_year
                        - avatar_url
                        - username
                  meta:
                    type: object
                    properties:
                      total:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                        description: >-
                          Total rows matching the query, ignoring limit and
                          offset.
                      limit:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                        description: >-
                          Page size actually applied. Bounded by
                          apiConfig.maxLimit (80).
                      offset:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                        description: Zero-based row offset of this page.
                    required:
                      - total
                      - limit
                      - offset
                required:
                  - data
                  - meta
        '400':
          $ref: '#/components/responses/BadRequest'
components:
  responses:
    BadRequest:
      description: >-
        A query or path parameter failed validation. The message names the
        offending field.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                properties:
                  code:
                    type: string
                    enum:
                      - not_found
                      - bad_request
                      - internal_error
                  message:
                    type: string
                required:
                  - code
                  - message
            required:
              - error

````