Frequently asked questions for
ytmusicapi. Contributions are welcome, please
submit a PR.
How do I add a song, album, artist or playlist to my library?¶
- songs: edit_song_library_status . Liking a song using rate_song does not add it to your library, only to your liked songs playlist.
- albums, playlists: rate_playlist
- artists: subscribe_artists . This will add the artist to your Subscriptions tab. The Artists tab is determined by the songs/albums you have added to your library.
How can I get the radio playlist for a song, video, playlist or album?¶
- songs, videos:
- playlists, albums:
How can I get the shuffle playlist for a playlist or album?¶
How can I get all my public playlists in a single request?¶
with your own
YouTube Music API Internals¶
Is there a difference between songs and videos?¶
Yes. Videos are regular videos from YouTube, which can be uploaded by any user. Songs are actual songs uploaded by artists.
You can also add songs to your library, while you can’t add videos.
Is there a rate limit?¶
There most certainly is, although you shouldn’t run into it during normal usage. See related issues:
What is a browseId?¶
browseId is an internal, globally unique identifier used by YouTube Music for browsable content.