skills$openclaw/youtube-apify-transcript
robbyczgw-cla3.9k

by robbyczgw-cla

youtube-apify-transcript – OpenClaw Skill

youtube-apify-transcript is an OpenClaw Skills integration for coding workflows. 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.

3.9k stars7.5k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

nameyoutube-apify-transcript
descriptionFetch 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. OpenClaw Skills integration.
ownerrobbyczgw-cla
repositoryrobbyczgw-cla/youtube-apify-transcript
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @robbyczgw-cla/youtube-apify-transcript
last updatedFeb 7, 2026

Maintainer

robbyczgw-cla

robbyczgw-cla

Maintains youtube-apify-transcript in the OpenClaw Skills directory.

View GitHub profile
File Explorer
7 files
.
scripts
fetch_transcript.py
8.3 KB
_meta.json
837 B
CHANGELOG.md
109 B
package.json
1.2 KB
README.md
1.2 KB
SKILL.md
2.7 KB
SKILL.md

name: youtube-apify-transcript version: 1.0.7 description: 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. tags: [youtube, transcript, apify, video, subtitles, captions, cloud-ip, free-tier, web-scraping]

youtube-apify-transcript

Fetch YouTube transcripts via APIFY API (works from cloud IPs, bypasses YouTube bot detection).

Why APIFY?

YouTube blocks transcript requests from cloud IPs (AWS, GCP, etc.). APIFY runs the request through residential proxies, bypassing bot detection reliably.

Free Tier

  • $5/month free credits (~714 videos)
  • No credit card required
  • Perfect for personal use

Links

Setup

  1. Create free APIFY account: https://apify.com/
  2. Get your API token: https://console.apify.com/account/integrations
  3. Set environment variable:
# Add to ~/.bashrc or ~/.zshrc
export APIFY_API_TOKEN="apify_api_YOUR_TOKEN_HERE"

# Or use .env file (never commit this!)
echo 'APIFY_API_TOKEN=apify_api_YOUR_TOKEN_HERE' >> .env

Usage

Basic Usage

# Get transcript as text
python3 scripts/fetch_transcript.py "https://www.youtube.com/watch?v=VIDEO_ID"

# Short URL also works
python3 scripts/fetch_transcript.py "https://youtu.be/VIDEO_ID"

Options

# Output to file
python3 scripts/fetch_transcript.py "URL" --output transcript.txt

# JSON format (includes timestamps)
python3 scripts/fetch_transcript.py "URL" --json

# Both: JSON to file
python3 scripts/fetch_transcript.py "URL" --json --output transcript.json

# Specify language preference
python3 scripts/fetch_transcript.py "URL" --lang de

Output Formats

Text (default):

Hello and welcome to this video.
Today we're going to talk about...

JSON (--json):

{
  "video_id": "dQw4w9WgXcQ",
  "title": "Video Title",
  "transcript": [
    {"start": 0.0, "duration": 2.5, "text": "Hello and welcome"},
    {"start": 2.5, "duration": 3.0, "text": "to this video"}
  ],
  "full_text": "Hello and welcome to this video..."
}

Error Handling

The script handles common errors:

  • Invalid YouTube URL
  • Video has no transcript
  • API quota exceeded
  • Network errors

Metadata

metadata:
  clawdbot:
    emoji: "📹"
    requires:
      env: ["APIFY_API_TOKEN"]
      bins: ["python3"]
README.md

📹 YouTube Transcript Fetcher (APIFY)

Fetch YouTube video transcripts from anywhere — even cloud servers where YouTube blocks direct access.

✨ Features

  • Works from cloud IPs (AWS, GCP, VPS, etc.)
  • Bypasses YouTube bot detection via APIFY proxies
  • Text or JSON output with timestamps
  • Language preference support
  • Simple Python script, no SDK needed

💰 Free Tier

APIFY offers $5/month free credits — that's approximately 714 videos per month at $0.007 each!

No credit card required. Sign up here

🚀 Quick Start

# 1. Set your API token
export APIFY_API_TOKEN="apify_api_YOUR_TOKEN"

# 2. Fetch a transcript
python3 scripts/fetch_transcript.py "https://youtube.com/watch?v=VIDEO_ID"

See SKILL.md for full documentation, setup instructions, and usage examples.

🔗 Links

⚙️ Requirements

  • Python 3.6+
  • requests library (pip install requests)
  • APIFY API token (free)

📄 License

MIT

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install youtube-apify-transcript?

Run openclaw add @robbyczgw-cla/youtube-apify-transcript in your terminal. This installs youtube-apify-transcript into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/robbyczgw-cla/youtube-apify-transcript. Review commits and README documentation before installing.