Youtube
Work with YouTube data via TikHub — fetch video info, downloadable stream URLs, captions/subtitles, comments and replies, channel info, and run general/shorts search. Use when the task targets YouTube. Covers the YouTube Web-V2 API.From its SKILL.md
npx -y skills add TikHub/tikhub-plugin --skill youtubeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.5 KB, as published. Nobody here has run it
YouTube (via TikHub)
Deep coverage of YouTube via the Web-V2 API. Exhaustive endpoints:
tikhub-find-endpoint "<goal>" --platform youtube.
Setup gate
[ -z "${TIKHUB_API_KEY:-}" ] && echo "Set TIKHUB_API_KEY first (see tikhub-onboarding)."
Coverage: YouTube-Web-V2. (The older YouTube-Web API is de-scoped — reach it via discovery.)
Key endpoints
| Goal | Method + path | Key params |
|---|---|---|
| Video info | GET /api/v1/youtube/web_v2/get_video_info | video_id, language_code |
| Video info by URL | GET /api/v1/youtube/web_v2/get_video_info_v2 | video_url |
| Download streams | GET /api/v1/youtube/web_v2/get_video_streams_v2 | video_id | video_url |
| Captions/subtitles | GET /api/v1/youtube/web_v2/get_video_captions | video_id, language_code, format |
| Video comments | GET /api/v1/youtube/web_v2/get_video_comments | video_id, sort_by, continuation_token |
| Comment replies | GET /api/v1/youtube/web_v2/get_video_comment_replies | continuation_token |
| Channel id (from URL) | GET /api/v1/youtube/web_v2/get_channel_id | channel_url |
| Channel info | GET /api/v1/youtube/web_v2/get_channel_description | channel_id, continuation_token |
| General search | GET /api/v1/youtube/web_v2/get_general_search | search_query, upload_time |
| Shorts search | GET /api/v1/youtube/web_v2/get_shorts_search | search_query, upload_time |
Example
curl -s "https://api.tikhub.io/api/v1/youtube/web_v2/get_video_info?video_id=dQw4w9WgXcQ" \
-H "Authorization: Bearer $TIKHUB_API_KEY"
Pagination
Comments, replies, channel feeds, and the *_v2 search endpoints use continuation_token — pass
the token from the previous response; stop when none is returned. Each page is billed — cap it.
Hand off to task skills
- Download videos / captions →
social-media-downloader - Analyze a channel →
creator-analytics - Comment mining →
comments-analysis - Search/listening →
social-listening - Large pulls →
bulk-data-export
Red flags
- Use
get_video_streams_v2for downloadable media URLs;get_video_infois metadata only. - A
video_idis the 11-char id; pass full URLs to the*_v2variants.