

YouTube Discovery
Connector
Available ActionsEach successful request consumes credits as outlined below.
search5crget_video_details5crget_trending_videos5crget_channel_details5crlist_channel_playlists5crlist_playlist_items5crlist_public_comments5crlist_video_categories5crlist_supported_languages5crlist_supported_regions5cr
Details
Tap into the full world of public YouTube data straight from your agent. Search billions of videos, channels, and playlists by topic, keyword, channel, date, language, region, livestream status, captions, duration, and license, then pull rich metadata and statistics like view counts, like counts, comment counts, subscriber counts, durations, tags, and topics. Track trending videos by country and category, browse the contents of any public playlist, and read public comment threads to gauge audience sentiment. Ideal for content research, competitive analysis, SEO and keyword discovery, influencer and channel vetting, brand and media monitoring, and trend spotting.
Use Cases
Search YouTube videos by topic keyword and advanced filters, Discover trending videos by country and category, Vet channels by subscriber and view statistics, Research competitor content and posting cadence, Find videos with captions or Creative Commons licenses, Analyze public comment threads for audience sentiment, Browse playlist contents for content curation, Build SEO and keyword discovery workflows, Monitor brand and topic mentions across YouTube, Pull video statistics for performance benchmarking
Dynamic MCP Setup
Connect once through AgentPMT Dynamic MCP, then use approved tools from the same agent connection.
30 Second Setup
STDIO connector for Claude Code, Codex, Cursor, Zed, and other LLMs that require STDIO or custom connections.
npm install -g @agentpmt/mcp-routeragentpmt-setupHosted Streamable HTTPS
MCP endpoint for browser-based apps like ChatGPT, Claude, Grok, or any time you want a streamable connection with no local install.
https://api.agentpmt.com/mcpConfig Example
Use the hosted endpoint directly in clients that support remote MCP. Store your Bearer token in the client config or secret field.
{
"mcpServers": {
"agentpmt": {
"type": "streamable-http",
"url": "https://api.agentpmt.com/mcp",
"headers": {
"Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
"x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
}
}
}
}Need client videos, organization controls, audit details, and the full feature overview?
More About Dynamic MCPAbout this Product
Discover everything happening on YouTube, straight from your agent
YouTube Discovery gives your AI agent structured, on-demand access to the public side of the world's largest video platform. Search across billions of videos, channels, and playlists, pull detailed metadata and performance statistics, surface what is trending in any country, and read public comment threads, all from a single connection with no API keys or quotas to manage.
What you can do
- Search videos, channels, and playlists by keyword, topic, channel, publish date, language, and region.
- Pull rich video metadata and statistics including view counts, like counts, comment counts, duration, tags, categories, and topics for up to 50 videos at once.
- Profile any channel by ID, handle, or username to see subscriber counts, total views, video counts, and country.
- Track trending videos by country and category to spot momentum as it happens.
- Browse playlists and list every video inside them for content curation and competitive teardowns.
- Read public comment threads on any video or channel to gauge audience sentiment and recurring questions.
- Look up reference data such as video categories, supported languages, and supported regions.
Powerful, precise search filters
Narrow results the way a researcher would. Filter videos by duration (short, medium, long), definition (HD or standard), caption availability, license (including Creative Commons), livestream status (upcoming, live, or completed), location and radius, paid product placement, and more. Sort by relevance, date, rating, view count, or title, and page through large result sets with built-in pagination tokens.
Built for real workflows
- Content research and planning: see what already performs in your niche before you produce.
- SEO and keyword discovery: mine the titles, tags, and topics that win views.
- Competitive analysis: benchmark rival channels, posting cadence, and engagement.
- Influencer and creator vetting: verify reach and audience before a partnership.
- Brand and media monitoring: track mentions, sentiment, and conversation around your topics.
- Trend spotting: watch trending charts across regions and categories.
Public data, clean and ready to use
Every response comes back as clean, structured fields with ready-to-open YouTube links, so your agent can reason over results immediately. YouTube Discovery returns public information only. It does not download media files and does not require any private account access, which keeps it fast, safe, and simple to drop into any automation.
Frequently Asked Questions
How do I connect this tool to an external agent?
You can install the local MCP server by opening a terminal and running:
Install commands
npm install -g @agentpmt/mcp-router
agentpmt-setupThis will connect you to local agents like Claude Code, Windsurf, Grok Build, Cursor, etc.
Alternatively you can connect to the hosted version with this config block, no installation required:
Hosted MCP config
{
"mcpServers": {
"agentpmt": {
"type": "streamable-http",
"url": "https://api.agentpmt.com/mcp",
"headers": {
"Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
"x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
}
}
}
}View MCP Connection Instructions for more details.
How does an external agent use this tool?
After the external agent is connected to an Agent Group that can use this tool, paste this prompt into the agent:
Agent prompt
Use the AgentPMT-Tool-Search-and-Execution tool. First call action 'get_instructions' so you know how to use the tool search interface. Then call action 'get_schema' with tool_id 6a42b0dbb93930241f4b9932 ("YouTube Discovery"). After reading the schema and any returned instructions, tell me what this tool can do, we are going to be using it
The agent should fetch the tool schema first, collect the required parameters for your request, and then call the tool through AgentPMT.
Can I filter and sort search results?
Yes. You can filter videos by date range, region, language, duration, definition, caption availability, license, livestream status, location, and category, and sort by relevance, date, rating, view count, or title.
Can it download videos or post content?
No. YouTube Discovery returns public metadata only. It does not download audio or video, and it does not create, edit, upload, or moderate content.
Can it read comments?
Yes. It lists public comment threads on a video or channel, optionally including replies, so you can analyze audience sentiment and recurring questions.
Do I need a YouTube account or API key?
No. The connection works out of the box with no account linking, API keys, or quota management on your side. Just call it and start discovering data.
How does pagination work?
Large result sets come back one page at a time with a page token. Pass that token on your next call to fetch the following page of results.
What can YouTube Discovery do?
It lets your agent search public YouTube videos, channels, and playlists, retrieve detailed video and channel statistics, find trending videos by region and category, browse playlist contents, and read public comment threads. It is a read and research tool for the public side of YouTube.
What video data can I get?
For any public video you can retrieve the title, description, channel, publish date, duration, tags, category, view count, like count, comment count, caption availability, license, and live streaming details, for up to 50 videos in a single call.


