← 返回
内容创作 Key 中文

yt

Use when YouTube is relevant: pasted video links or IDs, @handles, quick video lookups, summaries, channel latest uploads, topic search, or any request invol...
用于YouTube相关请求:视频链接或ID、@频道处理、快速视频查询、视频摘要、频道最新上传、主题搜索或任何涉及YouTube的请求...
therohitdas
内容创作 clawhub v1.5.1 2 版本 99068.8 Key: 需要
★ 2
Stars
📥 4,109
下载
💾 6
安装
2
版本
#latest

概述

yt

Quick YouTube lookup via TranscriptAPI.com.

Setup

If $TRANSCRIPT_API_KEY is not set, read references/auth-setup.md and follow the instructions there to get and store the key.

Required Headers

Every request needs two headers:

  • Authorization: Bearer $TRANSCRIPT_API_KEY
  • 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.

API Reference

Full OpenAPI spec: transcriptapi.com/openapi.json — consult this for the latest parameters and schemas.

Transcript — 1 credit

curl -s "https://transcriptapi.com/api/v2/youtube/transcript\
?video_url=VIDEO_URL&format=text&include_timestamp=true&send_metadata=true" \
  -H "Authorization: Bearer $TRANSCRIPT_API_KEY" \
  -H "User-Agent: YourAgent/1.0"

Search — 1 credit

curl -s "https://transcriptapi.com/api/v2/youtube/search?q=QUERY&type=video&limit=10" \
  -H "Authorization: Bearer $TRANSCRIPT_API_KEY" \
  -H "User-Agent: YourAgent/1.0"
ParamDefaultValues
------------------------------------
q1-200 chars (required)
typevideovideo, channel
limit201-50

Channel latest — FREE

curl -s "https://transcriptapi.com/api/v2/youtube/channel/latest?channel=@TED" \
  -H "Authorization: Bearer $TRANSCRIPT_API_KEY" \
  -H "User-Agent: YourAgent/1.0"

Returns last 15 videos with exact view counts and publish dates. Accepts @handle, channel URL, or UC... ID.

Resolve handle — FREE

curl -s "https://transcriptapi.com/api/v2/youtube/channel/resolve?input=@TED" \
  -H "Authorization: Bearer $TRANSCRIPT_API_KEY" \
  -H "User-Agent: YourAgent/1.0"

Use to convert @handle to UC... channel ID.

Errors

CodeMeaningAction
----------------------------------------------------------------------
401Bad API keyCheck key
402No creditstranscriptapi.com/billing
403/1010Cloudflare blockAdd or fix User-Agent header
404Not foundNo captions or resource doesn't exist
408TimeoutRetry once

Free tier: 100 credits. Search and transcript cost 1 credit. Channel latest and resolve are free.

版本历史

共 2 个版本

  • v1.5.1 当前
    2026-04-30 13:49 安全 安全
  • v1.4.1
    2026-03-28 10:35 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,129
data-analysis

transcriptapi

therohitdas
用于YouTube相关内容或可能相关的情况,即使未明确提及:视频/频道/播放列表链接、视频ID、@用户名、创作者查询、视频摘要等。
★ 3 📥 6,254
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 294 📥 136,400