youtube_search
Search YouTube for videos, shorts, channels, playlists, or movies by query. Filter by upload date, duration, type, and features, then paginate results with a continuation token.
Instructions
Search YouTube. Returns normalized YouTube search results using YouTube's InnerTube search API.
Pass continuation_token from a previous response to retrieve the next page.
Use q as the primary query parameter; search_query is accepted as an alias.
hl and gl localize ranking and result context; they default to en and US.
Named filters cover the public web search filters. Account-only chips such as Watched and Unwatched are not exposed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Search query | |
| gl | No | Two-letter YouTube region code | |
| hl | No | YouTube interface language | |
| type | No | Filter by type | |
| params | No | Raw protobuf-encoded search filter (base64) | |
| sort_by | No | Sort results | |
| duration | No | Filter by duration; short, medium, and long preserve their previous upstream encodings | |
| features | No | Comma-separated feature filters. Allowed values: live, 4k, hd, subtitles, cc, creative_commons, 360, vr180, 3d, hdr, location, purchased | |
| upload_date | No | Filter by upload date | |
| search_query | No | Alias for q | |
| continuation_token | No | Pagination token returned by a previous request |