Skip to main content
Glama

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
NameRequiredDescriptionDefault
keywordNoSearch term.
langNoLanguage code (IETF language tag) for localized results. Defaults to en-US. Unsupported code will fallback to en-US.
movieNoExample value:
uploadDateNoUpload date. Defaults to all.
durationNoall - No duration limit (default value) short - Under 4 minutes medium - 4 - 20 minutes long - Over 20 minutes
sortByNoSorting metrics. Defaults to relevance.
nextTokenNoA 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.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BACH-AI-Tools/bachai-youtube-media-downloader'

If you have feedback or need assistance with the MCP directory API, please join our Discord server