youtube_search
Find YouTube videos, channels, or playlists by query. Filter results by channel, region, publish date, and sort by relevance, date, views, or rating to locate the content you need.
Instructions
Search YouTube for videos, channels, or playlists.
Costs 100 quota units per call — use sparingly.
Args: query: Search query string search_type: Type of results: "video", "channel", or "playlist" channel_id: Limit search to a specific channel max_results: Number of results (max 50) order: Sort order: "relevance", "date", "viewCount", "rating" published_after: ISO 8601 datetime (e.g., "2025-01-01T00:00:00Z") published_before: ISO 8601 datetime region_code: ISO 3166-1 alpha-2 country code (e.g., "US")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | relevance | |
| query | Yes | ||
| channel_id | No | ||
| max_results | No | ||
| region_code | No | ||
| search_type | No | video | |
| published_after | No | ||
| published_before | No |