YouTube Data API

YouTube Data API

Read YouTube data — videos, channels, playlists, search, comments — and (with OAuth) manage your own uploads. 9 tools, API key + optional OAuth Bearer.

7 天免费 · 无需信用卡 · EU 托管

问 YouTube 任何事

通过 AnythingMCP 对 YouTube Data API 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。

在 Cloud 上安装 YouTube
YouTube Data API · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

2 分钟设置

  1. 1在 cloud.anythingmcp.com 开始免费试用。
  2. 2在连接器商店点击 YouTube Data API。提示时粘贴凭据。
  3. 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
立即安装 YouTube Data API

YouTube 指南

面向主流 AI 客户端的逐步设置。

配置 YouTube Data API

直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。

This connector uses the YouTube Data API v3 (developers.google.com/youtube/v3).

Setup:

  1. Create / pick a Google Cloud project at https://console.cloud.google.com.
  2. APIs & Services → Library → enable YouTube Data API v3.
  3. Credentials → Create credentials → API key. (For write operations, also do OAuth2 client + get a Bearer token with youtube.upload/youtube scopes — out of scope here.)
  4. Set YOUTUBE_API_KEY to the API key.

Authentication: query-string ?key=.... Read operations don't need OAuth.

Quota model: every API call costs units against your daily quota (default 10,000/day for new projects — request more via Google's quota form). search.list costs 100 units per call (most expensive), videos.list ~1 unit. Watch quota in the Cloud Console.

part parameter: most resources let you choose which 'parts' of the object to return — e.g. ?part=snippet,statistics,contentDetails. Slimmer = cheaper.

Pagination: nextPageToken cursor.

Out of scope here: video uploads (multipart + OAuth + resumable upload), captions, comment moderation, live broadcasts, monetization, channel branding.

你的 AI 距离 YouTube Data API 仅两次点击。

安装连接器、粘贴凭据、向 AI 提问。7 天免费,无需信用卡。