API Specificationxmb.api.v1.RailService
Get the home screen
Returns the hero and every rail worth drawing for the caller, in the order they should appear.
Required scopes: xmb:user:read
Authorization
BearerAuth AuthorizationBearer <token>
An access token issued by the xeonr identity provider.
In: header
Header Parameters
Connect-Protocol-Version?number
Define the version of the Connect protocol
Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
serverSlug?string
Length
1 <= length <= 128railSize?integer
How many items each rail may carry. Zero applies the default, which is a wide screen's worth and a little.
Format
int32Range
0 <= value <= 50[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.RailService/GetHome" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"spotlight": "map[overview:A chemistry teacher diagnosed with terminal cancer turns to manufacturing methamphetamine to secure his family's future. reason:RAIL_KIND_CONTINUE_WATCHING title:map[addedAt:2026-09-14T18:22:00Z availableEpisodeCount:62 badges:[QUALITY_BADGE_FHD] category:LIBRARY_CATEGORY_TV episodeCount:62 genres:[Drama Crime] inMyList:true librarySlug:tv libraryUuid:a1d4e7b2-6c39-4f58-9e0a-3b7c2d5f8e61 posterUrl:https://api.xmb.xeonr.io/artwork/5f1c2a9e-3b7d-4e8a-9c21-6d4f8b0a7e13/poster.jpg progress:map[status:WATCH_STATUS_IN_PROGRESS totalEpisodes:62 watchedEpisodes:14] seasonCount:5 shape:TITLE_SHAPE_SERIES sortTitle:Breaking Bad title:Breaking Bad uuid:5f1c2a9e-3b7d-4e8a-9c21-6d4f8b0a7e13 year:2008]]",
"spotlights": [
"map[overview:A chemistry teacher diagnosed with terminal cancer turns to manufacturing methamphetamine to secure his family's future. reason:RAIL_KIND_CONTINUE_WATCHING title:map[addedAt:2026-09-14T18:22:00Z availableEpisodeCount:62 badges:[QUALITY_BADGE_FHD] category:LIBRARY_CATEGORY_TV episodeCount:62 genres:[Drama Crime] inMyList:true librarySlug:tv libraryUuid:a1d4e7b2-6c39-4f58-9e0a-3b7c2d5f8e61 posterUrl:https://api.xmb.xeonr.io/artwork/5f1c2a9e-3b7d-4e8a-9c21-6d4f8b0a7e13/poster.jpg progress:map[status:WATCH_STATUS_IN_PROGRESS totalEpisodes:62 watchedEpisodes:14] seasonCount:5 shape:TITLE_SHAPE_SERIES sortTitle:Breaking Bad title:Breaking Bad uuid:5f1c2a9e-3b7d-4e8a-9c21-6d4f8b0a7e13 year:2008]]",
"map[reason:RAIL_KIND_RECENTLY_ADDED title:map[addedAt:2026-10-02T20:05:00Z badges:[QUALITY_BADGE_UHD] category:LIBRARY_CATEGORY_MOVIE genres:[Science Fiction] inMyList:false librarySlug:films libraryUuid:c4b7a1e9-2f6d-4a83-b5c0-8d1e9f3a6b27 posterUrl:https://api.xmb.xeonr.io/artwork/9a3e7c41-2b6f-4d8e-a1c5-0e7b3f9d2c64/poster.jpg runtimeMinutes:155 shape:TITLE_SHAPE_FILM sortTitle:Dune title:Dune uuid:9a3e7c41-2b6f-4d8e-a1c5-0e7b3f9d2c64 year:2021]]"
],
"rails": [
"map[id:because:e3b9d6a2-71c4-4f85-b0d3-9a2c5e8f1b47 items:[map[title:map[addedAt:2026-09-14T18:22:00Z availableEpisodeCount:62 badges:[QUALITY_BADGE_FHD] category:LIBRARY_CATEGORY_TV episodeCount:62 genres:[Drama Crime] inMyList:true librarySlug:tv libraryUuid:a1d4e7b2-6c39-4f58-9e0a-3b7c2d5f8e61 posterUrl:https://api.xmb.xeonr.io/artwork/5f1c2a9e-3b7d-4e8a-9c21-6d4f8b0a7e13/poster.jpg progress:map[status:WATCH_STATUS_IN_PROGRESS totalEpisodes:62 watchedEpisodes:14] seasonCount:5 shape:TITLE_SHAPE_SERIES sortTitle:Breaking Bad title:Breaking Bad uuid:5f1c2a9e-3b7d-4e8a-9c21-6d4f8b0a7e13 year:2008]]] kind:RAIL_KIND_BECAUSE_YOU_WATCHED seeAll:map[relatedToSeriesUuid:e3b9d6a2-71c4-4f85-b0d3-9a2c5e8f1b47] subject:map[title:map[category:LIBRARY_CATEGORY_TV librarySlug:tv shape:TITLE_SHAPE_SERIES title:Chernobyl uuid:e3b9d6a2-71c4-4f85-b0d3-9a2c5e8f1b47]] totalCount:19]"
]
}