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

# List all tracks in the library



## OpenAPI

````yaml /api-reference/openapi.json get /tracks
openapi: 3.1.0
info:
  title: Rockbox HTTP API
  version: 1.0.0
  summary: >-
    HTTP REST API for rockboxd — playback, library, playlists, devices,
    settings.
  description: >-
    Rockbox Daemon exposes its full feature surface over HTTP REST on port 6063
    (configurable via `ROCKBOX_TCP_PORT`). It complements the GraphQL API on
    :6062 and the gRPC API on :6061 — all three speak to the same in-process
    state.


    All handlers are defined in `crates/server/src/handlers/` and registered in
    `crates/server/src/lib.rs:run_http_server()`.
  contact:
    name: Rockbox Daemon
    url: https://github.com/tsirysndr/rockboxd
  license:
    name: GPL-2.0
    url: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
servers:
  - url: http://localhost:6063
    description: Default local rockboxd
security: []
tags:
  - name: Albums
  - name: Artists
  - name: Tracks
  - name: Search
  - name: Browse
  - name: Player
  - name: Playlist (queue)
  - name: Saved playlists
  - name: Smart playlists
  - name: Track stats
  - name: Devices
  - name: Settings
  - name: System
  - name: Bluetooth
paths:
  /tracks:
    get:
      tags:
        - Tracks
      summary: List all tracks in the library
      operationId: getTracks
      responses:
        '200':
          description: All tracks
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Track'
              example:
                - id: cmnvrqv4k002zpdwax7lrsbhh
                  path: >-
                    /Users/tsirysandratraina/Music/Juicy J - The Trippy Tapes
                    Vol. 1 (Explicit)/26. Juicy J, DJ Scream, Babyfxce E -
                    Scotty (feat. Babyfxce E ) (Explicit).m4a
                  title: ' Scotty (feat. Babyfxce E )'
                  artist: Juicy J, DJ Scream, Babyfxce E
                  album: The Trippy Tapes Vol. 1
                  album_artist: Juicy J, DJ Scream
                  bitrate: 320
                  composer: ''
                  disc_number: 1
                  filesize: 6746791
                  frequency: 44100
                  length: 168664
                  track_number: 26
                  year: 2026
                  year_string: '2026-04-03'
                  md5: b418a0d44e61ef179005ff9a13d5c8bd
                  album_art: 8c8b3a145776af32d29ea293691ecaa8.jpg
                  artist_id: cmnvrqv3b0000pdwaux8uj1d2
                  album_id: cmnvrqv3b0001pdwatmcq1aqt
                  genre_id: ''
                  is_remote: false
                  created_at: 1775998658
                  updated_at: 1775998658
components:
  schemas:
    Track:
      type: object
      properties:
        id:
          type: string
        path:
          type: string
        title:
          type: string
        artist:
          type: string
        album:
          type: string
        album_artist:
          type: string
        composer:
          type: string
        genre:
          type: string
          nullable: true
        year:
          type: integer
          format: int64
          nullable: true
        year_string:
          type: string
          nullable: true
        track_number:
          type: integer
          format: int64
          nullable: true
        disc_number:
          type: integer
          format: int64
        length:
          type: integer
          format: int64
          description: Duration in milliseconds
        filesize:
          type: integer
          format: int64
        bitrate:
          type: integer
          format: int64
        frequency:
          type: integer
          format: int64
        album_id:
          type: string
        artist_id:
          type: string
        genre_id:
          type: string
        album_art:
          type: string
          nullable: true
        md5:
          type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time

````