youtube-playlistBrowse YouTube playlists and fetch video transcripts. Use when the user shares a playlist link, asks "what's in this playlist", "list playlist videos", "browse playlist content", or wants to work with playlist videos and get their transcripts.
Install via ClawdBot CLI:
clawdbot install therohitdas/youtube-playlistBrowse playlists and fetch transcripts via TranscriptAPI.com.
If $TRANSCRIPT_API_KEY is not set, help the user create an account (100 free credits, no card):
Step 1 ā Register: Ask user for their email.
node ./scripts/tapi-auth.js register --email USER_EMAIL
ā OTP sent to email. Ask user: _"Check your email for a 6-digit verification code."_
Step 2 ā Verify: Once user provides the OTP:
node ./scripts/tapi-auth.js verify --token TOKEN_FROM_STEP_1 --otp CODE
API key saved to ~/.openclaw/openclaw.json. See File Writes below for details. Existing file is backed up before modification.
Manual option: transcriptapi.com/signup ā Dashboard ā API Keys.
The verify and save-key commands save the API key to ~/.openclaw/openclaw.json (sets skills.entries.transcriptapi.apiKey and enabled: true). Existing file is backed up to ~/.openclaw/openclaw.json.bak before modification.
To use the API key in terminal/CLI outside the agent, add to your shell profile manually:
export TRANSCRIPT_API_KEY=
Full OpenAPI spec: transcriptapi.com/openapi.json ā consult this for the latest parameters and schemas.
Paginated playlist video listing (100 per page). Accepts playlist ā a YouTube playlist URL or playlist ID.
# First page
curl -s "https://transcriptapi.com/api/v2/youtube/playlist/videos?playlist=PL_PLAYLIST_ID" \
-H "Authorization: Bearer $TRANSCRIPT_API_KEY"
# Next pages
curl -s "https://transcriptapi.com/api/v2/youtube/playlist/videos?continuation=TOKEN" \
-H "Authorization: Bearer $TRANSCRIPT_API_KEY"
| Param | Required | Validation |
| -------------- | ----------- | ---------------------------------------------------- |
| playlist | conditional | Playlist URL or ID (PL/UU/LL/FL/OL prefix) |
| continuation | conditional | non-empty string |
Provide exactly one of playlist or continuation, not both.
Accepted playlist ID prefixes:
PL ā user-created playlistsUU ā channel uploads playlistLL ā liked videosFL ā favoritesOL ā other system playlistsResponse:
{
"results": [
{
"videoId": "abc123xyz00",
"title": "Playlist Video Title",
"channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
"channelTitle": "Channel Name",
"channelHandle": "@handle",
"lengthText": "10:05",
"viewCountText": "1.5M views",
"thumbnails": [{ "url": "...", "width": 120, "height": 90 }],
"index": "0"
}
],
"playlist_info": {
"title": "Best Science Talks",
"numVideos": "47",
"description": "Top science presentations",
"ownerName": "TED",
"viewCount": "5000000"
},
"continuation_token": "4qmFsgKlARIYVVV1...",
"has_more": true
}
Pagination flow:
?playlist=PLxxx ā returns first 100 videos + continuation_token?continuation=TOKEN ā returns next 100 + new tokenhas_more: false or continuation_token: null# 1. List playlist videos
curl -s "https://transcriptapi.com/api/v2/youtube/playlist/videos?playlist=PL_PLAYLIST_ID" \
-H "Authorization: Bearer $TRANSCRIPT_API_KEY"
# 2. Get transcript from a video in the playlist
curl -s "https://transcriptapi.com/api/v2/youtube/transcript\
?video_url=VIDEO_ID&format=text&include_timestamp=true&send_metadata=true" \
-H "Authorization: Bearer $TRANSCRIPT_API_KEY"
From https://www.youtube.com/playlist?list=PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf, the playlist ID is PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf. You can also pass the full URL directly to the playlist parameter.
| Code | Meaning | Action |
| ---- | -------------------------- | ------------------------------------------------ |
| 400 | Both or neither params | Provide exactly one of playlist or continuation |
| 402 | No credits | transcriptapi.com/billing |
| 404 | Playlist not found | Check if playlist is public |
| 408 | Timeout | Retry once |
| 422 | Invalid playlist format | Must be a valid playlist URL or ID |
1 credit per page. Free tier: 100 credits, 300 req/min.
Generated Mar 1, 2026
Educators and online learning platforms can use this skill to automatically fetch and organize video content from YouTube playlists, such as lecture series or tutorial collections. By extracting transcripts, they can create searchable databases, generate study materials, or integrate subtitles into their courses, enhancing accessibility and learning efficiency.
Marketing teams and analysts can browse competitor YouTube playlists to monitor video content trends, analyze topics, and gather insights from transcripts. This helps in understanding audience engagement, identifying gaps in content strategies, and benchmarking performance without manual video watching.
Media companies and regulatory bodies can use this skill to scan YouTube playlists for specific keywords or phrases in video transcripts, ensuring compliance with guidelines or detecting inappropriate content. It automates the review process for large video collections, saving time and reducing human error.
Libraries, museums, or organizations with video archives can fetch transcripts from YouTube playlists to provide text-based alternatives for hearing-impaired users. This improves accessibility, enables content indexing for search engines, and supports multilingual translation efforts.
AI developers and researchers can use this skill to gather transcripts from YouTube playlists as training datasets for natural language processing models. It streamlines data extraction from diverse video topics, supporting tasks like speech recognition, sentiment analysis, or content generation.
Offer a free tier with limited credits (e.g., 100 credits) to attract users, then charge for premium plans with higher quotas, faster processing, or advanced features like bulk transcript downloads. Revenue comes from subscription fees and pay-as-you-go credit purchases.
Partner with educational platforms, content management systems, or marketing tools to integrate this skill as a value-added feature. Revenue is generated through licensing fees, revenue sharing, or custom development contracts for tailored solutions.
Sell processed data, such as curated transcript datasets from popular YouTube playlists, to businesses for analytics, training AI models, or content creation. Revenue streams include one-time dataset purchases or ongoing data subscription services.
š¬ Integration Tip
Ensure the TRANSCRIPT_API_KEY is securely stored in environment variables and test pagination with continuation tokens to handle large playlists efficiently.
Fetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.
Fetch and summarize YouTube video transcripts. Use when asked to summarize, transcribe, or extract content from YouTube videos. Handles transcript fetching via residential IP proxy to bypass YouTube's cloud IP blocks.
Browse, search, post, and moderate Reddit. Read-only works without auth; posting/moderation requires OAuth setup.
Interact with Twitter/X ā read tweets, search, post, like, retweet, and manage your timeline.
LinkedIn automation via browser relay or cookies for messaging, profile viewing, and network actions.
Search YouTube videos, get channel info, fetch video details and transcripts using YouTube Data API v3 via MCP server or yt-dlp fallback.