The Browse API surfaces the YouTube Music home feed, charts, artist pages, album pages, and the generic browse endpoint. All methods areDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/faraasaaay/innertube-v2/llms.txt
Use this file to discover all available pages before exploring further.
suspend functions on the YouTube singleton and return Result<T>.
YouTube.home()
Fetches the YouTube Music home feed, optionally filtered by a chip (genre/mood category) or paginated with a continuation token.
Continuation token from a previous
HomePage.continuation. Pass null to load the first page.Optional encoded params string, used when selecting a chip to filter the feed (e.g. by genre). Comes from
HomePage.Chip.endpoint.params.Returns
Result<HomePage>
Genre/mood filter chips shown at the top of the feed.
Ordered content carousels on the home page.
Token for the next page of the feed.
null on the last page.Example
YouTube.explore()
Fetches the Explore page, providing new release albums and a list of mood/genre categories.
Returns
Result<ExplorePage>
Recently released albums surfaced on the Explore page.
Mood and genre navigation items. Each
Item has title: String, stripeColor: Long, and endpoint: BrowseEndpoint.YouTube.newReleaseAlbums()
Fetches only the new-release albums shelf without the rest of the Explore page.
Returns
Result<List<AlbumItem>> — a flat list of recently released AlbumItem entries.
YouTube.moodAndGenres()
Fetches only the mood-and-genre navigation grid without the rest of the Explore page.
Returns
Result<List<MoodAndGenres>> — each MoodAndGenres has:
Section heading (e.g.
"Moods & moments", "Genres").Individual navigation buttons.
YouTube.getChartsPage()
Fetches the YouTube Music Charts page with trending, top, genre, and new-release chart sections.
Continuation token from
ChartsPage.continuation. Pass null for the first page.Returns
Result<ChartsPage>
Chart sections, each representing a different ranking category.
Token for loading more chart sections.
null on the last page.YouTube.artist()
Fetches a full artist page including their content sections, biography, and subscriber/listener counts.
The artist browse ID, always beginning with
"UC" (e.g. "UCiMhD4jzUqG-IgPzUmmytRQ").Returns
Result<ArtistPage>
Core artist metadata.
Content carousels on the artist page (e.g. “Songs”, “Albums”, “Singles”, “Videos”, “Playlists”, “Fans also like”).
Plain-text artist biography.
Formatted subscriber count (e.g.
"12.5M subscribers").Formatted monthly listener count (e.g.
"25,123,456 monthly listeners").YouTube.artistItems()
Fetches the full item list for a specific section on an artist page (e.g. all albums, all singles).
The
moreEndpoint from an ArtistSection. Contains the browseId and optional params needed to identify the section.Returns
Result<ArtistItemsPage>
Section title (e.g.
"Albums", "Singles").All items for this section. May include
SongItem, AlbumItem, PlaylistItem depending on the section type.Token for further pagination via
artistItemsContinuation(). null when all items fit on the first page.YouTube.artistItemsContinuation()
Paginates through the results of artistItems().
Continuation token from
ArtistItemsPage.continuation.Returns
Result<ArtistItemsContinuationPage>
Next page of items.
Next continuation token.
null on the last page.YouTube.album()
Fetches a full album page including all tracks, alternative versions, and related releases.
The album browse ID, typically starting with
"MPREb_" (e.g. "MPREb_0PuM9dwW3D").When
true (default), the implementation makes an additional request to fetch all tracks in the album’s underlying playlist, including continuation pages. Set to false to skip track loading for faster metadata-only fetches.Returns
Result<AlbumPage>
Album metadata.
All tracks on the album. Empty when
withSongs = false.Alternative editions of the same release (e.g. Deluxe, Explicit, Remastered).
Related releases by the same artist or in the same style (the “More from artist” / “Releases for you” carousel).
Plain-text album description.
YouTube.browse()
Generic browse endpoint for any InnerTube browse ID that doesn’t have a dedicated method.
Any InnerTube browse ID.
Optional URL-safe base64 params string to pass alongside the browse ID.
Returns
Result<BrowseResult>
Page title, if present in the response header.
Grouped content shelves.
YouTube.related()
Fetches the “Related” tab content for a currently-playing track — similar songs, albums, artists, and playlists.
The related browse endpoint from
NextResult.relatedEndpoint.Returns
Result<RelatedPage>
Audio tracks determined to be related. Only
MUSIC_VIDEO_TYPE_ATV items are included.Related albums.
Related artists.
Related playlists.