{
  "schemaVersion": "1.0",
  "item": {
    "slug": "youtube-data",
    "name": "Youtube Data",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/therohitdas/youtube-data",
    "canonicalUrl": "https://clawhub.ai/therohitdas/youtube-data",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/youtube-data",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=youtube-data",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/tapi-auth.js"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/youtube-data"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/youtube-data",
    "agentPageUrl": "https://openagent3.xyz/skills/youtube-data/agent",
    "manifestUrl": "https://openagent3.xyz/skills/youtube-data/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/youtube-data/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "YouTube Data",
        "body": "YouTube data access via TranscriptAPI.com — lightweight alternative to Google's YouTube Data API."
      },
      {
        "title": "Setup",
        "body": "If $TRANSCRIPT_API_KEY is not set, help the user create an account (100 free credits, no card):\n\nStep 1 — Register: Ask user for their email.\n\nnode ./scripts/tapi-auth.js register --email USER_EMAIL\n\n→ OTP sent to email. Ask user: \"Check your email for a 6-digit verification code.\"\n\nStep 2 — Verify: Once user provides the OTP:\n\nnode ./scripts/tapi-auth.js verify --token TOKEN_FROM_STEP_1 --otp CODE\n\nAPI key saved to ~/.openclaw/openclaw.json. See File Writes below for details. Existing file is backed up before modification.\n\nManual option: transcriptapi.com/signup → Dashboard → API Keys."
      },
      {
        "title": "File Writes",
        "body": "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.\n\nTo use the API key in terminal/CLI outside the agent, add to your shell profile manually:\nexport TRANSCRIPT_API_KEY=<your-key>"
      },
      {
        "title": "API Reference",
        "body": "Full OpenAPI spec: transcriptapi.com/openapi.json — consult this for the latest parameters and schemas."
      },
      {
        "title": "Video Data (transcript + metadata) — 1 credit",
        "body": "curl -s \"https://transcriptapi.com/api/v2/youtube/transcript\\\n?video_url=VIDEO_URL&format=json&include_timestamp=true&send_metadata=true\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\nResponse:\n\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://www.youtube.com/@RickAstley\",\n    \"thumbnail_url\": \"https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg\"\n  }\n}"
      },
      {
        "title": "Search Data — 1 credit",
        "body": "curl -s \"https://transcriptapi.com/api/v2/youtube/search?q=QUERY&type=video&limit=20\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\nVideo result fields: videoId, title, channelId, channelTitle, channelHandle, channelVerified, lengthText, viewCountText, publishedTimeText, hasCaptions, thumbnails\n\nChannel result fields (type=channel): channelId, title, handle, url, description, subscriberCount, verified, rssUrl, thumbnails"
      },
      {
        "title": "Channel Data",
        "body": "Channel endpoints accept channel — an @handle, channel URL, or UC... ID. No need to resolve first.\n\nResolve handle to ID (free):\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/channel/resolve?input=@TED\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\nReturns: {\"channel_id\": \"UCsT0YIqwnpJCM-mx7-gSA4Q\", \"resolved_from\": \"@TED\"}\n\nLatest 15 videos with exact stats (free):\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/channel/latest?channel=@TED\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\nReturns: channel info, results array with videoId, title, published (ISO), viewCount (exact number), description, thumbnail\n\nAll channel videos (paginated, 1 credit/page):\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/channel/videos?channel=@NASA\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\nReturns 100 videos per page + continuation_token for pagination.\n\nSearch within channel (1 credit):\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/channel/search\\\n?channel=@TED&q=QUERY&limit=30\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\""
      },
      {
        "title": "Playlist Data — 1 credit/page",
        "body": "Accepts playlist — a YouTube playlist URL or playlist ID.\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/playlist/videos?playlist=PL_ID\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\nReturns: results (videos), playlist_info (title, numVideos, ownerName, viewCount), continuation_token, has_more"
      },
      {
        "title": "Credit Costs",
        "body": "EndpointCostData returnedtranscript1Full transcript + metadatasearch1Video/channel detailschannel/resolvefreeChannel ID mappingchannel/latestfree15 videos + exact statschannel/videos1/page100 videos per pagechannel/search1Videos matching queryplaylist/videos1/page100 videos per page"
      },
      {
        "title": "Errors",
        "body": "CodeAction402No credits — transcriptapi.com/billing404Not found408Timeout — retry once422Invalid param format\n\nFree tier: 100 credits, 300 req/min."
      }
    ],
    "body": "YouTube Data\n\nYouTube data access via TranscriptAPI.com — lightweight alternative to Google's YouTube Data API.\n\nSetup\n\nIf $TRANSCRIPT_API_KEY is not set, help the user create an account (100 free credits, no card):\n\nStep 1 — Register: Ask user for their email.\n\nnode ./scripts/tapi-auth.js register --email USER_EMAIL\n\n\n→ OTP sent to email. Ask user: \"Check your email for a 6-digit verification code.\"\n\nStep 2 — Verify: Once user provides the OTP:\n\nnode ./scripts/tapi-auth.js verify --token TOKEN_FROM_STEP_1 --otp CODE\n\n\nAPI key saved to ~/.openclaw/openclaw.json. See File Writes below for details. Existing file is backed up before modification.\n\nManual option: transcriptapi.com/signup → Dashboard → API Keys.\n\nFile Writes\n\nThe 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.\n\nTo use the API key in terminal/CLI outside the agent, add to your shell profile manually: export TRANSCRIPT_API_KEY=<your-key>\n\nAPI Reference\n\nFull OpenAPI spec: transcriptapi.com/openapi.json — consult this for the latest parameters and schemas.\n\nVideo Data (transcript + metadata) — 1 credit\ncurl -s \"https://transcriptapi.com/api/v2/youtube/transcript\\\n?video_url=VIDEO_URL&format=json&include_timestamp=true&send_metadata=true\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\n\nResponse:\n\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://www.youtube.com/@RickAstley\",\n    \"thumbnail_url\": \"https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg\"\n  }\n}\n\nSearch Data — 1 credit\ncurl -s \"https://transcriptapi.com/api/v2/youtube/search?q=QUERY&type=video&limit=20\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\n\nVideo result fields: videoId, title, channelId, channelTitle, channelHandle, channelVerified, lengthText, viewCountText, publishedTimeText, hasCaptions, thumbnails\n\nChannel result fields (type=channel): channelId, title, handle, url, description, subscriberCount, verified, rssUrl, thumbnails\n\nChannel Data\n\nChannel endpoints accept channel — an @handle, channel URL, or UC... ID. No need to resolve first.\n\nResolve handle to ID (free):\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/channel/resolve?input=@TED\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\n\nReturns: {\"channel_id\": \"UCsT0YIqwnpJCM-mx7-gSA4Q\", \"resolved_from\": \"@TED\"}\n\nLatest 15 videos with exact stats (free):\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/channel/latest?channel=@TED\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\n\nReturns: channel info, results array with videoId, title, published (ISO), viewCount (exact number), description, thumbnail\n\nAll channel videos (paginated, 1 credit/page):\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/channel/videos?channel=@NASA\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\n\nReturns 100 videos per page + continuation_token for pagination.\n\nSearch within channel (1 credit):\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/channel/search\\\n?channel=@TED&q=QUERY&limit=30\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\nPlaylist Data — 1 credit/page\n\nAccepts playlist — a YouTube playlist URL or playlist ID.\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/playlist/videos?playlist=PL_ID\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\n\nReturns: results (videos), playlist_info (title, numVideos, ownerName, viewCount), continuation_token, has_more\n\nCredit Costs\nEndpoint\tCost\tData returned\ntranscript\t1\tFull transcript + metadata\nsearch\t1\tVideo/channel details\nchannel/resolve\tfree\tChannel ID mapping\nchannel/latest\tfree\t15 videos + exact stats\nchannel/videos\t1/page\t100 videos per page\nchannel/search\t1\tVideos matching query\nplaylist/videos\t1/page\t100 videos per page\nErrors\nCode\tAction\n402\tNo credits — transcriptapi.com/billing\n404\tNot found\n408\tTimeout — retry once\n422\tInvalid param format\n\nFree tier: 100 credits, 300 req/min."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/therohitdas/youtube-data",
    "publisherUrl": "https://clawhub.ai/therohitdas/youtube-data",
    "owner": "therohitdas",
    "version": "1.4.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/youtube-data",
    "downloadUrl": "https://openagent3.xyz/downloads/youtube-data",
    "agentUrl": "https://openagent3.xyz/skills/youtube-data/agent",
    "manifestUrl": "https://openagent3.xyz/skills/youtube-data/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/youtube-data/agent.md"
  }
}