YouTube
Read videos, channels, and search.
SocialOAuth51 endpoints
Endpoints
| Operation | Method & path | Effect | Latency | Rate | Cost |
|---|---|---|---|---|---|
YOUTUBE_ADD_VIDEO_TO_PLAYLIST Tool to add a video to a playlist by inserting a playlist item. Use when organizing videos into playlists or building curated collections. | POST /composio/youtube/youtube_add_video_to_playlist | external_send | — | — | managed |
YOUTUBE_CREATE_CHANNEL_SECTION Tool to create a new channel section for the authenticated user's YouTube channel. Use when organizing channel content into sections like featured playlists, recent uploads, or featured channels. | POST /composio/youtube/youtube_create_channel_section | external_send | — | — | managed |
YOUTUBE_CREATE_COMMENT_REPLY Tool to create a reply to an existing YouTube comment. Use when responding to user comments or engaging in conversations on videos. | POST /composio/youtube/youtube_create_comment_reply | external_send | — | — | managed |
YOUTUBE_CREATE_PLAYLIST Tool to create a new YouTube playlist on the authenticated user's channel. Use when organizing videos into collections or building curated playlists. | POST /composio/youtube/youtube_create_playlist | external_send | — | — | managed |
YOUTUBE_DELETE_CHANNEL_SECTION Tool to delete a YouTube channel section. Use when you need to remove a channel section from a channel. The channel section must exist and the authenticated user must have permission to delete it. | POST /composio/youtube/youtube_delete_channel_section | external_send | — | — | managed |
YOUTUBE_DELETE_COMMENT Tool to delete a YouTube comment owned by the authenticated user or channel. Use when you need to remove a comment from a video. The comment must exist and be owned by the authenticated channel. | POST /composio/youtube/youtube_delete_comment | external_send | — | — | managed |
YOUTUBE_DELETE_PLAYLIST Tool to delete a YouTube playlist owned by the authenticated user/channel. Use when you need to permanently remove a playlist from YouTube. Requires explicit confirmation via `confirmDelete: true` to prevent accidental deletions. | POST /composio/youtube/youtube_delete_playlist | external_send | — | — | managed |
YOUTUBE_DELETE_PLAYLIST_ITEM Tool to delete a playlist item (remove a video from a playlist). Use when removing specific videos from playlists. | POST /composio/youtube/youtube_delete_playlist_item | external_send | — | — | managed |
YOUTUBE_DELETE_VIDEO Tool to delete a YouTube video owned by the authenticated user/channel. Use when you need to permanently remove a video from YouTube. Requires explicit confirmation via `confirmDelete: true` to prevent accidental deletions. The video must exist and be owned by the authenticated channel. | POST /composio/youtube/youtube_delete_video | external_send | — | — | managed |
YOUTUBE_GET_CHANNEL_ACTIVITIES Gets recent activities from a YouTube channel including video uploads, playlist additions, likes, and other channel events. | GET /composio/youtube/youtube_get_channel_activities | none | — | — | managed |
YOUTUBE_GET_CHANNEL_ID_BY_HANDLE Retrieves the YouTube Channel ID for a specific YouTube channel handle. | GET /composio/youtube/youtube_get_channel_id_by_handle | none | — | — | managed |
YOUTUBE_GET_CHANNEL_STATISTICS Gets detailed statistics for YouTube channels including subscriber counts, view counts, and video counts. Channels can be identified using their ID, handle (e.g., @Google), or username. | GET /composio/youtube/youtube_get_channel_statistics | none | — | — | managed |
YOUTUBE_GET_VIDEO_DETAILS_BATCH Retrieves multiple YouTube video resource parts in a single batch call. Use when you need cohort-level metrics for many videos to reduce quota usage and latency. | GET /composio/youtube/youtube_get_video_details_batch | none | — | — | managed |
YOUTUBE_GET_VIDEO_RATING Retrieves the ratings that the authorized user gave to a list of specified videos. Use when you need to check if a user has liked or disliked specific videos. | GET /composio/youtube/youtube_get_video_rating | none | — | — | managed |
YOUTUBE_LIST_CAPTION_TRACK Retrieves a list of caption tracks for a YouTube video. Returns an empty items list if no captions are available. Raises ExecutionFailed if the video ID is invalid or not found. | GET /composio/youtube/youtube_list_caption_track | none | — | — | managed |
YOUTUBE_LIST_CHANNELS Lists YouTube channels by ID, handle, username, or ownership status, returning detailed channel information including metadata, statistics, and content details. Use this action when you need to retrieve comprehensive channel information by channel ID, handle (e.g., @username), or to list channels owned by or managed by the authenticated user. For finding channels by search query, use the search action instead. | GET /composio/youtube/youtube_list_channels | none | — | — | managed |
YOUTUBE_LIST_CHANNEL_SECTIONS Tool to retrieve channel sections from YouTube. Use when you need to get the layout sections of a channel's homepage. Channel sections organize content into categories like playlists, uploads, or featured channels. | GET /composio/youtube/youtube_list_channel_sections | none | — | — | managed |
YOUTUBE_LIST_CHANNEL_VIDEOS Lists videos from a specified YouTube channel. This action primarily uses the playlistItems.list endpoint with the channel's uploads playlist, which is the recommended approach by YouTube. The uploads playlist ID is obtained by fetching the channel resource via the Channels API and extracting the playlist ID from contentDetails.relatedPlaylists.uploads field. If the uploads playlist returns a 404 error (which can happen due to a known YouTube API bug where the returned playlist ID doesn't actually exist), the action automatically falls back to the search.list endpoint to retrieve channel videos. Note that the search fallback has higher quota cost (100 units vs 1 unit) and is limited to 500 results. If a channel exists but has no uploads playlist (e.g., brand accounts, channels with all videos deleted, or channels that haven't uploaded any public content), an empty result set is returned instead of an error. | GET /composio/youtube/youtube_list_channel_videos | none | — | — | managed |
YOUTUBE_LIST_COMMENTS List individual comments from YouTube videos. Returns comment details including author, text, timestamps, and engagement metrics. Use 'id' parameter to retrieve specific comments or 'parentId' to retrieve all replies to a top-level comment. | GET /composio/youtube/youtube_list_comments | none | — | — | managed |
YOUTUBE_LIST_COMMENT_THREADS DEPRECATED: Use YOUTUBE_LIST_COMMENT_THREADS2 instead. List comment threads from YouTube videos or channels for qualitative analysis and reporting. Returns top-level comments with optional replies (up to 5 per thread). Use the 'videoId' parameter to retrieve comments on a specific video (most common use case). | GET /composio/youtube/youtube_list_comment_threads | none | — | — | managed |
YOUTUBE_LIST_COMMENT_THREADS2 Tool to retrieve comment threads from YouTube videos or channels matching API request parameters. Use when you need to fetch comments with filtering by video, channel, or specific thread IDs. | GET /composio/youtube/youtube_list_comment_threads2 | none | — | — | managed |
YOUTUBE_LIST_I18N_LANGUAGES Returns a list of application languages that the YouTube website supports. Use this when you need to retrieve all available language options for YouTube's interface or to localize content. | GET /composio/youtube/youtube_list_i18n_languages | none | — | — | managed |
YOUTUBE_LIST_I18N_REGIONS Tool to retrieve a list of content regions that the YouTube website supports. Returns region codes (ISO 3166-1 alpha-2) and localized region names. Use when you need to identify available geographic regions for content filtering or display. | GET /composio/youtube/youtube_list_i18n_regions | none | — | — | managed |
YOUTUBE_LIST_LIVE_CHAT_MESSAGES Tool to list live chat messages for a specific chat. Use for monitoring live chat during broadcasts or retrieving chat history. Returns messages with author details, timestamps, and message types (text, Super Chat, moderation events). | GET /composio/youtube/youtube_list_live_chat_messages | none | — | — | managed |
YOUTUBE_LIST_MOST_POPULAR_VIDEOS DEPRECATED: Use YOUTUBE_UPDATE_VIDEO instead. Tool to list the current most-popular (charts/trending) YouTube videos for a region and/or category via videos.list(chart=mostPopular). Use when you need to retrieve YouTube's official trending or most popular videos, not keyword-search approximations. | GET /composio/youtube/youtube_list_most_popular_videos | none | — | — | managed |
YOUTUBE_LIST_PLAYLIST_IMAGES Tool to retrieve playlist images associated with a specific playlist. Use when fetching custom thumbnail images for playlists. | GET /composio/youtube/youtube_list_playlist_images | none | — | — | managed |
YOUTUBE_LIST_PLAYLIST_ITEMS Tool to list videos in a playlist, with pagination support. Use when walking through a channel's uploads playlist to enumerate all videos. | GET /composio/youtube/youtube_list_playlist_items | none | — | — | managed |
YOUTUBE_LIST_SUPER_CHAT_EVENTS Lists Super Chat events for a channel, showing supporter purchases during live streams. Returns Super Chat and Super Sticker events from the past 30 days. Use to track and acknowledge supporter contributions. | GET /composio/youtube/youtube_list_super_chat_events | none | — | — | managed |
YOUTUBE_LIST_USER_PLAYLISTS Retrieves playlists owned by the authenticated user, implicitly using mine=True. | GET /composio/youtube/youtube_list_user_playlists | none | — | — | managed |
YOUTUBE_LIST_USER_SUBSCRIPTIONS Retrieves the authenticated user's YouTube channel subscriptions, allowing specification of response parts and pagination. | GET /composio/youtube/youtube_list_user_subscriptions | none | — | — | managed |
YOUTUBE_LIST_VIDEO_ABUSE_REPORT_REASONS Tool to retrieve a list of abuse report reasons that can be used to report abusive videos on YouTube. Use when you need to display available reporting categories or before calling videos.reportAbuse. Returns localized reason labels and optional secondary categorizations. | GET /composio/youtube/youtube_list_video_abuse_report_reasons | none | — | — | managed |
YOUTUBE_LIST_VIDEO_CATEGORIES Tool to list YouTube video categories that can be associated with videos. Use when you need to retrieve available video categories for a specific region or get details about specific category IDs. | GET /composio/youtube/youtube_list_video_categories | none | — | — | managed |
YOUTUBE_LOAD_CAPTIONS Downloads a specific YouTube caption track, which must be owned by the authenticated user, and returns its content as text. Note: This action requires you to own the video (YouTube Data API v3 restriction). Non-owned videos will return 403 Forbidden errors, including many auto-generated caption tracks. | POST /composio/youtube/youtube_load_captions | external_send | — | — | managed |
YOUTUBE_MARK_COMMENT_AS_SPAM Tool to mark one or more YouTube comments as spam. Use when moderating comments to flag spam content. Note: This endpoint is deprecated but still functional according to YouTube API documentation. | POST /composio/youtube/youtube_mark_comment_as_spam | external_send | — | — | managed |
YOUTUBE_MULTIPART_UPLOAD_VIDEO Uploads a video to YouTube using multipart upload in a single request. Use when you want to upload both metadata and video file together. This action uploads the video file and metadata in one request, unlike resumable upload which requires two steps. | POST /composio/youtube/youtube_multipart_upload_video | external_send | — | — | managed |
YOUTUBE_POST_COMMENT Tool to post a new top-level comment on a YouTube video. Use when creating comments to engage with video content or respond to user requests. | POST /composio/youtube/youtube_post_comment | external_send | — | — | managed |
YOUTUBE_RATE_VIDEO Tool to add a like or dislike rating to a YouTube video, or remove an existing rating. Use when you need to rate videos on behalf of the authenticated user. | POST /composio/youtube/youtube_rate_video | external_send | — | — | managed |
YOUTUBE_REPORT_VIDEO_ABUSE Tool to report a YouTube video for containing abusive content. Use when you need to flag videos that violate YouTube's community guidelines or contain harmful content. | POST /composio/youtube/youtube_report_video_abuse | external_send | — | — | managed |
YOUTUBE_SEARCH_YOU_TUBE Searches YouTube for videos, channels, or playlists using a query term, returning the raw API response. | GET /composio/youtube/youtube_search_you_tube | none | — | — | managed |
YOUTUBE_SET_COMMENT_MODERATION_STATUS Tool to set the moderation status of one or more YouTube comments. Use when moderating comments to hold for review, publish, or reject them. Optionally ban the comment author when rejecting. | POST /composio/youtube/youtube_set_comment_moderation_status | external_send | — | — | managed |
YOUTUBE_SUBSCRIBE_CHANNEL Subscribes the authenticated user to a specified YouTube channel, identified by its unique `channelId` which must be valid and existing. | POST /composio/youtube/youtube_subscribe_channel | external_send | — | — | managed |
YOUTUBE_UNSUBSCRIBE_CHANNEL Tool to unsubscribe the authenticated user from a YouTube channel by deleting a subscription. Use when you need to remove an existing subscription. The subscription ID can be obtained from the `YOUTUBE_LIST_USER_SUBSCRIPTIONS` tool. | POST /composio/youtube/youtube_unsubscribe_channel | external_send | — | — | managed |
YOUTUBE_UPDATE_CAPTION Updates a YouTube caption track's metadata such as name, language, or draft status. Use this to modify existing caption track properties without uploading new caption content. Note: Only properties specified in the snippet will be updated; unspecified properties retain their current values. | POST /composio/youtube/youtube_update_caption | external_send | — | — | managed |
YOUTUBE_UPDATE_CHANNEL Updates a channel's metadata including branding settings and localizations. Only brandingSettings, invideoPromotion, and localizations properties can be updated. Requires the channel to be owned by the authenticated user. | POST /composio/youtube/youtube_update_channel | external_send | — | — | managed |
YOUTUBE_UPDATE_CHANNEL_SECTION Tool to update an existing YouTube channel section by ID. Use when modifying section properties like title, position, or featured content. | POST /composio/youtube/youtube_update_channel_section | external_send | — | — | managed |
YOUTUBE_UPDATE_COMMENT Tool to modify the text of an existing YouTube comment. Use when updating or correcting a previously posted comment. | POST /composio/youtube/youtube_update_comment | external_send | — | — | managed |
YOUTUBE_UPDATE_PLAYLIST Tool to modify an existing YouTube playlist's metadata (title, description, privacy status). Use when updating playlist information for the authenticated user's channel. | POST /composio/youtube/youtube_update_playlist | external_send | — | — | managed |
YOUTUBE_UPDATE_PLAYLIST_ITEM Tool to modify a playlist item's properties such as position or note. Use when reordering videos in a playlist or updating item metadata. | POST /composio/youtube/youtube_update_playlist_item | external_send | — | — | managed |
YOUTUBE_UPDATE_THUMBNAIL Sets the custom thumbnail for a YouTube video using an image from a URL. Requirements: - The authenticated user must own the video or have permission to edit it - The YouTube channel must be verified (phone verification required) to upload custom thumbnails - Image must be JPG, PNG, or GIF; under 2MB; recommended 1280x720 resolution (16:9 aspect ratio) | POST /composio/youtube/youtube_update_thumbnail | external_send | — | — | managed |
YOUTUBE_UPDATE_VIDEO Updates metadata for a YouTube video identified by videoId, which must exist; an empty list for tags removes all existing tags. | POST /composio/youtube/youtube_update_video | external_send | — | — | managed |
YOUTUBE_UPLOAD_VIDEO Uploads a video file to a YouTube channel; the video file must be in a YouTube-supported format. | POST /composio/youtube/youtube_upload_video | external_send | — | — | managed |