Skip to content

YouTube Namespace Reference

The YouTube namespace provides YouTube-specific metadata for RSS feeds, enabling identification of YouTube videos and channels within RSS feeds.

Namespace URIhttp://www.youtube.com/xml/schemas/2015
Prefix<yt:*>
Available inAtom

Structure

INFO

TDate represents date fields in the type definitions. When parsing, dates are returned as strings in their original format (see Parsing › Handling Dates for more details). When generating, dates should be provided as JavaScript Date objects.

ts
export type Item = {
  videoId?: string
  channelId?: string
}

export type Feed = {
  channelId?: string
  playlistId?: string
}