$npx -y skills add ZeroPointRepo/youtube-skills --skill youtube-channelsUse when a YouTube channel is the focus: pasted @handles or channel URLs, requests to browse a creator's uploads, see what a channel has posted recently, search within a channel, or resolve a handle to a channel ID. Also use when the user names a creator and wants to explore thei
| 1 | # YouTube Channels |
| 2 | |
| 3 | YouTube channel tools via [TranscriptAPI.com](https://transcriptapi.com). |
| 4 | |
| 5 | ## Setup |
| 6 | |
| 7 | If `$TRANSCRIPT_API_KEY` is not set, read [references/auth-setup.md](references/auth-setup.md) and follow the instructions there to get and store the key. |
| 8 | |
| 9 | ## Required Headers |
| 10 | |
| 11 | Every request needs two headers: |
| 12 | |
| 13 | - **Authorization:** `Bearer $TRANSCRIPT_API_KEY` |
| 14 | - **User-Agent:** your agent's name and version if known (e.g. `HermesAgent/0.11.0`, `ClaudeCode/1.0`). Version is optional — agent name alone is fine. Do not omit this header or send a bare default — Cloudflare will return a 403 (error code 1010) and block the request. |
| 15 | |
| 16 | ## API Reference |
| 17 | |
| 18 | Full OpenAPI spec: [transcriptapi.com/openapi.json](https://transcriptapi.com/openapi.json) — consult this for the latest parameters and schemas. |
| 19 | |
| 20 | All channel endpoints accept flexible input — `@handle`, channel URL, or `UC...` channel ID. No need to resolve first. |
| 21 | |
| 22 | ## GET /api/v2/youtube/channel/resolve — FREE |
| 23 | |
| 24 | Convert @handle, URL, or UC... ID to canonical channel ID. |
| 25 | |
| 26 | ```bash |
| 27 | curl -s "https://transcriptapi.com/api/v2/youtube/channel/resolve?input=@TED" \ |
| 28 | -H "Authorization: Bearer $TRANSCRIPT_API_KEY" \ |
| 29 | -H "User-Agent: YourAgent/1.0" |
| 30 | ``` |
| 31 | |
| 32 | | Param | Required | Validation | |
| 33 | | ------- | -------- | --------------------------------------- | |
| 34 | | `input` | yes | 1-200 chars — @handle, URL, or UC... ID | |
| 35 | |
| 36 | **Response:** |
| 37 | |
| 38 | ```json |
| 39 | { "channel_id": "UCsT0YIqwnpJCM-mx7-gSA4Q", "resolved_from": "@TED" } |
| 40 | ``` |
| 41 | |
| 42 | If input is already `UC[a-zA-Z0-9_-]{22}`, returns immediately. |
| 43 | |
| 44 | ## GET /api/v2/youtube/channel/latest — FREE |
| 45 | |
| 46 | Latest 15 videos via RSS with exact stats. |
| 47 | |
| 48 | ```bash |
| 49 | curl -s "https://transcriptapi.com/api/v2/youtube/channel/latest?channel=@TED" \ |
| 50 | -H "Authorization: Bearer $TRANSCRIPT_API_KEY" \ |
| 51 | -H "User-Agent: YourAgent/1.0" |
| 52 | ``` |
| 53 | |
| 54 | | Param | Required | Validation | |
| 55 | | --------- | -------- | ----------------------------------------- | |
| 56 | | `channel` | yes | `@handle`, channel URL, or `UC...` ID | |
| 57 | |
| 58 | **Response:** |
| 59 | |
| 60 | ```json |
| 61 | { |
| 62 | "channel": { |
| 63 | "channelId": "UCsT0YIqwnpJCM-mx7-gSA4Q", |
| 64 | "title": "TED", |
| 65 | "author": "TED", |
| 66 | "url": "https://www.youtube.com/channel/UCsT0YIqwnpJCM-mx7-gSA4Q", |
| 67 | "published": "2006-04-17T00:00:00Z" |
| 68 | }, |
| 69 | "results": [ |
| 70 | { |
| 71 | "videoId": "abc123xyz00", |
| 72 | "title": "Latest Video Title", |
| 73 | "channelId": "UCsT0YIqwnpJCM-mx7-gSA4Q", |
| 74 | "author": "TED", |
| 75 | "published": "2026-01-30T16:00:00Z", |
| 76 | "updated": "2026-01-31T02:00:00Z", |
| 77 | "link": "https://www.youtube.com/watch?v=abc123xyz00", |
| 78 | "description": "Full video description...", |
| 79 | "thumbnail": { "url": "https://i1.ytimg.com/vi/.../hqdefault.jpg" }, |
| 80 | "viewCount": "2287630", |
| 81 | "starRating": { |
| 82 | "average": "4.92", |
| 83 | "count": "15000", |
| 84 | "min": "1", |
| 85 | "max": "5" |
| 86 | } |
| 87 | } |
| 88 | ], |
| 89 | "result_count": 15 |
| 90 | } |
| 91 | ``` |
| 92 | |
| 93 | Great for monitoring channels — free and gives exact view counts + ISO timestamps. |
| 94 | |
| 95 | ## GET /api/v2/youtube/channel/videos — 1 credit/page |
| 96 | |
| 97 | Paginated list of ALL channel uploads (100 per page). |
| 98 | |
| 99 | ```bash |
| 100 | # First page |
| 101 | curl -s "https://transcriptapi.com/api/v2/youtube/channel/videos?channel=@NASA" \ |
| 102 | -H "Authorization: Bearer $TRANSCRIPT_API_KEY" \ |
| 103 | -H "User-Agent: YourAgent/1.0" |
| 104 | |
| 105 | # Next pages |
| 106 | curl -s "https://transcriptapi.com/api/v2/youtube/channel/videos?continuation=TOKEN" \ |
| 107 | -H "Authorization: Bearer $TRANSCRIPT_API_KEY" \ |
| 108 | -H "User-Agent: YourAgent/1.0" |
| 109 | ``` |
| 110 | |
| 111 | | Param | Required | Validation | |
| 112 | | -------------- | ----------- | --------------------------------------------- | |
| 113 | | `channel` | conditional | `@handle`, channel URL, or `UC...` ID | |
| 114 | | `continuation` | conditional | non-empty (next pages) | |
| 115 | |
| 116 | Provide exactly one of `channel` or `continuation`, not both. |
| 117 | |
| 118 | **Response:** |
| 119 | |
| 120 | ```json |
| 121 | { |
| 122 | "results": [{ |
| 123 | "vi |