Skip to Content

Supported YouTube URL Formats

The API supports various input formats for referencing videos, playlists and channels. Here are the supported formats:

Content TypeSupported FormatsExample
VideosYouTube video URLhttps://youtube.com/watch?v=dQw4w9WgXcQ
Short URLhttp://youtu.be/dQw4w9WgXcQ
Shorts URLhttps://youtube.com/shorts/dQw4w9WgXcQ
Embed URLhttp://www.youtube.com/embed/dQw4w9WgXcQ
Video IDdQw4w9WgXcQ
PlaylistsPlaylist URLhttps://youtube.com/playlist?list=PL9tY0BWXOZFuFEG_GtOBZ8-8wbkH-NVAr
Playlist IDPL9tY0BWXOZFuFEG_GtOBZ8-8wbkH-NVAr
ChannelsChannel URLhttps://youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw
Custom URLhttps://youtube.com/c/RickAstley
Handle URLhttps://youtube.com/@RickAstley
Channel IDUCuAXFkgsw1L7xaCfnd5JJOw

Not supported content types:

  • Live videos
  • Private videos
  • User profile links