YouTube Data API integration
Google's video platform API for accessing video, channel, playlist, and comment data
Common YouTube Data API use cases
- subscription management
- localization
- accessibility
- abuse reporting
- content removal
- channel branding
- playlist editing
- video engagement
- video management
- content discovery
What you can do with YouTube Data API
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Video, 7 operations
- DELETEdelete_video
Deletes a video.
- GETget_video_rating
Gets the authenticated user's rating for videos.
- POSTinsert_video
Uploads a video to YouTube.
- GETlist_videos
Retrieves video details by ID or chart.
- POSTrate_video
Rates a video (like/dislike/none).
- POSTreport_abuse
Reports a video for policy violation.
- PUTupdate_video
Updates video metadata.
Comment, 6 operations
- DELETEdelete_comment
Deletes a comment.
- POSTinsert_comment
Posts a new comment on a video.
- POSTinsert_reply
Posts a reply to a comment.
- GETlist_single_comments
Retrieves comments or replies.
- POSTset_comment_moderation_status
Sets moderation status for comments.
- PUTupdate_comment
Updates a comment.
Caption, 5 operations
- DELETEdelete_caption
Deletes a caption track.
- GETdownload_caption
Downloads a caption track file.
- POSTinsert_caption
Uploads a caption track for a video.
- GETlist_captions
Lists available captions for a video.
- PUTupdate_caption
Updates a caption track.
Channel section, 4 operations
- DELETEdelete_channel_section
Deletes a channel section.
- POSTinsert_channel_section
Creates a channel section.
- GETlist_channel_sections
Retrieves channel section layout.
- PUTupdate_channel_section
Updates a channel section.
Playlist, 4 operations
- DELETEdelete_playlist
Deletes a playlist.
- POSTinsert_playlist
Creates a new playlist.
- GETlist_playlists
Retrieves playlist details by ID or channel.
- PUTupdate_playlist
Updates playlist metadata.
Playlist image, 4 operations
- DELETEdelete_playlist_image
Deletes a playlist thumbnail image.
- POSTinsert_playlist_image
Uploads a playlist thumbnail image.
- GETlist_playlist_images
Retrieves playlist thumbnail images.
- PUTupdate_playlist_image
Updates a playlist thumbnail image.
Playlist item, 4 operations
- DELETEdelete_playlist_item
Removes a video from a playlist.
- POSTinsert_playlist_item
Adds a video to a playlist.
- GETlist_playlist_items
Retrieves videos from a playlist.
- PUTupdate_playlist_item
Updates a playlist item.
Subscription, 3 operations
- DELETEdelete_subscription
Unsubscribes from a channel.
- POSTinsert_subscription
Subscribes to a channel.
- GETlist_subscriptions
Retrieves channel subscriptions.
Channel, 2 operations
- GETlist_channels
Retrieves channel details by ID or username.
- PUTupdate_channel
Updates channel metadata.
Watermark, 2 operations
- POSTset_watermark
Sets a watermark for channel videos.
- POSTunset_watermark
Removes watermark from channel videos.
Activity, 1 operation
- GETlist_activities
Retrieves channel activity feed.
Category, 1 operation
- GETlist_video_categories
Retrieves video category list by region.
Channel banner, 1 operation
- POSTinsert_channel_banner
Uploads a channel banner image.
Comment thread, 1 operation
- GETlist_comments
Retrieves comment threads for a video or channel.
Language, 1 operation
- GETlist_i18n_languages
Retrieves supported languages for YouTube.
Member, 1 operation
- GETlist_members
Retrieves channel members with memberships.
Membership level, 1 operation
- GETlist_memberships_levels
Retrieves channel membership levels.
Region, 1 operation
- GETlist_i18n_regions
Retrieves supported regions for YouTube.
Search result, 1 operation
- GETsearch
Searches for videos, channels, and playlists.
Thumbnail, 1 operation
- POSTset_thumbnail
Uploads a custom thumbnail for a video.
Video abuse report reason, 1 operation
- GETlist_video_abuse_report_reasons
Retrieves video abuse report reasons.
OAuth scopes YouTube Data API requires
Each operation declares the scopes YouTube Data API requires for it.
https://www.googleapis.com/auth/youtube.force-sslneeded by delete_caption, delete_channel_section, delete_comment and 29 morehttps://www.googleapis.com/auth/youtube.readonlyneeded by get_video_rating, list_activities, list_channels and 11 morehttps://www.googleapis.com/auth/youtube.uploadneeded by insert_channel_banner, insert_video, set_thumbnail and 1 morehttps://www.googleapis.com/auth/youtube.channel-memberships.creatorneeded by list_members, list_memberships_levels
YouTube Data API API rate limits
YouTube uses quota units, not simple request counts
These are the limits YouTube Data API documents, not ones LiveContext measured. They can change and often depend on your plan, so check the YouTube Data API documentation for current values.
Use YouTube Data API from Claude Code, Cursor or Codex
Connect YouTube Data API in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its YouTube Data API operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect YouTube Data API
Create your workspace
Sign up free. Nothing to install.
Connect YouTube Data API once
Add your YouTube Data API connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
YouTube Data API integration FAQ
- What can you do with the YouTube Data API integration?
- LiveContext exposes 52 operations on YouTube Data API, covering video, comment, caption and channel section. Common uses include subscription management, localization and accessibility.
- Which OAuth scopes does YouTube Data API require?
- It depends on the operation: each one declares the scopes YouTube Data API requires for it. The most common are https://www.googleapis.com/auth/youtube.force-ssl (32 operations), https://www.googleapis.com/auth/youtube.readonly (14 operations), https://www.googleapis.com/auth/youtube.upload (4 operations) and https://www.googleapis.com/auth/youtube.channel-memberships.creator (2 operations).
- What are the YouTube Data API API rate limits?
- YouTube uses quota units, not simple request counts Limits are set by YouTube Data API and can depend on your plan.
Popular integrations
Instagram API with Instagram Login (graph.instagram.com). Manage a Business/Creator Instagram account…
Messaging platform API for building bots and integrations. Send messages, manage chats and channels, handle…
Social media platform API for content creators and businesses. Access user info, manage videos, get…
Social media platform API for posting, reading, and managing Twitter/X content. Post tweets, read timelines,…
Google email service API for sending, receiving, and managing emails. Access messages, threads, labels,…
AI API from xAI (Elon Musk's AI company) powering Grok models. Access state-of-the-art language models with…
Professional networking platform API for managing profiles, connections, and content. Share posts, manage…
High-performance AI models optimized for chat, coding, and reasoning tasks. Access cost-effective language…