API Reference
The iOS app runs on this JSON API, and so can anything else you write. Point the playground at your own server to send a real request to every endpoint below.
Registration, login and token refresh are public. Every other
/api/v1 endpoint needs an
Authorization: Bearer access token. Run
Login below and the playground copies the
access token into the field here.
Requests go straight from your browser, so your server's CORS
policy (CLIENT_URL) has to allow this origin. Use
HTTPS for a remote server: this page is served over HTTPS, and
browsers block plain HTTP requests from it. Loopback addresses are
the exception, though the details vary by browser.
Health
/live Liveness probe. No authentication required.
{ "result": "alive" } /ready Readiness probe: 503 until Postgres answers. No authentication required.
{ "result": "ready" } /health Plain-text heartbeat, answered by middleware ahead of the router. Accepts HEAD as well as GET. No authentication required.
. Users
/api/v1/users/registrations Create a new account.
/api/v1/users/sessions Log in. After a successful login the playground copies the access token into the Token field above.
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6...",
"refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6..."
} /api/v1/users/tokens Exchange a refresh token for a new token pair.
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6...",
"refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6..."
} Account
/api/v1/accounts/me The authenticated user.
/api/v1/accounts Update profile and appearance preference.
/api/v1/accounts/stats Library counts, watch-time totals and watch activity for the selected period.
week, month and year mean the current calendar week, month and year, not a rolling window. Inside one of them, want counts what was added rather than the whole list, and the watching and playing counts are omitted. Defaults to all.
{
"period": "all",
"movies": { "want": 131, "watched": 895, "minutes": 104760 },
"series": { "want": 16, "watching": 75, "watched": 96 },
"episodes": { "watched": 4213, "minutes": 168520 },
"games": { "want": 12, "playing": 2, "played": 34, "minutes": 61200 },
"activity": [
{ "date": "2025-01-01", "movieMinutes": 12480, "seriesMinutes": 41320 },
{ "date": "2026-01-01", "movieMinutes": 9260, "seriesMinutes": 33970 }
]
} Integrations
/api/v1/accounts/integrations/jellyfin/connection Connect your Jellyfin account. The API signs in to this instance's Jellyfin server as you. Connecting again replaces the connection.
The API never stores the password and never returns the Jellyfin token. A wrong username or password gets 422, an unreachable Jellyfin server 502. Either way the earlier connection stays. 404 means this instance has no Jellyfin server configured.
{
"base_url": "https://jellyfin.example.com",
"connected": true,
"username": "alice"
} /api/v1/accounts/integrations/jellyfin/connection The Jellyfin server address, whether you are connected and your Jellyfin username. Never the token.
404 means this instance has no Jellyfin server configured.
{
"base_url": "https://jellyfin.example.com",
"connected": true,
"username": "alice"
} /api/v1/accounts/integrations/jellyfin/connection Disconnect your Jellyfin account. The API signs the token out of Jellyfin and clears the connection, even when the sign-out fails. Also 204 when there was no connection.
Movies
/api/v1/movies Your movie library, one state at a time. type defaults to want.
Each item carries jellyfinId by the same rule as movie details.
{
"data": [
{
"id": 693134,
"jellyfinId": "4f1c9a3e7b2d48e6a0c5f19d83b72e64",
"title": "Dune: Part Two",
"posterPath": "/czembW0Rk1Ke7lCJGahbOhdCLZ.jpg",
"pinned": true,
"state": "want"
}
],
"meta": { "page": 1, "per": 24, "total": 1 }
} /api/v1/movies Add a movie to the library. id is the TMDB movie id.
With your Jellyfin account connected, a movie added as watched is also marked played in Jellyfin. That write runs in the background. The response never waits for it or reports it, and a failure is only logged on the server. A title without exactly one library match is skipped.
/api/v1/movies/{id} Movie details, credits, and recommendations.
jellyfinId is the matching item in your Jellyfin library. It appears when your Jellyfin account is connected and exactly one library item has this TMDB id. Without that, or when Jellyfin does not answer, the field is left out. A new library item can take up to 10 minutes to appear. Adding and changing a movie never return it. genres lists TMDB's genre names. It is empty when TMDB lists none or does not answer. directors lists TMDB's director names. It is left out when TMDB lists none or does not answer.
{
"id": 693134,
"imdbId": "tt15239678",
"jellyfinId": "4f1c9a3e7b2d48e6a0c5f19d83b72e64",
"title": "Dune: Part Two",
"posterPath": "/czembW0Rk1Ke7lCJGahbOhdCLZ.jpg",
"pinned": true,
"state": "want",
"overview": "Follow the mythic journey of Paul Atreides as he unites with Chani and the Fremen…",
"status": "Released",
"releaseDate": "2024-02-27",
"runtime": 167,
"rating": 8.1,
"genres": ["Science Fiction", "Adventure"],
"directors": ["Denis Villeneuve"],
"credits": […],
"recommendations": […],
"videos": […]
} /api/v1/movies/{id} Change state or pin the movie.
With your Jellyfin account connected, a change into watched also marks the movie played in Jellyfin, and a change out of watched marks it unplayed. A pin or the same state again sends nothing. That write runs in the background. The response never waits for it or reports it, and a failure is only logged on the server. A title without exactly one library match is skipped.
/api/v1/movies/{id} Remove the movie from the library.
With your Jellyfin account connected, the movie is also marked unplayed in Jellyfin, whatever its state was. That write runs in the background. The response never waits for it or reports it, and a failure is only logged on the server. A title without exactly one library match is skipped.
Games
/api/v1/games Your game library, one state at a time. type defaults to want.
/api/v1/games Add a game to the library. id is the IGDB game id, and posterPath is an IGDB cover image_id rather than a path.
/api/v1/games/{id} Game details from IGDB, with similar games and IGDB's estimated time for a main playthrough and for 100% completion, both in minutes.
developers lists the companies IGDB flags as developer. It is left out when IGDB lists none or does not answer.
/api/v1/games/{id} Change state or pin the game.
/api/v1/games/{id} Remove the game from the library.
TV Series
/api/v1/series Your series library, one state at a time. type defaults to want.
Each item carries jellyfinId by the same rule as series details.
/api/v1/series Add a show to the library. id is the TMDB series id.
status is TMDB's own, and it matters: a show left at Returning Series never derives to watched, however many episodes are ticked.
/api/v1/series/{id} Series details with seasons.
jellyfinId is the matching item in your Jellyfin library. It appears when your Jellyfin account is connected and exactly one library item has this TMDB id. Without that, or when Jellyfin does not answer, the field is left out. A new library item can take up to 10 minutes to appear. Adding and changing a show never return it. genres lists TMDB's genre names. It is empty when TMDB lists none or does not answer. creators lists TMDB's creator names. It is left out when TMDB lists none or does not answer.
{
"id": 125988,
"imdbId": "tt14688458",
"jellyfinId": "9d2e47b1c03a4f8e85b6d1a7e2c94f30",
"title": "Silo",
"posterPath": "/gMYZZvnkVNTqSVnVCphWbPXwWwb.jpg",
"pinned": false,
"state": "watching",
"overview": "In a ruined and toxic future, thousands live in a giant silo deep underground…",
"status": "Returning Series",
"releaseDate": "2023-05-04",
"seasonsCount": 3,
"episodesCount": 30,
"rating": 8.1,
"genres": ["Sci-Fi & Fantasy", "Drama"],
"creators": ["Graham Yost"],
"credits": […],
"recommendations": […],
"videos": […],
"seasons": […]
} /api/v1/series/{id} Change state or pin the show.
/api/v1/series/{id} Remove the show from the library.
With your Jellyfin account connected, the show and each of its matched episodes are also marked unplayed in Jellyfin, whatever its state was. That write runs in the background. The response never waits for it or reports it, and a failure is only logged on the server. A title without exactly one library match is skipped.
/api/v1/series/{id}/season/{seasonNumber} Season details and episodes.
An episode's jellyfinId is the matching item in your Jellyfin library. It appears when your Jellyfin account is connected, the show matches one library item and that show holds exactly one episode with this season and episode number. Without that, or when Jellyfin does not answer, the field is left out. A new library item can take up to 10 minutes to appear.
{
"id": 342410,
"tmdbSeriesId": 125988,
"title": "Season 1",
"number": 1,
"posterPath": "/zBx1X06G1OlndbXTCZI13FECNz2.jpg",
"airDate": "2023-05-04",
"overview": "",
"watched": false,
"episodes": [
{
"id": 4171851,
"jellyfinId": "c7e15a0d9b3f4e2a86d1f07b54a9e3c2",
"title": "Freedom Day",
"number": 1,
"posterPath": "/4LfxsCjAuRLdVTO6YIo0ZVUOHk6.jpg",
"runtime": 59,
"overview": "Sheriff Holston faces a choice that will change everything…",
"rating": 7.9,
"airDate": "2023-05-04",
"watched": true
},
{
"id": 4171852,
"title": "Holston's Pick",
"number": 2,
"posterPath": "/9z0iDOvCpdvDqKZqC1GhYbiWyU2.jpg",
"runtime": 50,
"overview": "Juliette is drawn into the investigation of a death in the silo…",
"rating": 7.7,
"airDate": "2023-05-04",
"watched": false
}
]
} /api/v1/series/{id}/season/{seasonNumber}/episode/{episodeNumber} Single episode details.
jellyfinId is the matching item in your Jellyfin library. It appears when your Jellyfin account is connected, the show matches one library item and that show holds exactly one episode with this season and episode number. Without that, or when Jellyfin does not answer, the field is left out. A new library item can take up to 10 minutes to appear. directors lists TMDB's director names. It is left out when TMDB lists none.
{
"id": 4171851,
"jellyfinId": "c7e15a0d9b3f4e2a86d1f07b54a9e3c2",
"title": "Freedom Day",
"number": 1,
"posterPath": "/4LfxsCjAuRLdVTO6YIo0ZVUOHk6.jpg",
"runtime": 59,
"overview": "Sheriff Holston faces a choice that will change everything…",
"rating": 7.9,
"airDate": "2023-05-04",
"watched": true,
"directors": ["Morten Tyldum"],
"credits": […],
"videos": […]
} Progress
/api/v1/series/{id}/progress Watched seasons and episodes for a show.
/api/v1/series/{id}/watched Mark a show watched. Ids come from the URL, and the body carries the rows to write.
Only the seasons and episodes you list are recorded, so a body without them marks nothing. The example lists two episodes of season one; a real client sends all nine, and every other season too. With your Jellyfin account connected, a mark that changes your watched episodes also marks the show and each of its matched episodes played in Jellyfin. That write runs in the background. The response never waits for it or reports it, and a failure is only logged on the server. A title without exactly one library match is skipped.
/api/v1/series/{id}/watched Unmark the whole show, dropping every season and episode recorded for it.
With your Jellyfin account connected, an unmark that changes your watched episodes also marks the show and each of its matched episodes unplayed in Jellyfin. That write runs in the background. The response never waits for it or reports it, and a failure is only logged on the server. A title without exactly one library match is skipped.
/api/v1/series/{id}/seasons/{seasonId}/watched Mark a season watched.
The episodes array is what actually gets recorded. Send the season's episodes in it. Without them the show ends up with no watched episodes, and nothing is tracked. With your Jellyfin account connected, a mark that changes your watched episodes also marks each matched episode of the season played in Jellyfin. That write runs in the background. The response never waits for it or reports it, and a failure is only logged on the server. An episode without exactly one library match is skipped.
/api/v1/series/{id}/seasons/{seasonId}/watched Unmark a season and its episodes.
With your Jellyfin account connected, an unmark that changes your watched episodes also marks each matched episode of the season unplayed in Jellyfin. That write runs in the background. The response never waits for it or reports it, and a failure is only logged on the server. An episode without exactly one library match is skipped.
/api/v1/series/{id}/seasons/{seasonId}/episodes/{episodeId}/watched Mark an episode as watched.
The show and season rows are created from this body if they don't exist yet, so send their metadata alongside the episode. With your Jellyfin account connected, a mark that changes your watched episodes also marks the episode played in Jellyfin. That write runs in the background. The response never waits for it or reports it, and a failure is only logged on the server. An episode without exactly one library match is skipped.
/api/v1/series/{id}/seasons/{seasonId}/episodes/{episodeId}/watched Unmark an episode.
With your Jellyfin account connected, an unmark that changes your watched episodes also marks the episode unplayed in Jellyfin. That write runs in the background. The response never waits for it or reports it, and a failure is only logged on the server. An episode without exactly one library match is skipped.
Search & Trending
/api/v1/search/movies Search movies. query is required.
/api/v1/search/series Search TV shows. query is required.
/api/v1/search/games Search PlayStation 5 and PlayStation 4 games. query is required.
/api/v1/search/people Search people. query is required.
/api/v1/trending/movies Trending movies.
/api/v1/trending/series Trending TV shows.
/api/v1/trending/games Trending PlayStation games.
/api/v1/trending/people Trending people.
Up Next
/api/v1/up-next The next aired episode you haven't watched of each pinned show you're watching, plus released movies and games from your pinned want lists.
{
"episodes": [
{
"seriesId": 125988,
"seriesTitle": "Silo",
"seriesPosterPath": "/gMYZZvnkVNTqSVnVCphWbPXwWwb.jpg",
"id": 7173957,
"title": "Who Are You?",
"seasonNumber": 3,
"number": 1,
"posterPath": "/nIvrv95n7gukebcCEUeZJDy9iEp.jpg",
"overview": "Juliette wakes somewhere she was never meant to reach…",
"runtime": 56,
"rating": 6.6,
"airDate": "2026-07-02"
}
],
"movies": [
{
"id": 786892,
"title": "Furiosa: A Mad Max Saga",
"posterPath": "/iADOJ8Zymht2JPMoy3R7xceZprc.jpg",
"overview": "As the world falls, young Furiosa is snatched from the Green Place…",
"runtime": 149,
"rating": 7.4,
"releaseDate": "2024-05-22"
}
],
"games": [
{
"id": 1942,
"title": "The Witcher 3: Wild Hunt",
"posterPath": "co1wyy",
"overview": "A story-driven open world RPG set in a fantasy universe…",
"runtime": 3000,
"rating": 9.5,
"releaseDate": "2015-05-19"
}
]
} People
/api/v1/people/{id} Person details and notable credits.
Shares
Reference
Common errors
A failure inside a controller returns a JSON body with an
error message and one of these status codes. Responses
from the middleware around it (rate limiting, an unmatched route)
are plain text.
| Status | Meaning | When |
|---|---|---|
400 | Bad Request | Malformed JSON, an unparseable id, or a body that fails validation |
401 | Unauthorized | Missing, invalid or expired access token, or wrong login credentials |
404 | Not Found | The Jellyfin connection routes, when this instance has no Jellyfin server configured, and a share of a title TMDB or IGDB doesn't know |
409 | Conflict | Registering a login or email that is already taken |
422 | Unprocessable Entity | The request was well formed but the work failed, including a title the upstream provider doesn't have, or a Jellyfin username and password that Jellyfin rejects |
429 | Too Many Requests | More than 5 requests a minute per IP to the public /users routes, 60 a minute per IP to share pages, or 120 a minute per user everywhere else |
500 | Internal Server Error | Registration or a Jellyfin connection route failed for a reason the API won't detail |
502 | Bad Gateway | The Jellyfin server could not be reached |
503 | Service Unavailable | A dependency is unreachable, from /ready, from the auth middleware, from the Jellyfin connection routes or from a share page |
Title routes never return 404: a title that isn't in your library, or
that TMDB and IGDB can't resolve, comes back as 422. Creating a
share is the exception.