ToolSocket / Tools / YouTube
YouTube data for AI agents
ToolSocket gives Claude, ChatGPT, Cursor, Codex and any MCP or REST client live access to YouTube — videos, channels, comments, search and shorts — through 30 ready-made tools. No YouTube account, scraper or API key of your own is needed: connect https://toolsocket.top/mcp once and pay per call (most calls $0.0015).
ToolSocket 让 Claude、ChatGPT、Cursor、Codex 等任何支持 MCP 或 REST 的 AI 智能体,直接读取YouTube的实时数据:视频、频道、评论、搜索和 Shorts 数据,共 30 个工具。不用注册YouTube账号、不用写爬虫,接入一个地址即可,按次计费(大多 $0.0015/次)。
- 30 tools
- Most calls $0.0015
- MCP + REST
- Failed calls refunded
What you can get
- Search · 搜索Search video (web) · Search channel (web) · General search (raw data, recommend V2) (web v2)8 tools
- Posts & videos · 作品与内容Get related videos (web) · Search video (web) · Get channel short videos (web)15 tools
- Users & creators · 用户与创作者Get channel ID (web) · Get channel ID from URL V2 (web) · Get channel URL from channel ID (web)13 tools
- Comments · 评论Get video comments (web v2) · Get post comments (web v2)2 tools
Connect in one step
Claude.ai, ChatGPT, Cursor, VS Code: add the MCP URL https://toolsocket.top/mcp and sign in. Claude Code:
claude mcp add --transport http toolsocket https://toolsocket.top/mcp
Any agent that reads skills (Claude Code, Codex, OpenClaw…): tell it set up https://toolsocket.top/SKILL.md. Setup for every client is in the docs.
Example
「总结这个 YouTube 视频的评论。」
Or call the tool directly over REST:
curl -s -X POST https://toolsocket.top/v1/run \
-H "Authorization: Bearer $TOOLSOCKET_API_KEY" \
-H "content-type: application/json" \
-d '{"tool":"youtube#web/search_video","input":{"search_query":"Minecraft","language_code":"en","order_by":"this_month","country_code":"us"},"wait":30}'All YouTube tools (30)
| Tool | ID | Price |
|---|---|---|
| YouTube · Get related videos (web)YouTube · 获取推荐视频(web) Get related videos by video ID. | youtube#web/get_relate_video | $0.0015 / call |
| YouTube · Search video (web)YouTube · 搜索视频(web) Search video. | youtube#web/search_video | $0.0015 / call |
| YouTube · Get channel ID (web)YouTube · 获取频道ID(web) Get channel ID. | youtube#web/get_channel_id | $0.0015 / call |
| YouTube · Get channel ID from URL V2 (web)YouTube · 从频道URL获取频道ID V2(web) Convert YouTube channel URL to channel ID. | youtube#web/get_channel_id_v2 | $0.0015 / call |
| YouTube · Get channel URL from channel ID (web)YouTube · 从频道ID获取频道URL(web) Convert YouTube channel ID to channel handle (@username) | youtube#web/get_channel_url | $0.0015 / call |
| YouTube · Get channel information (web)YouTube · 获取频道信息(web) Get channel information. | youtube#web/get_channel_info | $0.0015 / call |
| YouTube · Get channel short videos (web)YouTube · 获取频道短视频(web) Get channel short videos. | youtube#web/get_channel_short_videos | $0.0015 / call |
| YouTube · Search channel (web)YouTube · 搜索频道(web) Search channel. | youtube#web/search_channel | $0.0015 / call |
| YouTube · Get video information (web v2)YouTube · 获取视频详情(web v2) Get YouTube video details | youtube#web_v2/get_video_info | $0.0015 / call |
| YouTube · Get video information V2 (web v2)YouTube · 获取视频详情 V2(web v2) Fetch YouTube video details via an alternative extraction path (more stable field extraction) | youtube#web_v2/get_video_info_v2 | $0.0015 / call |
| YouTube · Get video comments (web v2)YouTube · 获取视频评论(web v2) Get YouTube video first-level comments | youtube#web_v2/get_video_comments | $0.0015 / call |
| YouTube · Get channel description (web v2)YouTube · 获取频道描述信息(web v2) Get YouTube channel description information (subscribers, videos, views, creation date, social links, etc.) | youtube#web_v2/get_channel_description | $0.0015 / call |
| YouTube · General search (raw data, recommend V2) (web v2)YouTube · 综合搜索(原始数据,推荐使用V2)(web v2) YouTube comprehensive search with multiple filter options for precise result filtering | youtube#web_v2/get_general_search | $0.0015 / call |
| YouTube · General search V2 (web v2)YouTube · 综合搜索V2(web v2) Search YouTube videos, Shorts, channels, and playlists | youtube#web_v2/get_general_search_v2 | $0.003 / call |
| YouTube · Shorts search (raw data, recommend V2) (web v2)YouTube · Shorts搜索(原始数据,推荐使用V2)(web v2) YouTube Shorts specialized search using native YouTube API | youtube#web_v2/get_shorts_search | $0.0015 / call |
| YouTube · Shorts search V2 (web v2)YouTube · Shorts搜索V2(web v2) Search specifically for YouTube Shorts | youtube#web_v2/get_shorts_search_v2 | $0.003 / call |
| YouTube · Get channel ID from URL (web v2)YouTube · 从频道URL获取频道ID(web v2) Convert YouTube channel URL to channel ID. | youtube#web_v2/get_channel_id | $0.0015 / call |
| YouTube · Get channel URL from channel ID (web v2)YouTube · 从频道ID获取频道URL(web v2) Convert YouTube channel ID to channel handle (@username) | youtube#web_v2/get_channel_url | $0.0015 / call |
| YouTube · Get channel videos (web v2)YouTube · 获取频道视频(web v2) Get YouTube channel video list | youtube#web_v2/get_channel_videos | $0.0015 / call |
| YouTube · Get video streams info (web v2)YouTube · 获取视频流信息(web v2) Get all quality format information for YouTube video | youtube#web_v2/get_video_streams | $0.0015 / call |
| YouTube · Get video streams info V2 (web v2)YouTube · 获取视频流信息 V2(web v2) Get all quality format information and playback URLs for YouTube video | youtube#web_v2/get_video_streams_v2 | $0.006 / call |
| YouTube · Get signed video stream URL (web v2)YouTube · 获取已签名的视频流URL(web v2) Get signed playback URL for specific itag (ready to play) | youtube#web_v2/get_signed_stream_url | $0.0015 / call |
| YouTube · Get video captions (web v2)YouTube · 获取视频字幕(web v2) Get video caption list or caption content for a specific language | youtube#web_v2/get_video_captions | $0.012 / call |
| YouTube · Get related videos (web v2)YouTube · 获取视频相似内容(web v2) Get YouTube video's related content recommendations (recommended videos list) | youtube#web_v2/get_related_videos | $0.0015 / call |
| YouTube · Get channel shorts (web v2)YouTube · 获取频道短视频列表(web v2) Get YouTube channel's Shorts (short videos) list | youtube#web_v2/get_channel_shorts | $0.0015 / call |
| YouTube · Get search suggestions (web v2)YouTube · 获取搜索推荐词(web v2) Get YouTube search suggestions (autocomplete) | youtube#web_v2/get_search_suggestions | $0.0015 / call |
| YouTube · Search channels (web v2)YouTube · 搜索频道(web v2) Search YouTube channels | youtube#web_v2/search_channels | $0.0015 / call |
| YouTube · Get channel community posts (web v2)YouTube · 获取频道帖子列表(web v2) Get YouTube channel's community posts list | youtube#web_v2/get_channel_community_posts | $0.0015 / call |
| YouTube · Get post detail (web v2)YouTube · 获取帖子详情(web v2) Get YouTube post (community post) detail information | youtube#web_v2/get_post_detail | $0.0015 / call |
| YouTube · Get post comments (web v2)YouTube · 获取帖子评论(web v2) Get YouTube post (community post) comments | youtube#web_v2/get_post_comments | $0.0015 / call |
Machine-readable: /tools/youtube.md · llms.txt · /v1/tools
FAQ
How can my AI agent get YouTube data?
Connect the ToolSocket MCP server (https://toolsocket.top/mcp) to Claude, ChatGPT, Cursor, Codex or any MCP client, or call the REST API. Your agent searches the 30 YouTube tools with discover_tools, reads the input schema with inspect_tool and runs it with run_tool.
Do I need a YouTube account or API key?
No. ToolSocket handles the upstream access. You only need a ToolSocket account with a prepaid balance.
How much does it cost?
Most YouTube calls cost $0.0015. You pay per call from a prepaid balance, there is no subscription, and failed calls are refunded automatically.
Which AI agents work with it?
Claude.ai and Claude Desktop, Claude Code, ChatGPT (developer mode), Cursor, VS Code Copilot, Windsurf, Codex, and any agent that can read a Markdown skill or make HTTP requests.
Other platforms
Douyin (抖音)TikTokXiaohongshu (小红书)WeChat (微信)Weibo (微博)Bilibili (B站)Kuaishou (快手)Zhihu (知乎)Toutiao (今日头条)Xigua Video (西瓜视频)Pipixia (皮皮虾)Lemon8InstagramX (Twitter)ThreadsRedditLinkedInTelegramDefiLlama (DeFi & crypto)Web search & page readerOpen data