Search YouTube
youtube_searchSearches YouTube for query and returns the results as JSON. For each video: videoId, title, url, channel (name/id/url), publishedText, viewCount (+ text), lengthSeconds (+ text), thumbnails, descriptionSnippet, badges, verified and isLive. Filter with type (video / channel / playlist / all) and sort (relevance / date / views / rating), and collect up to max_results across pages. Returns JSON. Billed like an API request; listing plugins bill one unit per result page they fetch, so keep max_results modest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Ordering: relevance, rating, date, views. Default: relevance. | |
| type | No | Result type: video, channel, playlist, movie, all. Default: video. | |
| query | Yes | Search terms. | |
| max_results | No | How many results to collect across pages (~20 per page). Default: 20. | |
| proxy_country | No | Proxy country the request is sent from (ISO-2, e.g. 'US', 'DE'). Defaults to US. |