> ## 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.

# Get the current output device



## OpenAPI

````yaml /api-reference/openapi.json get /player
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:
  /player:
    get:
      tags:
        - Player
      summary: Get the current output device
      operationId: getCurrentPlayer
      responses:
        '200':
          description: Current device
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Device'
              example:
                app: Snapcast
                base_url: null
                host: 192.168.1.220
                id: snapcast-192.168.1.220
                ip: 192.168.1.220
                is_cast_device: true
                is_connected: false
                is_current_device: true
                is_source_device: false
                name: Snapcast (192.168.1.220)
                port: 4953
                service: snapcast
components:
  schemas:
    Device:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        host:
          type: string
        ip:
          type: string
        port:
          type: integer
          format: int32
        service:
          type: string
          description: >-
            builtin | fifo | airplay | squeezelite | upnp | chromecast |
            snapcast
        app:
          type: string
        is_connected:
          type: boolean
        is_cast_device:
          type: boolean
        is_source_device:
          type: boolean
        is_current_device:
          type: boolean
        base_url:
          type: string
          nullable: true

````