YouTube reference
Channels, videos, Shorts, playlists, search, transcripts, sponsors, comments, and community posts from public YouTube.
Each operation below runs through the tool endpoint shown, and is available through REST, MCP, and the Better Fetch workspace.
Channel details
AvailableChannel details from public YouTube surfaces, returned as structured data for agents, research, and monitoring workflows.
curl -sS -X POST "https://betterfetch.co/api/tools/youtube_scraper/run" \
-H "Authorization: Bearer bf_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input":{"mode":"channel","channel_url":"https://www.youtube.com/@OpenAI"}}'Tool: youtube_scraper
Channel videos
AvailableChannel videos from public YouTube surfaces, returned as structured data for agents, research, and monitoring workflows.
curl -sS -X POST "https://betterfetch.co/api/tools/youtube_scraper/run" \
-H "Authorization: Bearer bf_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input":{"mode":"channel_videos","channel_url":"https://www.youtube.com/@OpenAI","max_results":10}}'Tool: youtube_scraper
Channel playlists
AvailableChannel playlists from public YouTube surfaces, returned as structured data for agents, research, and monitoring workflows.
curl -sS -X POST "https://betterfetch.co/api/tools/youtube_scraper/run" \
-H "Authorization: Bearer bf_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input":{"mode":"channel_playlists","channel_url":"https://www.youtube.com/@OpenAI","max_results":10}}'Tool: youtube_scraper
Channel live streams
AvailableChannel live streams from public YouTube surfaces, returned as structured data for agents, research, and monitoring workflows.
curl -sS -X POST "https://betterfetch.co/api/tools/youtube_scraper/run" \
-H "Authorization: Bearer bf_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input":{"mode":"channel_lives","channel_url":"https://www.youtube.com/@OpenAI","max_results":10}}'Tool: youtube_scraper
Channel community posts
AvailableChannel community posts from public YouTube surfaces, returned as structured data for agents, research, and monitoring workflows.
curl -sS -X POST "https://betterfetch.co/api/tools/youtube_scraper/run" \
-H "Authorization: Bearer bf_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input":{"mode":"channel_posts","channel_url":"https://www.youtube.com/@MrBeast","max_results":10}}'Tool: youtube_scraper
Channel Shorts
AvailableChannel Shorts from public YouTube surfaces, returned as structured data for agents, research, and monitoring workflows.
curl -sS -X POST "https://betterfetch.co/api/tools/youtube_scraper/run" \
-H "Authorization: Bearer bf_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input":{"mode":"channel_shorts","channel_url":"https://www.youtube.com/@OpenAI","max_results":10}}'Tool: youtube_scraper
Video or Short details
AvailableVideo or Short details from public YouTube surfaces, returned as structured data for agents, research, and monitoring workflows.
curl -sS -X POST "https://betterfetch.co/api/tools/youtube_scraper/run" \
-H "Authorization: Bearer bf_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input":{"mode":"video","video_url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}}'Tool: youtube_scraper
Video transcript
AvailableVideo transcript from public YouTube surfaces, returned as structured data for agents, research, and monitoring workflows.
curl -sS -X POST "https://betterfetch.co/api/tools/youtube_transcript/run" \
-H "Authorization: Bearer bf_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input":{"video_id":"dQw4w9WgXcQ"}}'Tool: youtube_transcript
Video sponsors
AvailableVideo sponsors from public YouTube surfaces, returned as structured data for agents, research, and monitoring workflows.
curl -sS -X POST "https://betterfetch.co/api/tools/youtube_scraper/run" \
-H "Authorization: Bearer bf_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input":{"mode":"video_sponsors","video_url":"https://www.youtube.com/watch?v=AVO0ifle-OU"}}'Tool: youtube_scraper
Search
AvailableSearch from public YouTube surfaces, returned as structured data for agents, research, and monitoring workflows.
curl -sS -X POST "https://betterfetch.co/api/tools/youtube_scraper/run" \
-H "Authorization: Bearer bf_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input":{"mode":"search","query":"OpenAI","max_results":10}}'Tool: youtube_scraper
Search by hashtag
AvailableSearch by hashtag from public YouTube surfaces, returned as structured data for agents, research, and monitoring workflows.
curl -sS -X POST "https://betterfetch.co/api/tools/youtube_scraper/run" \
-H "Authorization: Bearer bf_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input":{"mode":"hashtag_search","hashtag":"funny","content_type":"all","max_results":10}}'Tool: youtube_scraper
Video comments
AvailableVideo comments from public YouTube surfaces, returned as structured data for agents, research, and monitoring workflows.
curl -sS -X POST "https://betterfetch.co/api/tools/youtube_scraper/run" \
-H "Authorization: Bearer bf_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input":{"mode":"video_comments","video_url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","max_results":10}}'Tool: youtube_scraper
Trending Shorts
AvailableTrending Shorts from public YouTube surfaces, returned as structured data for agents, research, and monitoring workflows.
curl -sS -X POST "https://betterfetch.co/api/tools/youtube_scraper/run" \
-H "Authorization: Bearer bf_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input":{"mode":"trending_shorts","max_results":10}}'Tool: youtube_scraper
Playlist
AvailablePlaylist from public YouTube surfaces, returned as structured data for agents, research, and monitoring workflows.
curl -sS -X POST "https://betterfetch.co/api/tools/youtube_scraper/run" \
-H "Authorization: Bearer bf_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input":{"mode":"playlist","playlist_id":"PLP32wGpgzmIlInfgKVFfCwVsxgGqZNIiS","max_results":10}}'Tool: youtube_scraper
Community post details
AvailableCommunity post details from public YouTube surfaces, returned as structured data for agents, research, and monitoring workflows.
curl -sS -X POST "https://betterfetch.co/api/tools/youtube_scraper/run" \
-H "Authorization: Bearer bf_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input":{"mode":"community_post","post_url":"https://www.youtube.com/post/UgkxyRcQsbZeMdE9xN9WUohTnrQtxquVCbaE"}}'Tool: youtube_scraper
Comment replies
AvailableComment replies from public YouTube surfaces, returned as structured data for agents, research, and monitoring workflows.
curl -sS -X POST "https://betterfetch.co/api/tools/youtube_scraper/run" \ -H "Authorization: Bearer bf_your_key_here" \ -H "Content-Type: application/json" \ -d '{"input":{"mode":"comment_replies","video_url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","comment_id":"Ugzge340dBgB75hWBm54AaABAg","max_results":10}}'Tool: youtube_scraper