YouTube video search and channel videos
youtubeYouTube video search by keyword, or the videos of one channel. Mode search takes keywords; mode profile takes a channel handle without the @. limit is 1-20 regular videos, no Shorts or live streams. Per video you get a normalized object: title, description, views, likes, comments_count, duration_seconds, published_at, thumbnail, url, channel_name, channel_url, channel_id, subscribers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | profile=channel's videos, search=keyword→videos | |
| limit | No | number of videos wanted, 1 to 20 (default 5). A larger value is lowered to 20 and 0 or a negative one means the default; the quote follows the value used. | |
| query | Yes | channel handle without @ (profile) or search keywords |