---
title: "Stream a media file (binary)"
method: GET
path: "/smartlists/{smartlist_id}/stream"
tags: ["Streaming and Downloads"]
---

# Stream a media file (binary)

`GET /smartlists/{smartlist_id}/stream`

## Path parameters

- `smartlist_id` string, required

## Query parameters

- `bitrate` integer
- `format` string
- `offset` integer
- `length` 0 | 1
- `stats` 0 | 1

## Response `200`

Binary stream response

## Other responses

- `400` — Bad request
- `404` — Not found
- `416` — Range not satisfiable

## Changes

- **2026-07-17** `9abb9bf6d3bf` — 3 breaking
  - removed the media type `application/json` for the response with the status `400`
  - removed the media type `application/json` for the response with the status `404`
  - removed the media type `application/json` for the response with the status `416`
- **2026-06-25** `7ed7a764efd9` — 3 info
  - added the media type `application/json` for the response with the status `400`
  - added the media type `application/json` for the response with the status `404`
  - added the media type `application/json` for the response with the status `416`
- **2026-02-26** `c3f202b17eb7` — 1 info
  - endpoint added
- **2026-02-19** `07f53972fdd7` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ampache/apis/ampache-rest-api/changes/smartlists/:smartlist_id/stream/get.md)

---

[API](https://skmtc.dev/ampache/apis/ampache-rest-api.md) · [All operations](https://skmtc.dev/ampache/apis/ampache-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ampache/ampache-rest-api/revisions/0366bc42fb8f/schema)
