Repository navigation
API Reference
Derrik Diener edited this page Jul 16, 2026
·
1 revision
Supernova's native API is served under /api/ (distinct from the Subsonic API served under /rest/). The native API provides advanced functionality like plugin management, raw streaming, and batch downloads.
All endpoints (except login) require a valid JWT token passed in the Authorization header:
Authorization: Bearer <your_sn_token>
-
GET /api/library/artists- Returns a paginated list of all artists in the library.
-
GET /api/library/albums?artist_id=<id>- Returns albums, optionally filtered by artist.
-
GET /api/library/tracks?album_id=<id>- Returns tracks for a specific album.
-
GET /api/stream/track/:id- Streams the raw audio file. Supports HTTP range requests for seeking.
-
GET /api/art/album/:id- Returns the album cover art image.
-
GET /api/download/track/:id- Forces a download of the track file with proper
Content-Disposition.
- Forces a download of the track file with proper
-
GET /api/download/album/:id- On-the-fly streaming zip of all tracks in the specified album.
-
GET /api/plugins- Returns the status of all registered background plugins.
-
POST /api/plugins/:id/run- Dispatches a background job for the specified plugin (e.g.,
autotagger,deduper).
- Dispatches a background job for the specified plugin (e.g.,
-
GET /api/plugins/podcasts/search?q=<query>- Searches the PodcastIndex network.
-
GET /api/plugins/podcasts/episodes?id=<feed_id>- Fetches episodes for a specific podcast feed.