youtube-apify-transcript
Fetch YouTube transcripts via APIFY API. Works from cloud IPs (Hetzner, AWS, etc.) by bypassing YouTube's bot detection. Free tier includes $5/month credits (~714 videos). No credit card required.
Why use this skill?
Reliably extract YouTube transcripts with the OpenClaw APIFY skill. Bypass bot detection, optimize costs with local caching, and batch process videos easily.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/robbyczgw-cla/youtube-apify-transcriptWhat This Skill Does
The youtube-apify-transcript skill is a specialized automation tool designed to extract full text and timed transcripts from any YouTube video. Unlike standard scrapers that are often blocked by YouTube's sophisticated bot detection when running from data centers or cloud servers (like AWS or Hetzner), this skill utilizes the APIFY platform. By routing requests through residential proxies, it ensures consistent and reliable access to transcript data, making it an essential tool for content research, AI training, and data extraction pipelines.
Installation
To integrate this skill into your environment, follow these steps:
- Execute the installation command:
clawhub install openclaw/skills/skills/robbyczgw-cla/youtube-apify-transcript. - Obtain an API token from the APIFY Console.
- Set your token as an environment variable by adding
export APIFY_API_TOKEN="your_token_here"to your shell configuration file. - Verify your setup by running the help command for the script to ensure connectivity.
Use Cases
- Content Summarization: Quickly feed video content into AI models to generate summaries or blog posts without watching long-form videos.
- Searchable Archives: Build a local database of video transcripts to make your personal content library fully searchable.
- Data Analysis: Analyze large volumes of video transcripts in bulk to identify trends, keywords, or sentiment shifts over time.
- Accessibility & Translation: Extract transcripts to generate subtitles or translate educational content into different languages.
Example Prompts
- "Fetch the transcript for https://www.youtube.com/watch?v=dQw4w9WgXcQ and save it to a file named 'rickroll.txt'."
- "Process the list of videos in 'my_playlist.txt' and output the results as a single consolidated JSON file."
- "Can you get the transcript for the latest video from this channel, and skip the cache to ensure I get the freshest data?"
Tips & Limitations
- Caching: Always leverage the built-in caching system. It saves money by preventing duplicate API calls for videos you have already processed.
- Cost Efficiency: The skill is highly affordable at $0.007 per video. Your $5 free monthly credit covers roughly 714 videos, which is ample for most individual use cases.
- Monitoring: Keep an eye on your APIFY billing console to track your usage and avoid hitting any platform limits.
- Batching: When processing large sets of data, use the
--batchfeature to minimize overhead and optimize your processing time.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-robbyczgw-cla-youtube-apify-transcript": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: network-access, file-write, file-read, external-api
Related Skills
crawler
Web crawling and scraping reference — robots.txt protocol, Scrapy framework, anti-bot detection, headless browsers, and legal considerations
scrapebadger
Web scraping platform — Twitter/X data, Vinted marketplace, and general web scraping API
douyin-video-downloader
抖音视频下载工具 - 通过第三方解析服务实现无水印视频下载
clawdvine
Short-form video for AI agents. Generate videos using the latest models, pay with USDC via x402.
video-producer
短视频一键生成技能 v2.2。调用video-director进行画面规划,然后生成AI素材、TTS配音、视频渲染,输出完整MP4。