Inner provides dedicated methods for every major browsing surface in YouTube Music — the home feed, explore page, new releases, charts, mood & genres, and individual content pages for artists, albums, and playlists. All methods areDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/faraasaaay/inner/llms.txt
Use this file to discover all available pages before exploring further.
suspend functions returning a Result<T>.
Home feed
YouTube.home(continuation, params) browses FEmusic_home and returns Result<HomePage>. The HomePage data class contains:
chips: List<Chip>?— genre/filter chips shown at the top of the home feed. EachChiphastitle: String,endpoint: BrowseEndpoint?, anddeselectEndPoint: BrowseEndpoint?.sections: List<Section>— content carousels. EachSectionhastitle: String,label: String?,thumbnail: String?,endpoint: BrowseEndpoint?, anditems: List<YTItem>.continuation: String?— token for the next page of sections.
continuation token to load additional sections. Pass params to apply a chip filter (use the endpoint value from the selected Chip).
HomePage also exposes a filterExplicit(enabled: Boolean) method that returns a copy of the page with explicit SongItem entries removed from all sections.
Explore page
YouTube.explore() browses FEmusic_explore and returns Result<ExplorePage>. The ExplorePage data class contains:
newReleaseAlbums: List<AlbumItem>— recently released albums pulled from the “New releases” carousel.moodAndGenres: List<MoodAndGenres.Item>— mood & genre navigation buttons, each withtitle: String,stripeColor: Long, andendpoint: BrowseEndpoint.
YouTube.newReleaseAlbums() which returns Result<List<AlbumItem>> by browsing FEmusic_new_releases_albums directly.
Charts
YouTube.getChartsPage(continuation) browses FEmusic_charts and returns Result<ChartsPage>. The ChartsPage data class contains:
sections: List<ChartSection>— each section hastitle: String,items: List<YTItem>, andchartType: ChartType.continuation: String?— token for the next page.
ChartType is an enum with values TRENDING, TOP, GENRE, and NEW_RELEASES. The type is inferred from the section title.
SongItem entries in chart sections may include chartPosition: Int? and chartChange: String? fields populated from the chart ranking column.
Mood & genres
YouTube.moodAndGenres() browses FEmusic_moods_and_genres and returns Result<List<MoodAndGenres>>. Each MoodAndGenres has a title: String and items: List<MoodAndGenres.Item>. Each item has title, stripeColor, and an endpoint: BrowseEndpoint you can pass to YouTube.browse() to load that mood’s playlist grid.
Artist pages
YouTube.artist(browseId) returns Result<ArtistPage>. The ArtistPage data class contains:
artist: ArtistItem—id,title,thumbnail,channelId,playEndpoint,shuffleEndpoint,radioEndpointsections: List<ArtistSection>— e.g. “Songs”, “Albums”, “Singles”. Each section hastitle: String,items: List<YTItem>, andmoreEndpoint: BrowseEndpoint?for loading the full list.description: String?— the artist’s bio text from the immersive header.subscriberCountText: String?— formatted subscriber count string (e.g."12M subscribers"), if available.monthlyListenerCount: String?— formatted monthly listener count string, if available.
The
browseId for an artist always starts with UC (e.g. UCxxxxxx). You can obtain it from
ArtistItem.id returned by search results or from Artist.id inside a SongItem.moreEndpoint is non-null), call YouTube.artistItems(endpoint) which returns Result<ArtistItemsPage>:
title: Stringitems: List<YTItem>continuation: String?
YouTube.artistItemsContinuation(continuation) which returns Result<ArtistItemsContinuationPage> (items, continuation).
Album pages
YouTube.album(browseId, withSongs) returns Result<AlbumPage>. The AlbumPage data class contains:
album: AlbumItem—browseId,playlistId,title,artists,year,thumbnail,explicitsongs: List<SongItem>— full track listing (fetched via the album’s playlist ID, with automatic continuation handling)description: String?— album description textotherVersions: List<AlbumItem>— alternate versions (deluxe editions, remasters, etc.)
withSongs = false to skip the track fetch and get only metadata:
Playlist pages
YouTube.playlist(playlistId) returns Result<PlaylistPage>. The PlaylistPage data class contains:
playlist: PlaylistItem— metadata includingid,title,author,songCountText,thumbnail,playEndpoint,shuffleEndpoint,radioEndpoint,isEditablesongs: List<SongItem>— the first page of tracks; eachSongItemincludes asetVideoIdfield required for remove/reorder operationssongsContinuation: String?— token for the next songs pagecontinuation: String?— outer section-level continuation token
YouTube.playlistContinuation(continuation) which returns Result<PlaylistContinuationPage> (songs, continuation):
Generic browse
YouTube.browse(browseId, params) is a lower-level method for any InnerTube browse ID. It returns Result<BrowseResult>:
title: String?— the page title from the headeritems: List<BrowseResult.Item>— each item hastitle: String?anditems: List<YTItem>
BrowseResult exposes filterExplicit(enabled) and filterVideo(enabled) helpers.