search_for_videos_movies
Search YouTube videos and movies using keywords with filters for duration, upload date, language, and sorting. Supports pagination for comprehensive results.
Instructions
This endpoint searches for YouTube videos (movies) with optional filters. Pagination scraping is supported. Thumbnails will not be blurred by age safety.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | No | Search term. | |
| lang | No | Language code (IETF language tag) for localized results. Defaults to en-US. Unsupported code will fallback to en-US. | |
| movie | No | Example value: | |
| uploadDate | No | Upload date. Defaults to all. | |
| duration | No | all - No duration limit (default value) short - Under 4 minutes medium - 4 - 20 minutes long - Over 20 minutes | |
| sortBy | No | Sorting metrics. Defaults to relevance. | |
| nextToken | No | A string for getting the next page of data. If not specified, the first page of data will be returned. If specified, keyword, movie, uploadDate, duration and sortBy will be ignored. |