YouTube Data API integration
Google's video platform API for accessing video, channel, playlist, and comment data
Say what should happen.
The workflow builds itself.
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
delete_videoDelete videoDELETEDeletes a video.get_video_ratingGet video ratingGETGets the authenticated user's rating for videos.insert_videoInsert videoPOSTUploads a video to YouTube.list_videosList videosGETRetrieves video details by ID or chart.rate_videoRate videoPOSTRates a video (like/dislike/none).report_abuseReport abusePOSTReports a video for policy violation.update_videoUpdate videoPUTUpdates video metadata.
Comment, 6 operations
delete_commentDelete commentDELETEDeletes a comment.insert_commentInsert commentPOSTPosts a new comment on a video.insert_replyInsert replyPOSTPosts a reply to a comment.list_single_commentsList single commentsGETRetrieves comments or replies.set_comment_moderation_statusSet comment moderation statusPOSTSets moderation status for comments.update_commentUpdate commentPUTUpdates a comment.
Caption, 5 operations
delete_captionDelete captionDELETEDeletes a caption track.download_captionDownload captionGETDownloads a caption track file.insert_captionInsert captionPOSTUploads a caption track for a video.list_captionsList captionsGETLists available captions for a video.update_captionUpdate captionPUTUpdates a caption track.
Channel section, 4 operations
delete_channel_sectionDelete channel sectionDELETEDeletes a channel section.insert_channel_sectionInsert channel sectionPOSTCreates a channel section.list_channel_sectionsList channel sectionsGETRetrieves channel section layout.update_channel_sectionUpdate channel sectionPUTUpdates a channel section.
Playlist, 4 operations
delete_playlistDelete playlistDELETEDeletes a playlist.insert_playlistInsert playlistPOSTCreates a new playlist.list_playlistsList playlistsGETRetrieves playlist details by ID or channel.update_playlistUpdate playlistPUTUpdates playlist metadata.
Playlist image, 4 operations
delete_playlist_imageDelete playlist imageDELETEDeletes a playlist thumbnail image.insert_playlist_imageInsert playlist imagePOSTUploads a playlist thumbnail image.list_playlist_imagesList playlist imagesGETRetrieves playlist thumbnail images.update_playlist_imageUpdate playlist imagePUTUpdates a playlist thumbnail image.
Playlist item, 4 operations
delete_playlist_itemDelete playlist itemDELETERemoves a video from a playlist.insert_playlist_itemInsert playlist itemPOSTAdds a video to a playlist.list_playlist_itemsList playlist itemsGETRetrieves videos from a playlist.update_playlist_itemUpdate playlist itemPUTUpdates a playlist item.
Subscription, 3 operations
delete_subscriptionDelete subscriptionDELETEUnsubscribes from a channel.insert_subscriptionInsert subscriptionPOSTSubscribes to a channel.list_subscriptionsList subscriptionsGETRetrieves channel subscriptions.
Channel, 2 operations
list_channelsList channelsGETRetrieves channel details by ID or username.update_channelUpdate channelPUTUpdates channel metadata.
Watermark, 2 operations
set_watermarkSet watermarkPOSTSets a watermark for channel videos.unset_watermarkUnset watermarkPOSTRemoves watermark from channel videos.
Activity, 1 operation
list_activitiesList activitiesGETRetrieves channel activity feed.
Category, 1 operation
list_video_categoriesList video categoriesGETRetrieves video category list by region.
Channel banner, 1 operation
insert_channel_bannerInsert channel bannerPOSTUploads a channel banner image.
Comment thread, 1 operation
list_commentsList commentsGETRetrieves comment threads for a video or channel.
Language, 1 operation
list_i18n_languagesList i18n languagesGETRetrieves supported languages for YouTube.
Member, 1 operation
list_membersList membersGETRetrieves channel members with memberships.
Membership level, 1 operation
list_memberships_levelsList memberships levelsGETRetrieves channel membership levels.
Region, 1 operation
list_i18n_regionsList i18n regionsGETRetrieves supported regions for YouTube.
Search result, 1 operation
searchSearchGETSearches for videos, channels, and playlists.
Thumbnail, 1 operation
set_thumbnailSet thumbnailPOSTUploads a custom thumbnail for a video.
Video abuse report reason, 1 operation
list_video_abuse_report_reasonsList video abuse report reasonsGETRetrieves 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.
