{
  "schemaVersion": "1.0",
  "item": {
    "slug": "youtube-api",
    "name": "Youtube Api",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/therohitdas/youtube-api",
    "canonicalUrl": "https://clawhub.ai/therohitdas/youtube-api",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/youtube-api",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=youtube-api",
    "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",
      "slug": "youtube-api",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-11T09:37:10.823Z",
      "expiresAt": "2026-05-18T09:37:10.823Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=youtube-api",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=youtube-api",
        "contentDisposition": "attachment; filename=\"youtube-api-1.5.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "youtube-api"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/youtube-api"
    },
    "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-api",
    "agentPageUrl": "https://openagent3.xyz/skills/youtube-api/agent",
    "manifestUrl": "https://openagent3.xyz/skills/youtube-api/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/youtube-api/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 API",
        "body": "YouTube data access via TranscriptAPI.com — no Google API quota needed."
      },
      {
        "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": "Endpoint Reference",
        "body": "All endpoints: https://transcriptapi.com/api/v2/youtube/...\n\nChannel endpoints accept channel — an @handle, channel URL, or UC... ID. Playlist endpoints accept playlist — a playlist URL or ID.\n\nEndpointMethodCost/transcript?video_url=IDGET1/search?q=QUERY&type=videoGET1/channel/resolve?input=@handleGETfree/channel/latest?channel=@handleGETfree/channel/videos?channel=@handleGET1/page/channel/search?channel=@handle&q=QGET1/playlist/videos?playlist=PL_IDGET1/page"
      },
      {
        "title": "Quick Examples",
        "body": "Search videos:\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/search\\\n?q=python+tutorial&type=video&limit=10\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\nGet transcript:\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/transcript\\\n?video_url=dQw4w9WgXcQ&format=text&include_timestamp=true&send_metadata=true\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\nResolve channel handle (free):\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/channel/resolve?input=@TED\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\nLatest videos (free):\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/channel/latest?channel=@TED\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\nBrowse channel uploads (paginated):\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/channel/videos?channel=@NASA\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n# Use continuation token from response for next pages\n\nBrowse playlist (paginated):\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/playlist/videos?playlist=PL_PLAYLIST_ID\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\""
      },
      {
        "title": "Parameter Validation",
        "body": "FieldRulechannel@handle, channel URL, or UC... IDplaylistPlaylist URL or ID (PL/UU/LL/FL/OL prefix)q (search)1-200 charslimit1-50continuationnon-empty string"
      },
      {
        "title": "Why Not Google's API?",
        "body": "Google YouTube Data APITranscriptAPIQuota10,000 units/day (100 searches)Credit-based, no daily capSetupOAuth + API key + projectSingle API keyTranscriptsNot availableCore featurePricing$0.0015/unit overage$5/1000 credits"
      },
      {
        "title": "Errors",
        "body": "CodeMeaningAction401Bad API keyCheck key402No creditstranscriptapi.com/billing404Not foundResource doesn't exist408Timeout/retryableRetry once after 2s422Validation errorCheck param format429Rate limitedWait, respect Retry-After\n\nFree tier: 100 credits, 300 req/min. Starter ($5/mo): 1,000 credits."
      }
    ],
    "body": "YouTube API\n\nYouTube data access via TranscriptAPI.com — no Google API quota needed.\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\nEndpoint Reference\n\nAll endpoints: https://transcriptapi.com/api/v2/youtube/...\n\nChannel endpoints accept channel — an @handle, channel URL, or UC... ID. Playlist endpoints accept playlist — a playlist URL or ID.\n\nEndpoint\tMethod\tCost\n/transcript?video_url=ID\tGET\t1\n/search?q=QUERY&type=video\tGET\t1\n/channel/resolve?input=@handle\tGET\tfree\n/channel/latest?channel=@handle\tGET\tfree\n/channel/videos?channel=@handle\tGET\t1/page\n/channel/search?channel=@handle&q=Q\tGET\t1\n/playlist/videos?playlist=PL_ID\tGET\t1/page\nQuick Examples\n\nSearch videos:\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/search\\\n?q=python+tutorial&type=video&limit=10\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\n\nGet transcript:\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/transcript\\\n?video_url=dQw4w9WgXcQ&format=text&include_timestamp=true&send_metadata=true\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\n\nResolve channel handle (free):\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/channel/resolve?input=@TED\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\n\nLatest videos (free):\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/channel/latest?channel=@TED\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\n\nBrowse channel uploads (paginated):\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/channel/videos?channel=@NASA\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n# Use continuation token from response for next pages\n\n\nBrowse playlist (paginated):\n\ncurl -s \"https://transcriptapi.com/api/v2/youtube/playlist/videos?playlist=PL_PLAYLIST_ID\" \\\n  -H \"Authorization: Bearer $TRANSCRIPT_API_KEY\"\n\nParameter Validation\nField\tRule\nchannel\t@handle, channel URL, or UC... ID\nplaylist\tPlaylist URL or ID (PL/UU/LL/FL/OL prefix)\nq (search)\t1-200 chars\nlimit\t1-50\ncontinuation\tnon-empty string\nWhy Not Google's API?\n\tGoogle YouTube Data API\tTranscriptAPI\nQuota\t10,000 units/day (100 searches)\tCredit-based, no daily cap\nSetup\tOAuth + API key + project\tSingle API key\nTranscripts\tNot available\tCore feature\nPricing\t$0.0015/unit overage\t$5/1000 credits\nErrors\nCode\tMeaning\tAction\n401\tBad API key\tCheck key\n402\tNo credits\ttranscriptapi.com/billing\n404\tNot found\tResource doesn't exist\n408\tTimeout/retryable\tRetry once after 2s\n422\tValidation error\tCheck param format\n429\tRate limited\tWait, respect Retry-After\n\nFree tier: 100 credits, 300 req/min. Starter ($5/mo): 1,000 credits."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/therohitdas/youtube-api",
    "publisherUrl": "https://clawhub.ai/therohitdas/youtube-api",
    "owner": "therohitdas",
    "version": "1.4.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/youtube-api",
    "downloadUrl": "https://openagent3.xyz/downloads/youtube-api",
    "agentUrl": "https://openagent3.xyz/skills/youtube-api/agent",
    "manifestUrl": "https://openagent3.xyz/skills/youtube-api/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/youtube-api/agent.md"
  }
}