Search YouTube
Returns YouTube videos or channels that match a query, with country and language filters and pagination.
Updated Nov 16, 2026
search-youtube.md
Search YouTube
Returns YouTube videos or channels that match a query, with country and language filters and pagination.
Note: Costs 1 credit per successful request.
Set up
Use the first option your agent supports.
MCP (official, remote)
Add this server to your agent's MCP settings, then sign in when asked.
{ "mcpServers": { "getyoutubetranscript": { "url": "https://getyoutubetranscript.com/api/mcp" } } }
Call the MCP tool search_youtube.
Server URL: https://getyoutubetranscript.com/api/mcp
CLI (official)
Install the command, then confirm it runs.
npm install -g @tubeagentkit/cli
gyt --version
Run gyt search.
Set $GYT_API_KEY in your environment first (get a key: https://getyoutubetranscript.com/dashboard).
API (official)
- Base URL: https://getyoutubetranscript.com/api/v1
- Endpoint:
GET /search - Auth: send the header
Authorization: Bearer $GYT_API_KEY - Get a key: https://getyoutubetranscript.com/dashboard
- Docs: https://getyoutubetranscript.com/docs
Note: Transcripts, searches and channel video pages cost 1 credit each, and failed requests cost nothing. GET /credits is free, the cheapest check of a key. New accounts get 100 free credits, no card.
Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.
Rules
- Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
- Never print API keys.