Install
openclaw skills install tiktok-research-kitExtract and analyze TikTok content using yt-dlp. Supports video metadata, caption extraction, sound/music info, user profile analysis, and engagement stats. Use when user mentions "TikTok research", "TikTok extract", "TikTok analysis", "TikTok metadata", "analyze TikTok", or provides a tiktok.com/vm.tiktok.com URL.
openclaw skills install tiktok-research-kitExtract structured data from TikTok videos, profiles, and sounds for content research. Powered by yt-dlp locally — no API key required.
Version: 1.0.0 Prerequisite: yt-dlp >= 2024.01.01
# macOS
brew install yt-dlp
# pip
pip install yt-dlp
# Verify
yt-dlp --version
Extract caption, creator info, engagement stats, and sound info.
yt-dlp --dump-json --skip-download "https://www.tiktok.com/@user/video/VIDEO_ID"
Key JSON fields:
| Field | JSON path |
|---|---|
| Caption | .description |
| Creator | .uploader / .creator |
| Creator handle | .uploader_id |
| Upload date | .upload_date (YYYYMMDD → YYYY-MM-DD) |
| Duration | .duration (seconds) |
| Views | .view_count |
| Likes | .like_count |
| Comments | .comment_count |
| Shares | .repost_count |
| Sound/Music | .track |
| Sound author | .artist |
| Thumbnail | .thumbnail |
Output format: Markdown table with key stats, followed by caption and sound info.
Extract recent videos from a creator's profile.
yt-dlp --flat-playlist --dump-json --playlist-end 20 \
"https://www.tiktok.com/@USERNAME"
Output is one JSON per line. Parse for .description, .upload_date, .view_count, .like_count, .duration.
Output format: Table with columns: #, Date, Caption (first 50 chars), Duration, Views, Likes.
Extract videos using a specific sound:
yt-dlp --flat-playlist --dump-json --playlist-end 20 \
"https://www.tiktok.com/music/SOUND_NAME-SOUND_ID"
yt-dlp --dump-json --skip-download --write-comments \
--extractor-args "tiktok:comment_count=20" \
"https://www.tiktok.com/@user/video/VIDEO_ID"
Parse .comments[] for .author, .text, .like_count. Sort by likes descending.
yt-dlp --flat-playlist --dump-json --playlist-end 20 \
"https://www.tiktok.com/tag/HASHTAG"
| Pattern | Type |
|---|---|
tiktok.com/@user/video/ID | Single video |
vm.tiktok.com/SHORTCODE/ | Short link |
tiktok.com/@USERNAME | User profile |
tiktok.com/music/NAME-ID | Sound page |
tiktok.com/tag/HASHTAG | Hashtag page |
= 1,000,000 →
{n/1M:.1f}M
= 1,000 →
{n/1K:.1f}K
When user provides a TikTok URL:
When user asks to download a video:
--cookies-from-browser chromeTikTok Research Kit is an open-source project by SnapVee.