Jellyfin API (Experimental)

Everything a client developer needs to know about the Jellyfin API in Navidrome

Navidrome implements the part of the Jellyfin API that a music client needs. A client made for Jellyfin can log in, browse, search, play, and manage playlists and favorites, without a Jellyfin server.

This page lists what Navidrome supports and where it behaves differently. It does not repeat the parameters and response formats of each endpoint. For those, follow the endpoint links to the Jellyfin documentation.

To turn on the API and connect a client as a user, see Jellyfin clients.

Quick reference

ItemValue
AvailabilityOff by default. The administrator turns it on with the Jellyfin.Enabled option
URLhttps://<server>/jellyfin/<endpoint>
URL with a base pathhttps://<server>/<path>/jellyfin/<endpoint>, when the server uses the BaseUrl option
Jellyfin version reported12.1.0, in the Version field of GET /System/Info/Public
Response formatJSON, with field names in PascalCase
CaseEndpoint paths, query parameter names, and IDs are not case-sensitive. The /jellyfin prefix, the values in Filters, and the field names in the authorization header are
Lists in the querySeparated by commas (Ids=a,b) or repeated (Ids=a&Ids=b)
Times and positionsIn ticks. One second is 10,000,000 ticks
Bit ratesIn bits per second
CORSAll origins are allowed. Scripts cannot read the Accept-Ranges, Content-Range, and Retry-After response headers

Version is the version of the Jellyfin API, not the version of Navidrome. ProductName is always Jellyfin Server. ServerName has the name and version of Navidrome, but the administrator can change it.

Navidrome returns the HTTP status 404 with the body {} for each endpoint that it does not have. Treat this response as “feature not available”, and do not stop or retry. See the list of supported endpoints.

Example

These commands log in, find a song, and play it:

BASE=http://localhost:4533/jellyfin
CLIENT='Client="MyApp", Device="Laptop", DeviceId="a1b2c3", Version="1.0.0"'

# Log in and keep the token
TOKEN=$(curl -s "$BASE/Users/AuthenticateByName" \
  -H "Authorization: MediaBrowser $CLIENT" \
  -H 'Content-Type: application/json' \
  -d '{"Username":"admin","Pw":"password"}' | jq -r .AccessToken)
AUTH="Authorization: MediaBrowser $CLIENT, Token=\"$TOKEN\""

# List the libraries of the user
curl -s -H "$AUTH" "$BASE/UserViews" | jq '.Items[] | {Name, Id}'

# Get the first song, in alphabetical order
SONG=$(curl -s -H "$AUTH" \
  "$BASE/Items?IncludeItemTypes=Audio&Recursive=true&SortBy=SortName&Limit=1" | jq -r '.Items[0].Id')

# Download the song as a 192 kbps MP3
curl -s -H "$AUTH" -o song.mp3 "$BASE/Audio/$SONG/stream.mp3?audioBitRate=192000"

Authentication

Call POST /Users/AuthenticateByName with the Navidrome username and password, or use Quick Connect. Both return an AccessToken. Send it in all other requests, in one of these ways:

MethodExampleNotes
Authorization headerMediaBrowser Client="MyApp", Device="Pixel 8", DeviceId="a1b2c3", Version="1.0.0", Token="<token>"Recommended, because it also identifies the player. Put all values in double quotes. The Emby scheme works too
X-Emby-Authorization headerSame value as the Authorization headerUse it when a proxy needs the Authorization header
X-Emby-Token or X-MediaBrowser-Token header<token>Does not identify the player
api_key or ApiKey query parameter?api_key=<token>For media players and WebSockets that cannot send headers. Does not identify the player, unless you also send the header

These endpoints need no token:

These rules also apply:

  • The token does not expire. It stops working when the password or the username changes, or when the user is deleted. There is no logout endpoint. To log out, delete the token from the device.
  • The token selects the user. Navidrome ignores the userId in the path and in the query, and uses the user of the token. There are two exceptions. The rating and UserData endpoints return 403 when you try to change the data of another user. POST /QuickConnect/Authorize lets an administrator approve a code for another user.
  • Navidrome API keys do not work here. An API key with the nds_ prefix is only for the Subsonic API.
  • Externalized authentication does not work here. Navidrome ignores the user header of a reverse proxy. The client must log in with a Navidrome password or with Quick Connect.

Login limit

Navidrome limits login requests. By default, it accepts 5 requests in 20 seconds from the same IP address, and successful logins and Quick Connect requests count too. After that, it returns 429. Wait for the number of seconds in the Retry-After header, then try again.

Quick Connect

With Quick Connect, the user approves a 6-digit code on another device, and does not type the password on the new one:

  1. Call GET /QuickConnect/Enabled. If it returns false, do not show the option.
  2. Call POST /QuickConnect/Initiate. The authorization header must have Client, Device, DeviceId, and Version. Show the Code from the response to the user, and keep the Secret.
  3. Call GET /QuickConnect/Connect with the secret until Authenticated is true. This call does not count in the login limit, so you can repeat it every second.
  4. Call POST /Users/AuthenticateWithQuickConnect with the body {"Secret": "<secret>"}. The response is the same as in a login with a password.

A code expires 10 minutes after it is created, or when Navidrome restarts. Then GET /QuickConnect/Connect returns 404, and you must start again. Each secret works for one login only.

To let a user approve the code of another device in your client, call POST /QuickConnect/Authorize. Navidrome returns 404 for an unknown code, and 409 for a code that is already approved. This endpoint has its own limit, with the same values as the login limit.

Players

Navidrome registers each client as a player. Users can configure these settings for each of their players in the web UI, in the user menu, under Players & API keys:

  • The transcoding format and the maximum bit rate
  • Whether plays are sent to external services such as Last.fm and ListenBrainz

Navidrome finds the player by the user and by the Client and Device values in the authorization header:

  • Send the same Client and Device values in all requests. If one of them changes, the user gets a new player and loses these settings. DeviceId and Version do not change the player.
  • Two devices with the same Client and Device values share one player, even when DeviceId is different. If the user can give a name to the device, send that name in Device.
  • When a request has no Client and no DeviceId, there is no player. The stream ignores the settings of the player. Plays count in Navidrome, but they are not sent to external services.

Errors

Error responses use the HTTP status. Most of them have a plain text body, not JSON.

StatusWhen
400The JSON body is missing or not valid, a value is not valid, or the image is too large
401The token is missing or no longer valid, the username or password is wrong, or Quick Connect is turned off
403The user cannot change the playlist or the data of another user, or cannot upload images
404 with the body {}Navidrome does not have this endpoint, or does not accept this method
404 with another bodyThe item does not exist, the ID is not valid, or the user cannot access the item
409The Quick Connect code is already approved
413The request has too many songs for a playlist, or the JSON body is too large
429Too many login requests, or too many image or list requests at the same time. Only the login and Quick Connect limits send the Retry-After header
500Internal error. Navidrome also returns 500 when it reaches its transcoding limit, so you can try again later
501You tried to change the image of an item that is not a playlist

Navidrome sends long lists while it reads them from the database. If an error occurs in the middle, the status is still 200, but the JSON is incomplete. Discard a response that you cannot parse. Do not use it to remove songs from a local copy of the library.

How Navidrome behaves

IDs

Item IDs are GUIDs with 32 lowercase hexadecimal digits and no dashes. Navidrome also accepts them with dashes or in uppercase.

The ID of an item in this API is different from its ID in the Subsonic API.

Libraries

Each Navidrome library that the user can access is a CollectionFolder with the CollectionType music. GET /UserViews returns them. To get the content of one library, send its ID in ParentId. Without ParentId, you get the content of all the libraries of the user.

Navidrome returns 404 for an item in a library that the user cannot access. Do not send the ID of such a library in ParentId. A list of only albums or only songs is then empty, but the other lists ignore ParentId and return the content of all the libraries of the user.

Playlists are not in a library. GET /UserViews does not return a folder for them. To list the playlists, call GET /Items with IncludeItemTypes=Playlist.

Browsing

Use GET /Items for most lists:

To getSend
AlbumsIncludeItemTypes=MusicAlbum and Recursive=true
SongsIncludeItemTypes=Audio and Recursive=true
Album artistsIncludeItemTypes=MusicArtist, or call GET /Artists/AlbumArtists
All track artistsCall GET /Artists
GenresIncludeItemTypes=MusicGenre, or call GET /Genres
PlaylistsIncludeItemTypes=Playlist
The albums of an artistParentId=<artist>, or AlbumArtistIds=<artist> with IncludeItemTypes=MusicAlbum
The albums where an artist is only a guestContributingArtistIds=<artist> and IncludeItemTypes=MusicAlbum
The songs of an artistArtistIds=<artist>, IncludeItemTypes=Audio, and Recursive=true
The songs of an album, in disc and track orderParentId=<album>
The songs of a playlistParentId=<playlist>, or call GET /Playlists/{playlistId}/Items
Items by IDIds=<id>,<id>. The order is the same as in the request. Navidrome skips the IDs that it does not find, and ignores StartIndex and Limit

Without IncludeItemTypes, the result depends on ParentId: the songs of an album or a playlist, or the albums of an artist or a library. Without any parameters, Navidrome returns the libraries. When ParentId is a library, songs are returned only with Recursive=true.

With more than one type in IncludeItemTypes, Navidrome sorts each type on its own. With Limit, it takes one item of each type in turn. Without Limit, it returns all items of the first type, then all items of the next.

ParentId has these limits:

  • With more than one type, it works only with the ID of a library. Navidrome ignores the ID of an album or an artist, and returns items from all the libraries of the user.
  • With IncludeItemTypes=Audio, the ID of an artist gives an empty list. Use ArtistIds.
  • With the ID of a playlist, Navidrome ignores filters and SortBy, and always returns the songs in the order of the playlist.

Filters

GET /Items supports these filters:

ParameterApplies to
AlbumArtistIds, ArtistIdsAlbums and songs. For songs, both find the track artists and the album artists
ContributingArtistIdsAlbums and songs. For songs, it is the same as ArtistIds
AlbumIdsSongs
GenreIdsAlbums, songs, and artists
StudioIdsAlbums and songs. A studio is a record label. GET /Studios lists them
YearsAlbums and songs
Filters with IsFavorite, IsFavoriteOrLikes, IsPlayed, or IsUnplayedAlbums, songs, artists, and playlists
IsFavorite, IsPlayedAlbums, songs, artists, and playlists
SearchTermAlbums, songs, and artists. See Search

Navidrome ignores all other filters, and returns the items as if you did not send them. For example, NameStartsWith, Genres (by name), Artists (by name), Tags, ExcludeItemIds, and MinDateLastSaved have no effect. There is no way to get only the items that changed after a date.

If you send more than one of the artist filters, Navidrome uses only one: AlbumArtistIds, then ArtistIds, then ContributingArtistIds.

If an ID in a filter is not a valid GUID, Navidrome returns 404.

Sorting

SortBy accepts a list of keys, and SortOrder accepts one direction for each key. Navidrome supports these keys:

TypeSortBy keys
MusicAlbumSortName, Name, Album, Artist, AlbumArtist, DateCreated, DatePlayed, PlayCount, CommunityRating, PremiereDate, ProductionYear, Runtime, Random
AudioThe same keys, IndexNumber, and ParentIndexNumber
MusicArtistSortName, Name, DateCreated, DatePlayed, PlayCount, CommunityRating, AlbumCount, SongCount, Random
PlaylistSortName, Name, DateCreated, Random
MusicGenreSortName, Name, Random
  • Navidrome ignores the keys that it does not support.
  • CommunityRating sorts by the rating that the user gave.
  • IndexNumber and ParentIndexNumber both sort by album, disc, and track.
  • Always send SortBy when you load a list in pages. The default order of albums and songs is not alphabetical.

Pages and full sync

Without Limit, Navidrome returns all the items, except in a search. To sync a library, you can read it in a single request, because Navidrome sends the list while it reads it. Navidrome limits how many of these lists it sends at the same time, and the other requests wait. Read the responses without pauses, and do not send many list requests in parallel.

Navidrome always returns TotalRecordCount, even with EnableTotalRecordCount=false.

Send SearchTerm to GET /Items, GET /Artists, or GET /Artists/AlbumArtists:

  • Without IncludeItemTypes, the results have only albums.
  • A SearchTerm with a single letter or digit returns no results.
  • Without Limit, Navidrome returns up to 100 items. The maximum is 2,000.
  • TotalRecordCount is not the number of matches. If there are more matches after the current page, it is the number of items so far plus 1.
  • Navidrome ignores Filters, IsFavorite, and IsPlayed in a search.
  • Artist results include all artists, such as composers. Navidrome ignores GenreIds in an artist search.
  • Playlist and genre lists ignore SearchTerm, and return all playlists and genres.

Item fields

Navidrome returns most fields in all responses. It returns these fields only when you ask for them in Fields:

FieldNotes
MediaSourcesOnly for songs. Has the file size, the bit rate, and the audio streams
SortNameUse it to build an alphabetical index. It matches the order of SortBy=SortName
StudiosOnly for albums. Has the record labels
PrimaryImageAspectRatioOnly when Navidrome knows the size of the image
Genres, TagsWith these values in Fields, the lists are present even when they are empty. Tags is always empty

GET /Items/{itemId} follows the same rule. It does not return MediaSources if you do not ask for it.

Navidrome never returns People, ProviderIds, Overview, Etag, or DateLastMediaAdded. This means that MusicBrainz IDs and artist biographies are not available in this API.

These fields can be different from what you expect:

  • AlbumArtists in songs and albums has only one artist. Artists and ArtistItems in songs have all the track artists.
  • Codec in MediaStreams can be missing or in uppercase, for example MP3. Use Container to know the file type.
  • HasLyrics in lists is true only for lyrics in the file tags. See Lyrics.
  • NormalizationGain is the ReplayGain track gain in songs, and the album gain in albums. Songs also have the album gain in AlbumNormalizationGain. The values are in dB.
  • PremiereDate is always a full date. If the file has only the year, the date is January 1.
  • DateCreated depends on the RecentlyAddedBy option.
  • UserData.PlaybackPositionTicks is always 0, because Navidrome does not save the position in a song.

Images

  • Find the image. Use ImageTags.Primary and the ID of the item. If a song has no ImageTags.Primary, use AlbumPrimaryImageTag and AlbumId. If both are missing, the item has no artwork, and you can show your own placeholder.
  • Cache the image. Send the image tag in the tag parameter. When it matches the current image, the response can be cached for one year. The tag changes when the image changes.
  • Missing artwork. GET /Items/{itemId}/Images/{imageType} returns a placeholder image with the status 200 and the header Cache-Control: no-store.
  • Size. width, height, maxWidth, maxHeight, fillWidth, and fillHeight set the maximum size. Navidrome keeps the aspect ratio, and does not make small images larger.
  • Ignored parameters. The image type and the image index in the path, format, and quality have no effect. Each item has one image.
  • Parallel requests. Send only a few image requests at the same time, for example 4. Navidrome returns 429 when too many requests wait.

ImageBlurHashes is missing until Navidrome processes the image for the first time.

Streaming

EndpointUse it to
GET /Items/{itemId}/File, GET /Items/{itemId}/DownloadGet the original file. The player settings have no effect
GET /Audio/{itemId}/universalTell Navidrome which formats your client can play, and let it decide
GET /Audio/{itemId}/stream, GET /Audio/{itemId}/stream.{container}Get a specific format
GET /Audio/{itemId}/main.m3u8Get a transcoded song in an HLS playlist

The player settings can force a different format or a lower bit rate in the last three, when the request has the full authorization header. To always get the original file from universal and stream, send static=true.

POST /Items/{itemId}/PlaybackInfo does not decide how to play a song. Navidrome ignores the DeviceProfile in the request, always returns one media source, and always sets SupportsDirectPlay to true. The TranscodingUrl in the response is the URL of the original file, with the token in it. It starts with /Audio, so add it to the end of the base URL, after /jellyfin.

Universal

Send the formats that your client can play in Container, and the format that you want for the other songs in TranscodingContainer and AudioCodec. For example, Container=flac,mp3,ogg|opus&TranscodingContainer=mp3&AudioCodec=mp3&MaxStreamingBitrate=320000.

SongResult
In a format from Container, and not above MaxStreamingBitrateThe original file
Any other songTranscoded to AudioCodec, or to TranscodingContainer when there is no AudioCodec
Any other song, when Navidrome cannot transcode it to that formatThe original file, even if your client cannot play it, or if it is above MaxStreamingBitrate

Navidrome cannot transcode the song in these cases:

  • The server does not have the format.
  • AudioCodec is a list. Send only one value.
  • The format is flac, and the original is in a lossy format such as MP3, or MaxStreamingBitrate is too low for FLAC.

To be safe, use mp3, aac, or opus.

Navidrome ignores TranscodingProtocol. It never returns HLS here.

Stream

The format is the first of these values that you send: the container parameter, the extension in the path, or audioCodec. The bit rate is audioBitRate or maxStreamingBitrate. Navidrome uses the first rule in this table that matches the request:

RequestResult
static=trueThe original file
No format and no bit rateThe original file
Only a bit rate, lower than the originalTranscoded to the format in the DefaultDownsamplingFormat option (default opus)
Only a bit rate, equal to or above the originalThe original file
The format of the original, and no bit rate or one that is not lower than the originalThe original file
flac, with a bit rateTranscoded to DefaultDownsamplingFormat
Any other request with a format that the server hasTranscoded to that format. By default, the server has mp3, opus, aac, and flac
A format that the server does not have, or a list of formatsTranscoded to DefaultDownsamplingFormat

Always check the Content-Type header of the response, because the format can be different from the one you requested.

Seeking

Navidrome ignores startTimeTicks, so a stream always starts at the beginning of the song. To seek, send a Range request. This works when the response has the Accept-Ranges: bytes header:

  • Original files always accept Range requests.
  • A song that is being transcoded does not. It has the Accept-Ranges: none header and no Content-Length.
  • A transcoded song accepts Range requests when it is complete in the server cache.

A HEAD request tells you what to expect. It does not start a transcode. For a transcoded song, the HEAD response always has Accept-Ranges: none, even when the song is in the cache.

A script in a web page from another origin cannot read Accept-Ranges. Send the Range request and look at the status instead. 206 means that the response starts at the position you asked for. 200 means that it starts at the beginning of the song.

HLS

GET /Audio/{itemId}/main.m3u8 returns a playlist with a single segment, which is the full transcoded song. Use audioCodec=mp3 or audioCodec=aac. With any other codec, Navidrome uses AAC. audioBitRate sets the bit rate. The segment URL has the token in it, so the media player does not need to send headers.

The player settings have these effects on HLS:

  • A forced format replaces audioCodec, even if HLS players cannot play it, such as opus.
  • The maximum bit rate applies only when the request for the segment also has the full authorization header.

Play counts and scrobbling

Streams and downloads never count as a play. Your client must report playback:

  1. When a song starts, call POST /Sessions/Playing with ItemId.
  2. While it plays, call POST /Sessions/Playing/Progress with ItemId, PositionTicks, and IsPaused. Also call it when the user pauses, continues, or seeks.
  3. When it ends, or when the user skips it, call POST /Sessions/Playing/Stopped with ItemId and the final PositionTicks.

Navidrome counts a play, and sends it to external services, when the Stopped report has a PositionTicks of at least 50% of the song or 4 minutes, whichever comes first. The Playing and Progress reports only show what the user is playing now.

  • Without PositionTicks in the Stopped report, the play does not count.
  • Each Stopped report that passes the limit counts as one play. Do not send it twice.
  • The time of the play is the time of the report. There is no way to send offline plays with their original time.
  • These endpoints always return 204, even if the song does not exist.
  • Send the full authorization header in these requests. Without Client and DeviceId, the play is not sent to external services.

You cannot mark a song as played or unplayed. The UserPlayedItems endpoints do not exist, and Navidrome ignores Played and PlayCount in POST /UserItems/{itemId}/UserData.

Favorites and ratings

Songs, albums, artists, and playlists can have a favorite mark and a rating.

Navidrome stores ratings from 1 to 5 stars. Jellyfin ratings go from 0 to 10, so Navidrome divides them by 2 and rounds the result:

You sendNavidrome storesRating in the response
likes=true5 stars10
likes=false1 star2
Rating: 74 stars8
Rating: 0, or DELETE /UserItems/{itemId}/RatingNo ratingNot present

Likes in the response is true when the rating is 4 or 5 stars.

POST /UserItems/{itemId}/Rating also accepts a rating parameter, from 0 to 10. Without likes or rating, it returns 400. POST /UserItems/{itemId}/UserData changes only Rating, Likes, and IsFavorite. It keeps the values that you do not send.

Playlists

The user can see their own playlists and the public playlists of other users. Administrators can see and change all playlists. Other users can change only their own playlists.

  • Add songs. Ids accepts the IDs of songs, albums, artists, and playlists. Navidrome replaces each album, artist, or playlist with its songs. Send position to insert the songs at an index that starts at 0. One request accepts up to 50,000 songs.
  • Remove or move songs. Use the PlaylistItemId that GET /Playlists/{playlistId}/Items returns for each song. The song ID does not work, and returns 404.
  • Read the list again after each change. PlaylistItemId is the position of the song in the playlist. When you add, remove, or move a song, the IDs of the other songs change. To remove many songs, send all their EntryIds in one request.
  • Update. POST /Playlists/{playlistId} keeps the values that you do not send. If you send Ids, it replaces all the songs. An empty Ids list removes all the songs.
  • Create. Send the values in a JSON body. Navidrome does not read them from the query.
  • Delete. Call DELETE /Items/{itemId}. It returns 404 for items that are not playlists.
  • Change the cover. Call POST /Items/{itemId}/Images/{imageType} with a JPEG, PNG, WebP, or GIF image. The body can be the file or its Base64 text. The administrator can limit this with the EnableArtworkUpload and MaxImageUploadSize options.
  • Read-only songs. You cannot change the songs of a smart playlist, or of a playlist that Navidrome keeps in sync with a file, such as an .m3u file. The response is 403. You can change the name.

CanEdit in GET /Playlists/{playlistId}/Users is false for these playlists. It can be true for a playlist of another user, and then a change returns 403 or 404, or 500 when you change the cover.

Lyrics

GET /Audio/{itemId}/Lyrics returns lyrics from the file tags, from files such as .lrc, and from plugins. Lines have Start only when the lyrics are synced. They can also have Cues, with the time of each word. If there are no lyrics, the response is 404.

To know if a song has lyrics, call POST /Items/{itemId}/PlaybackInfo and look for a stream with the type Lyric in MediaStreams. This finds more lyrics than HasLyrics, but it can miss lyrics from a slow plugin. To be sure, request the lyrics.

Similar items and Instant Mix

The results come from external services and plugins, and have only items that are in the library.

  • An Instant Mix of a song starts with that song.
  • Limit is 20 by default. The maximum is 100 for similar items and 500 for an Instant Mix.
  • Navidrome waits up to 10 seconds for the external services. After that, it returns an empty list, or only the first song of the mix. The results can be ready if you try again later, so do not cache an empty list for a long time.
  • If the services find nothing, an Instant Mix of an album, artist, playlist, or genre has random songs from that item. The other lists can be empty. It is not an error.
  • Navidrome ignores Fields here, so the items never have MediaSources or SortName. To get these fields, send the IDs to GET /Items in Ids.

Internet radio

GET /LiveTv/Channels returns the internet radio stations as items with the type TvChannel and the ChannelType Radio. To play a station:

  1. Call POST /Items/{itemId}/PlaybackInfo with the ID of the station.
  2. Play the URL in MediaSources[0].Path. It is the address of the station, not of Navidrome, so do not send the token to it.

The stream endpoints return 404 for a station. Navidrome ignores playback reports for stations.

Sonic similarity

Navidrome has endpoints that are compatible with the AudioMuse-AI plugin for Jellyfin. They work when a sonic similarity plugin is active in Navidrome, such as AudioMuse-AI.

Call GET /AudioMuseAI/info first. If AvailableEndpoints is empty, there is no active plugin, and the other endpoints return 404.

EndpointParametersNotes
GET /AudioMuseAI/infoVersion is the version of Navidrome
GET /AudioMuseAI/healthReturns 200 with an empty body when a plugin is active
GET /AudioMuseAI/similar_tracksitem_id, n, eliminate_duplicatesn is 10 by default, and at most 100. eliminate_duplicates is true by default, and returns only one song of each artist. distance has the similarity value from the plugin, so keep the order of the response and do not sort by it
GET /AudioMuseAI/find_pathstart_song_id, end_song_id, max_stepsmax_steps is 25 by default, and at most 100. Songs have tempo when the file has the BPM. They do not have energy, key, mood_vector, scale, or other_features

WebSocket

GET /socket accepts WebSocket connections. Send the token in api_key. Navidrome sends ForceKeepAlive when the connection opens, and answers each KeepAlive message. Send KeepAlive every 60 seconds. Navidrome closes the connection when it receives no message for 90 seconds.

Navidrome does not send events, such as library changes, and does not support remote control.

Server discovery

When the administrator turns on Jellyfin.AutoDiscovery, Navidrome answers the Jellyfin discovery message (who is JellyfinServer?) on UDP port 7359. Address in the answer has the full URL, with the /jellyfin path:

{
  "Address": "http://192.168.1.10:4533/jellyfin",
  "Id": "ed2f719f6b294c7e9205ec53247cf704",
  "Name": "Navidrome 0.65.0 (b2debbb3)",
  "EndpointAddress": null
}

If the user types the address, do not remove the path from it. The API works only with the /jellyfin path.

Server options that change responses

The administrator of the server can change these options:

OptionDefaultEffect on the API
Jellyfin.EnabledfalseWhen false, the API does not exist
Jellyfin.ServerName"Navidrome <version>"The value of ServerName
Jellyfin.ExposedPublicUsersEmptyThe users that GET /Users/Public returns
Jellyfin.QuickConnecttrueWhen false, GET /QuickConnect/Enabled returns false, and the other Quick Connect endpoints return 401
Jellyfin.AutoDiscoveryfalseTurns on server discovery
Jellyfin.MaxConcurrentStreamsHalf the database connections, at least 2How many lists Navidrome sends at the same time
AuthRequestLimit and AuthWindowLength5 and 20sThe login limit
DefaultDownsamplingFormat"opus"The default transcoding format. See Stream
PreferSortTagsfalseWhen true, SortName and the order of lists use the sort tags in the files, if they exist
RecentlyAddedBy"scan"The date in DateCreated
Transcoding.MaxConcurrent and Transcoding.MaxConcurrentPerUser0When set, Navidrome limits how many transcodes can run at the same time. Above the limit, a stream returns 500

EnableDownloads has no effect on this API. GET /Items/{itemId}/Download always works, and EnableContentDownloading in the user policy is always true.

Endpoints

The notes show only the differences from Jellyfin and the extra features. An endpoint that is not in these tables does not exist in Navidrome.

Some clients use older paths that start with /Users/{userId}. Navidrome accepts them for the endpoints in the last table.

System

EndpointNotes
GET /System/Info/PublicNeeds no token. LocalAddress is the URL that the client used, with the /jellyfin path
GET /System/Info
GET /System/Ping, POST /System/PingNeed no token. Return the server name as plain text
GET /System/Endpoint
GET /socketSee WebSocket

Login and users

EndpointNotes
POST /Users/AuthenticateByNameSee Authentication
POST /Users/AuthenticateWithQuickConnectSee Quick Connect
GET /QuickConnect/EnabledNeeds no token
POST /QuickConnect/InitiateNeeds no token. See Quick Connect
GET /QuickConnect/ConnectNeeds no token. See Quick Connect
POST /QuickConnect/AuthorizeOnly administrators can send the userId of another user
GET /Users/PublicNeeds no token. Returns only the users that the administrator selected. The default is an empty list
GET /Users/Me, GET /Users/{userId}Always return the user of the token. In Policy, only IsAdministrator depends on the user
GET /UserViewsSee Libraries

Browsing endpoints

EndpointNotes
GET /ItemsSee Browsing and Search
GET /Items/{itemId}Returns libraries, albums, artists, songs, playlists, genres, and radio stations. See Item fields
DELETE /Items/{itemId}Only for playlists
GET /Items/LatestAlways returns albums, and ignores IncludeItemTypes and GroupItems. ParentId can be a library or an artist
GET /Items/FiltersReturns genres and years. Tags and OfficialRatings are always empty
GET /ArtistsReturns the track artists. Supports ParentId (a library), GenreIds, SearchTerm, Filters, IsFavorite, IsPlayed, and sorting
GET /Artists/AlbumArtistsReturns the album artists. Supports the same parameters as GET /Artists
GET /Genres, GET /MusicGenresReturn the same list, with the genres of all the libraries that the user can access. Support only StartIndex and Limit
GET /StudiosReturns the record labels. Supports only ParentId (a library), StartIndex, and Limit
GET /LiveTv/ChannelsReturns the internet radio stations, sorted by name. Type=TV returns an empty list

Similar items and mixes

See Similar items and Instant Mix.

EndpointNotes
GET /Items/{itemId}/SimilarReturns items of the same type: songs, albums, or artists
GET /Albums/{itemId}/Similar, GET /Artists/{itemId}/Similar
GET /Items/{itemId}/InstantMixAccepts the ID of a song, album, artist, playlist, or genre
GET /Songs/{itemId}/InstantMix, GET /Albums/{itemId}/InstantMix, GET /Artists/{itemId}/InstantMix, GET /Playlists/{itemId}/InstantMixSame as GET /Items/{itemId}/InstantMix
GET /MusicGenres/InstantMix, GET /Artists/InstantMixSend the ID in the id parameter. GET /MusicGenres/{name}/InstantMix does not exist
GET /AudioMuseAI/info, GET /AudioMuseAI/health, GET /AudioMuseAI/similar_tracks, GET /AudioMuseAI/find_pathSee Sonic similarity

Playback

EndpointNotes
GET /Items/{itemId}/PlaybackInfo, POST /Items/{itemId}/PlaybackInfoIgnore the device profile. See Streaming
GET /Audio/{itemId}/universalAlso accepts HEAD. See Universal
GET /Audio/{itemId}/stream, GET /Audio/{itemId}/stream.{container}Also accept HEAD. See Stream
GET /Audio/{itemId}/main.m3u8See HLS
GET /Items/{itemId}/File, GET /Items/{itemId}/DownloadAlso accept HEAD. Only for songs
GET /Audio/{itemId}/LyricsSee Lyrics
POST /Sessions/Playing, POST /Sessions/Playing/Progress, POST /Sessions/Playing/StoppedSee Play counts and scrobbling
POST /Sessions/Playing/Ping, POST /Sessions/Capabilities, POST /Sessions/Capabilities/FullReturn 204 and do nothing

Images, favorites, and ratings

EndpointNotes
GET /Items/{itemId}/Images/{imageType}, GET /Items/{itemId}/Images/{imageType}/{imageIndex}Need no token. Also accept HEAD. See Images
POST /Items/{itemId}/Images/{imageType}, DELETE /Items/{itemId}/Images/{imageType}Only for playlists. Other items return 501
POST /UserFavoriteItems/{itemId}, DELETE /UserFavoriteItems/{itemId}
POST /UserItems/{itemId}/Rating, DELETE /UserItems/{itemId}/RatingSee Favorites and ratings
GET /UserItems/{itemId}/UserData, POST /UserItems/{itemId}/UserDataSee Favorites and ratings

Playlist endpoints

See Playlists.

EndpointNotes
POST /PlaylistsReads only Name, Ids, and IsPublic
GET /Playlists/{playlistId}OpenAccess is true when the playlist is public. Shares is always empty
POST /Playlists/{playlistId}Reads only Name, Ids, and IsPublic
GET /Playlists/{playlistId}/ItemsSupports StartIndex, Limit, and Fields
POST /Playlists/{playlistId}/ItemsSend ids and position in the query
DELETE /Playlists/{playlistId}/ItemsSend the PlaylistItemId values in entryIds, in the query
POST /Playlists/{playlistId}/Items/{itemId}/Move/{newIndex}itemId is the PlaylistItemId. newIndex starts at 0
GET /Playlists/{playlistId}/Users, GET /Playlists/{playlistId}/Users/{userId}Return only the permission of the current user

Older paths

Older pathSame as
GET /Users/{userId}/ViewsGET /UserViews
GET /Users/{userId}/ItemsGET /Items
GET /Users/{userId}/Items/LatestGET /Items/Latest
GET /Users/{userId}/Items/{itemId}GET /Items/{itemId}
POST and DELETE /Users/{userId}/FavoriteItems/{itemId}POST /UserFavoriteItems/{itemId} and DELETE /UserFavoriteItems/{itemId}
POST and DELETE /Users/{userId}/Items/{itemId}/RatingPOST /UserItems/{itemId}/Rating and DELETE /UserItems/{itemId}/Rating
GET and POST /Users/{userId}/Items/{itemId}/UserDataGET /UserItems/{itemId}/UserData and POST /UserItems/{itemId}/UserData

Get help

  • To see which unsupported endpoints your client calls, set LogLevel = "debug" in the server and look for Jellyfin API: unhandled route in the log. Each line has the method and the path.
  • To report a compatibility problem or ask for an endpoint, open an issue.