获取视频信息 V1/Get video information V1

YouTubeapi

About

获取视频信息 V1/Get video information V1

Documentation

获取视频信息 V1/Get video information V1

[中文]

用途:

  • 获取视频元数据及下载信息
  • 此接口收费: 0.002$/次
  • 如果需要节省成本,可以使用V2版本,V2版本是0.001$/次,但不保证稳定性。

详细参数:

  • url_access:
    • normal: 包含音视频直链
    • blocked: 不包含直链
  • videos/audios:
    • auto: 根据url_access自动选择(normal→true,blocked→false)
    • true: 返回简化格式信息
    • raw: 返回原始格式信息
    • false: 不包含该类型数据

返回:

  • 视频元数据 + 请求参数对应的资源信息

[English]

Purpose:

  • Get video metadata and download information
  • This endpoint is charged: 0.002$/request
  • To save cost, you can use V2 version, which is 0.001$/request, but stability is not guaranteed.

Parameters Detail:

  • url_access:
    • normal: Include direct URLs
    • blocked: Exclude direct URLs
  • videos/audios:
    • auto: Auto-select based on url_access (normal→true,blocked→false)
    • true: Simplified format
    • raw: Original format
    • false: Exclude this type

Returns:

  • Video metadata + requested resource information

[示例/Example]

video_id = "LuIL5JATZsc" url_access = "blocked" lang = "zh-CN"

video_id = "LuIL5JATZsc" url_access = "normal" lang = "en-US" videos = "auto" audios = "auto" subtitles = True

Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

Try 获取视频信息 V1/Get video information V1

Test this model in the Sandbase Playground with your own prompts.

Open in Playground

Related Models