YouTube 数据 API 接口文档 (YouTube)

智选达人统一数据网关为 YouTube 提供 10 条 v2 标准化数仓接口 与 40 条全量扩展路由(含 35 条富参数说明)。支持通过单一 zxk_live_... 密钥进行 HTTP 调用或挂载至 MCP 2.0 智能体。

v2 标准化数仓接口 (10)

查看实时单价与通兑次数规则 →
GET/api/v1/zxkol/youtube/videos/search
youtube.videos.search常规接口
YouTube 视频搜索 · YouTube video search

Videos matching keywords with views, length and channel.

query* (string)sort (string)cursor (string)
GET/api/v1/zxkol/youtube/videos/get
youtube.videos.get常规接口
YouTube 视频详情 · YouTube video detail

One video by ID or link: title, description, views, likes, comments, publish time and channel, as exact numbers. A count YouTube does not show (comments turned off) or a part the source could not read this time comes back null and is named in meta.unavailable. Give id or url.

id (string)url (string)
GET/api/v1/zxkol/youtube/videos/comments/list
youtube.videos.comments.list常规接口
YouTube 视频评论 · YouTube video comments

Comments on a video, top or newest first.

id* (string)sort (string)cursor (string)
GET/api/v1/zxkol/youtube/videos/transcript/get
youtube.videos.transcript.get常规接口
YouTube 视频字幕 · YouTube video transcript

The transcript of a video with timestamps, in the original or a chosen language.

id* (string)lang (string)
GET/api/v1/zxkol/youtube/comments/replies/list
youtube.comments.replies.list常规接口
YouTube 评论回复 · YouTube comment replies

The replies under a comment, by the comment's replies token, about 10 at a time: text, replier (handle, avatar, verification), likes, and roughly when it was posted (YouTube says "6 years ago"). post_id and parent_id are read from the token.

id* (string)cursor (string)
GET/api/v1/zxkol/youtube/channels/posts/list
youtube.channels.posts.list常规接口
YouTube 频道帖子 · YouTube channel posts

The posts on a channel's Posts tab (once Community), newest first, about 10 a page, by channel ID or handle: text, pictures, likes, the video a post shares (ext.video_id, its cover in images), and roughly when it was posted (YouTube says "4 days ago"). A channel ID nobody has reads like a channel without posts: an empty page. Give id or username.

id (string)username (string)cursor (string)
GET/api/v1/zxkol/youtube/posts/get
youtube.posts.get常规接口
YouTube 帖子详情 · YouTube post detail

One channel post (once a Community post) by ID or link: text, channel, pictures, likes, the video it shares (ext.video_id, its cover in images), and roughly when it was posted. Give id or url.

id (string)url (string)
GET/api/v1/zxkol/youtube/channels/get
youtube.channels.get常规接口
YouTube 频道资料 · YouTube channel profile

A channel by ID or handle: name, handle, description, avatar, verification, subscribers and video count, and under ext its total views, the day it joined, the links in its About section, country and banner. Subscribers are rounded as YouTube shows them (15.1M comes back as 15100000), and so is the video count now and then (6.2K); ext.followers_text and ext.posts_text keep the text as shown. Give id or username.

id (string)username (string)
GET/api/v1/zxkol/youtube/channels/search
youtube.channels.search常规接口
YouTube 频道搜索 · YouTube channel search

Find channels by keywords, 20 a page in YouTube's order: channel ID, name, the start of the description, avatar and subscribers (rounded as YouTube shows them). No handle or badge here; youtube.channels.get gives the badge.

query* (string)cursor (string)
GET/api/v1/zxkol/youtube/channels/videos/list
youtube.channels.videos.list常规接口
YouTube 频道视频 · YouTube channel videos

A channel's videos or its Shorts, newest first, about 30 a page, by channel ID or handle: title, views, cover and, for videos, length and roughly when it was published. These are the channel list as YouTube shows it: views are rounded ("75K views" comes back as 75000, the text in ext.views_text) and times approximate (YouTube says "3 weeks ago"). For a video's exact views, likes and publish time, call youtube.videos.get. A channel ID nobody has reads like a channel without such videos: an empty page. Give id or username.

id (string)username (string)type (string)sort (string)cursor (string)

平台细分与长尾路由 (40)

达人(Creators) (2)

内容(Posts) (7)

评论(Comments) (5)

热榜(Trending) (1)

其他(Misc) (10)

工具(Tools) (2)

搜索(Search) (6)

直播(Lives) (4)

达人(Users) (3)

在 Claude / Cursor 中直接用 MCP 调用 YouTube 数据

连接 https://zxkol.com/api/mcp 后,智能体可直接执行 find({ platform: "youtube" }) 检索本页全部接口并按需调用。详见 MCP 2.0 集成指南。

浏览其他平台数据 API