Skip to main content
Glama
BACH-AI-Tools

BACH YouTube API MCP Server

search_channels_videosplaylists

Find videos and playlists from a specific YouTube channel using search queries, with options for pagination, localization, and channel identification by ID or username.

Instructions

Search channel's videos and playlists, also get channel details. Quota cost is 1 unit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoChannel Id
forUsernameNoIf id not available then provide username. Quota cost +1.
queryYesSearch query
tokenNoPagination token Alternatively, use X-TOKEN in header
geoNoISO 3166-2 country code of the region. Like US (default), GB, CA, IN, etc.
langNoLanguage code for localized results. Like en, gb, hi, etc
X-CACHEBYPASSNoCache bypass, the value must be 1 Quota Cost +1
X-TOKENNoAlternative way to pass Pagination token via headers. This will solve 414, URI too long issue.

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-yt-api'

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