[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ECVMBRG5MXTVQ0BJ8JD8VH":3,"skill-same:01M7ECVMBRG5MXTVQ0BJ8JD8VH":49},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":13,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":6,"ownerDescription":27,"updatedAt":28,"install":29,"resources":42},"01M7ECVMBRG5MXTVQ0BJ8JD8VH","youtube-data",null,"jonahthan433\u002FCortexOS","jonahthan433","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F211465495?v=4","01M7ECH9HPHGA89DCXHHJBTS3C","jonah.ai","01M7ECH9JCEM45DZMWPT7148S1",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fmedia\u002Fyoutube-data\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# youtube-data\n\n# YouTube Data\n\nYouTube data access via [TranscriptAPI.com](https:\u002F\u002Ftranscriptapi.com) — lightweight alternative to Google's YouTube Data API.\n\n## Setup\n\nIf `$TRANSCRIPT_API_KEY` is not set, read [references\u002Fauth-setup.md](references\u002Fauth-setup.md) and follow the instructions there to get and store the key.\n\n## Required Headers\n\nEvery request needs two headers:\n\n- **Authorization:** `Bearer $TRANSCRIPT_API_KEY`\n- **User-Agent:** your agent's name and version if known (e.g. `HermesAgent\u002F0.11.0`, `ClaudeCode\u002F1.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.\n\n## API Reference\n\nFull OpenAPI spec: [transcriptapi.com\u002Fopenapi.json](https:\u002F\u002Ftranscriptapi.com\u002Fopenapi.json) — consult this for the latest parameters and schemas.\n\n## Video Data (transcript + metadata) — 1 credit\n\n```bash\ncurl -s \"https:\u002F\u002Ftranscriptapi.com\u002Fapi\u002Fv2\u002Fyoutube\u002Ftranscript\\\n?video_url=VIDEO_URL&format=json&include_timestamp=true&send_metadata=true\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\" \\\n  -H \"User-Agent: YourAgent\u002F1.0\"\n```\n\n**Response:**\n\n```json\n{\n  \"video_id\": \"dQw4w9WgXcQ\",\n  \"language\": \"en\",\n  \"transcript\": [\n    { \"text\": \"We're no strangers to love\", \"start\": 18.0, \"duration\": 3.5 }\n  ],\n  \"metadata\": {\n    \"title\": \"Rick Astley - Never Gonna Give You Up\",\n    \"author_name\": \"Rick Astley\",\n    \"author_url\": \"https:\u002F\u002Fwww.youtube.com\u002F@RickAstley\",\n    \"thumbnail_url\": \"https:\u002F\u002Fi.ytimg.com\u002Fvi\u002FdQw4w9WgXcQ\u002Fmaxresdefault.jpg\"\n  }\n}\n```\n\n## Search Data — 1 credit\n\n```bash\ncurl -s \"https:\u002F\u002Ftranscriptapi.com\u002Fapi\u002Fv2\u002Fyoutube\u002Fsearch?q=QUERY&type=video&limit=20\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\" \\\n  -H \"User-Agent: YourAgent\u002F1.0\"\n```\n\n**Video result fields:** `videoId`, `title`, `channelId`, `channelTitle`, `channelHandle`, `channelVerified`, `lengthText`, `viewCountText`, `publishedTimeText`, `hasCaptions`, `thumbnails`\n\n**Channel result fields** (`type=channel`): `channelId`, `title`, `handle`, `url`, `description`, `subscriberCount`, `verified`, `rssUrl`, `thumbnails`\n\n## Channel Data\n\nChannel endpoints accept `channel` — an `@handle`, channel URL, or `UC...` ID. No need to resolve first.\n\n**Resolve handle to ID (free):**\n\n```bash\ncurl -s \"https:\u002F\u002Ftranscriptapi.com\u002Fapi\u002Fv2\u002Fyoutube\u002Fchannel\u002Fresolve?input=@TED\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\" \\\n  -H \"User-Agent: YourAgent\u002F1.0\"\n```\n\nReturns: `{\"channel_id\": \"UCsT0YIqwnpJCM-mx7-gSA4Q\", \"resolved_from\": \"@TED\"}`\n\n**Latest 15 videos with exact stats (free):**\n\n```bash\ncurl -s \"https:\u002F\u002Ftranscriptapi.com\u002Fapi\u002Fv2\u002Fyoutube\u002Fchannel\u002Flatest?channel=@TED\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\" \\\n  -H \"User-Agent: YourAgent\u002F1.0\"\n```\n\nReturns: `channel` info, `results` array with `videoId`, `title`, `published` (ISO), `viewCount` (exact number), `description`, `thumbnail`\n\n**All channel videos (paginated, 1 credit\u002Fpage):**\n\n```bash\ncurl -s \"https:\u002F\u002Ftranscriptapi.com\u002Fapi\u002Fv2\u002Fyoutube\u002Fchannel\u002Fvideos?channel=@NASA\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\" \\\n  -H \"User-Agent: YourAgent\u002F1.0\"\n```\n\nReturns 100 videos per page + `continuation_token` for pagination.\n\n**Search within channel (1 credit):**\n\n```bash\ncurl -s \"https:\u002F\u002Ftranscriptapi.com\u002Fapi\u002Fv2\u002Fyoutube\u002Fchannel\u002Fsearch\\\n?channel=@TED&q=QUERY&limit=30\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\" \\\n  -H \"User-Agent: YourAgent\u002F1.0\"\n```\n\n## Playlist Data — 1 credit\u002Fpage\n\nAccepts `playlist` — a YouTube playlist URL or playlist ID.\n\n```bash\ncurl -s \"https:\u002F\u002Ftranscriptapi.com\u002Fapi\u002Fv2\u002Fyoutube\u002Fplaylist\u002Fvideos?playlist=PL_ID\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\" \\\n  -H \"User-Agent: YourAgent\u002F1.0\"\n```\n\nReturns: `results` (videos), `playlist_info` (`title`, `numVideos`, `ownerName`, `viewCount`), `continuation_token`, `has_more`\n\n## Credit Costs\n\n| Endpoint        | Cost     | Data returned              |\n| --------------- | -------- | -------------------------- |\n| transcript      | 1        | Full transcript + metadata |\n| search          | 1        | Video\u002Fchannel details      |\n| channel\u002Fresolve | **free** | Channel ID mapping         |\n| channel\u002Flatest  | **free** | 15 videos + exact stats    |\n| channel\u002Fvideos  | 1\u002Fpage   | 100 videos per page        |\n| channel\u002Fsearch  | 1        | Videos matching query      |\n| playlist\u002Fvideos | 1\u002Fpage   | 100 videos per page        |\n\n## Errors\n\n| Code     | Meaning          | Action                                         |\n| -------- | ---------------- | ---------------------------------------------- |\n| 401      | Bad API key      | Check key                                      |\n| 402      | No credits       | transcriptapi.com\u002Fbilling                      |\n| 403\u002F1010 | Cloudflare block | Add or fix User-Agent header                   |\n| 404      | Not found        | Resource doesn't exist                         |\n| 408      | Timeout          | Retry once                                     |\n| 422      | Validation error | Check param format                             |\n\nFree tier: 100 credits, 300 req\u002Fmin.\n",{},"main","38b32c99e7ed0b8e215d638e92cfa452c1ec3079","skills\u002Fimported\u002Fmedia\u002Fyoutube-data","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS","https:\u002F\u002Fgithub.com\u002Fjonahthan433","AI Consultant","2026-10-24 05:13:39",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add jonahthan433\u002FCortexOS --skill youtube-data",{"tool":35,"command":36},"bunx","bunx skills add jonahthan433\u002FCortexOS --skill youtube-data",{"tool":38,"command":39},"pnpm","pnpm dlx skills add jonahthan433\u002FCortexOS --skill youtube-data","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fmedia\u002Fyoutube-data\u002FSKILL.md",true,[43],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"skill.json","REFERENCE","参考文档",594,"https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fmedia\u002Fyoutube-data\u002Fskill.json",[50,56,62,68,74,80],{"skillNo":51,"name":52,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M7EDQZDQX3Q8Y7GCQX6KN9V7","opportunity-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fsales\u002Fopportunity-brief\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M7EDQYA0V9Y99VKBREJJ3MRT","morning-intel","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fmorning-intel\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M7EDQVX1JVY0B6PDHKKGM19G","decision-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fdecision-brief\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7EDQV1GENZAC2SZSD8KZ3GM","weekly-review","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fweekly-review\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7EDQT2KETJ1Y3CGVN9EKW2J","system-health","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fops\u002Fsystem-health\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7EDQQN2JK3XPWMS1M4T0F3K","backup-restore","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fops\u002Fbackup-restore\u002FSKILL.md",[],[]]