Search
youtube_searchSearch YouTube for videos, channels, playlists, shorts, and live streams using a keyword query. Supports filtering by upload date, duration, and sorting by relevance or popularity.
Instructions
Searches YouTube by keyword query and returns matching videos, channels, playlists, shorts, shelves, and live streams. Each video result includes title, URL, thumbnail, view count (views), publish date, duration, channel info, and badges. Supports filtering by upload date, sorting by relevance or popularity, and paginating with continuationToken. Set is_paid_promotions=true to search YouTube videos with the paid product placement / sponsorship disclosure. Potentially consumes paid API credits; requires confirm=true. Read-like POST requests do not publish to social platforms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Type of content to search for | |
| query | Yes | Search query. For stricter title matching, use YouTube's intitle: operator, for example intitle:"Foursquare Swarm". Quoted queries by themselves may still be broadened by YouTube when no fresh exact matches are available. | |
| region | No | 2 letter country code of the country to put the proxy in. | |
| sortBy | No | Sort by | |
| account | No | Named private ScrapeCreators account; selects credentials, not a remote account ID. | |
| confirm | No | Must be true for the specific approved credit-consuming research call. | |
| duration | No | Duration of the video. Only applies to videos (not shorts). | |
| uploadDate | No | Upload date | |
| includeExtras | No | This will get you the like + comment count and the description. To get the full details of the video, use the /v1/youtube/video endpoint. *This will slow down the response slightly.* | |
| continuationToken | No | Continuation token to get more videos. Get 'continuationToken' from previous response. |