Skip to main content
Glama
BACH-AI-Tools

BACH YouTube API MCP Server

channel_shorts

Retrieve YouTube Shorts videos and channel information from a specified YouTube channel, with options to sort results and customize localization settings.

Instructions

Get shorts listing along with channel details Quota cost is 1 unit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoExample value: UCMhe8jmac-tWKU0Vj_OXDvA
forUsernameNoIf id not available then provide username. Quota cost +1.
sort_byNoSorts the channel videos. Available options: newest [default] oldest popular
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
localNoGet localized data, the value must be 1. Works with provided value of geo, if not provided then default is US. Quota Cost +1
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