---
title: "Play a song"
method: GET
path: "/play/{songId}/{transcode}/{bitrate}"
tags: ["playback"]
---

# Play a song

`GET /play/{songId}/{transcode}/{bitrate}`

The GET request to play/stream a song. This is NOT an XmlHttpRequest By default Koel will serve the file as-is, unless it's a FLAC file. If the value of `transcode` is truthy, Koel will attempt to transcode the file into `bitRate` kbps using ffmpeg.

---

[API](https://skmtc.net/koel/apis/koel-api.md) · [All operations](https://skmtc.net/koel/apis/koel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/koel/koel-api/revisions/b8837d22df45/schema)
