YouTubeYouTubeSocial

List a YouTube video's caption tracks by video id

youtube.x.youtube-captions-list

captions.list — Retrieves a list of resources, possibly filtered.

价格
free按供应商原价
成功率
100%近 30 天 · 77 次
延迟 p50
265 毫秒p95 564 毫秒
最后验证
—尚未验证
GEThttps://toolswitch.dev/v1/tools/youtube.x.youtube-captions-list预览
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

参数类型必填说明示例
查询参数
id字符串可选Returns the captions with the given IDs for Stubby or Apiary.
part字符串必填The *part* parameter specifies a comma-separated list of one or more caption resource parts that the API response will include. The part names that you can include in the parameter value are id and snippet.
videoId字符串必填Returns the captions for the specified video.
onBehalfOf字符串可选ID of the Google+ Page for the channel that the request is on behalf of.
onBehalfOfContentOwner字符串可选*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is inte
  • 查询参数
  • id字符串可选

    Returns the captions with the given IDs for Stubby or Apiary.

  • part字符串必填

    The *part* parameter specifies a comma-separated list of one or more caption resource parts that the API response will include. The part names that you can include in the parameter value are id and snippet.

  • videoId字符串必填

    Returns the captions for the specified video.

  • onBehalfOf字符串可选

    ID of the Google+ Page for the channel that the request is on behalf of.

  • onBehalfOfContentOwner字符串可选

    *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is inte

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

预览
curl -X GET 'https://toolswitch.dev/v1/tools/youtube.x.youtube-captions-list' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 free 计费,已含服务费。