YouTube Search
Search YouTube
Use searchYouTube to search videos, channels, playlists, movies or live streams and receive normalized, paginated results.
ts
searchYouTube(query: string, options?: SearchOptions): Promise<SearchResult>Search options
| Option | Values | Default |
|---|---|---|
type | any, video, channel, playlist, movie, live | video |
sort | relevance, upload_date, view_count, rating | relevance |
limit | number, 10–50 | 20 |
Search result groups
The returned object exposes videos, channels, playlists, movies and lives. The exact populated collection depends on the selected search type.