Retrieve YouTube content and manage videos, playlists, channels, comments, and live streams using the YouTube Data API v3.
- REST Resource: v3.activities
- REST Resource: v3.captions
- REST Resource: v3.channelBanners
- REST Resource: v3.channelSections
- REST Resource: v3.channels
- REST Resource: v3.commentThreads
- REST Resource: v3.comments
- REST Resource: v3.i18nLanguages
- REST Resource: v3.i18nRegions
- REST Resource: v3.liveBroadcasts
- REST Resource: v3.liveChatBans
- REST Resource: v3.liveChatMessages
- REST Resource: v3.liveChatModerators
- REST Resource: v3.liveStreams
- REST Resource: v3.members
- REST Resource: v3.membershipsLevels
- REST Resource: v3.playlistImages
- REST Resource: v3.playlistItems
- REST Resource: v3.playlists
- REST Resource: v3.posts
- REST Resource: v3.search
- REST Resource: v3.subscriptions
- REST Resource: v3.superChatEvents
- REST Resource: v3.thumbnails
- REST Resource: v3.videoAbuseReportReasons
- REST Resource: v3.videoCategories
- REST Resource: v3.videoTrainability
- REST Resource: v3.videos
- REST Resource: v3.watermarks
Service: youtube.googleapis.com
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
https://youtube.googleapis.com
REST Resource: v3.activities
| Methods | |
|---|---|
list |
GET /youtube/v3/activities Returns a list of channel activity events that match the request criteria. |
REST Resource: v3.captions
| Methods | |
|---|---|
delete |
DELETE /youtube/v3/captions Deletes a specified caption track. |
download |
GET /youtube/v3/captions/{id} Downloads a caption track. |
insert |
POST /youtube/v3/captions POST /upload/youtube/v3/captions Uploads a caption track. |
list |
GET /youtube/v3/captions Returns a list of caption tracks that are associated with a specified video. |
update |
PUT /youtube/v3/captions PUT /upload/youtube/v3/captions Updates a caption track. |
REST Resource: v3.channelBanners
| Methods | |
|---|---|
insert |
POST /upload/youtube/v3/channelBanners/insert Uploads a channel banner image to YouTube and sets it as the channel's banner. |
REST Resource: v3.channelSections
| Methods | |
|---|---|
delete |
DELETE /youtube/v3/channelSections Deletes a channel section. |
insert |
POST /youtube/v3/channelSections Adds a channel section to the authenticated user's channel. |
list |
GET /youtube/v3/channelSections Returns a list of channelSection resources that match the API request criteria. |
update |
PUT /youtube/v3/channelSections Updates a channel section. |
REST Resource: v3.channels
| Methods | |
|---|---|
list |
GET /youtube/v3/channels Returns a collection of zero or more channel resources that match the request criteria. |
update |
PUT /youtube/v3/channels Modifies a channel's metadata, including brandingSettings, localizations, and status. |
REST Resource: v3.commentThreads
| Methods | |
|---|---|
insert |
POST /youtube/v3/commentThreads Creates a new top-level comment. |
list |
GET /youtube/v3/commentThreads Returns a list of comment threads that match the API request parameters. |
REST Resource: v3.comments
| Methods | |
|---|---|
delete |
DELETE /youtube/v3/comments Deletes a comment. |
insert |
POST /youtube/v3/comments Creates a reply to an existing comment. |
list |
GET /youtube/v3/comments Returns a list of comments that match the API request parameters. |
setModerationStatus |
POST /youtube/v3/comments/setModerationStatus Sets the moderation status of one or more comments. |
update |
PUT /youtube/v3/comments Modifies a comment. |
REST Resource: v3.i18nLanguages
| Methods | |
|---|---|
list |
GET /youtube/v3/i18nLanguages Returns a list of application languages that the YouTube website supports. |
REST Resource: v3.i18nRegions
| Methods | |
|---|---|
list |
GET /youtube/v3/i18nRegions Returns a list of content regions that the YouTube website supports. |
REST Resource: v3.liveBroadcasts
| Methods | |
|---|---|
bind |
POST /youtube/v3/liveBroadcasts/bind Binds a YouTube broadcast to a stream or removes an existing binding between a broadcast and a stream. |
delete |
DELETE /youtube/v3/liveBroadcasts Deletes a broadcast. |
insert |
POST /youtube/v3/liveBroadcasts Creates a broadcast. |
insertCuepoint |
POST /youtube/v3/liveBroadcasts/cuepoint Inserts an ad cuepoint into a broadcast, replacing the Content-Owner-only liveCuepoints.insert method without requiring Content Owner authorization. |
list |
GET /youtube/v3/liveBroadcasts Returns a list of YouTube broadcasts that match the API request parameters. |
transition |
POST /youtube/v3/liveBroadcasts/transition Changes the status of a YouTube live broadcast and initiates any processes associated with the new status. |
update |
PUT /youtube/v3/liveBroadcasts Updates a broadcast. |
REST Resource: v3.liveChatBans
| Methods | |
|---|---|
delete |
DELETE /youtube/v3/liveChat/bans Removes a permanent ban that prevents a specific user from contributing to a live chat, enabling the user to rejoin the chat. |
insert |
POST /youtube/v3/liveChat/bans Bans a specific user from participating in a live chat. |
REST Resource: v3.liveChatMessages
| Methods | |
|---|---|
delete |
DELETE /youtube/v3/liveChat/messages Deletes a chat message. |
insert |
POST /youtube/v3/liveChat/messages Adds a text message or a poll to a live chat. |
list |
GET /youtube/v3/liveChat/messages Lists live chat messages for a specific chat. |
streamList |
GET /youtube/v3/liveChat/messages/stream Establishes a server-streaming connection to receive live chat messages for a specific chat with low latency. |
transition |
POST /youtube/v3/liveChat/messages/transition Transitions the status of a live chat poll message to close an active poll. |
REST Resource: v3.liveChatModerators
| Methods | |
|---|---|
delete |
DELETE /youtube/v3/liveChat/moderators Removes a moderator from a live chat. |
insert |
POST /youtube/v3/liveChat/moderators Adds a standard moderator to a live chat. |
list |
GET /youtube/v3/liveChat/moderators Lists standard moderators for a live chat. |
REST Resource: v3.liveStreams
| Methods | |
|---|---|
delete |
DELETE /youtube/v3/liveStreams Deletes a video stream. |
insert |
POST /youtube/v3/liveStreams Creates a video stream. |
list |
GET /youtube/v3/liveStreams Returns a list of video streams that match the API request parameters. |
update |
PUT /youtube/v3/liveStreams Updates a video stream. |
REST Resource: v3.members
| Methods | |
|---|---|
list |
GET /youtube/v3/members Retrieves a list of members that match the request criteria for a channel. |
REST Resource: v3.membershipsLevels
| Methods | |
|---|---|
list |
GET /youtube/v3/membershipsLevels Returns the approved pricing levels offered by the channel that authorized the API request. |
REST Resource: v3.playlistImages
| Methods | |
|---|---|
delete |
DELETE /youtube/v3/playlistImages Deletes a playlist thumbnail image. |
insert |
POST /youtube/v3/playlistImages POST /upload/youtube/v3/playlistImages Uploads a custom thumbnail image and adds it to a playlist. |
list |
GET /youtube/v3/playlistImages Returns a collection of playlist images that match the API request parameters. |
update |
PUT /youtube/v3/playlistImages PUT /upload/youtube/v3/playlistImages Updates the thumbnail image for an existing playlist. |
REST Resource: v3.playlistItems
| Methods | |
|---|---|
delete |
DELETE /youtube/v3/playlistItems Deletes a playlist item. |
insert |
POST /youtube/v3/playlistItems Adds a resource to a playlist. |
list |
GET /youtube/v3/playlistItems Returns a collection of playlist items that match the API request parameters. |
update |
PUT /youtube/v3/playlistItems Modifies a playlist item. |
REST Resource: v3.playlists
| Methods | |
|---|---|
delete |
DELETE /youtube/v3/playlists Deletes a playlist. |
insert |
POST /youtube/v3/playlists Creates a playlist. |
list |
GET /youtube/v3/playlists Returns a collection of playlists that match the API request parameters. |
update |
PUT /youtube/v3/playlists Modifies a playlist. |
REST Resource: v3.posts
| Methods | |
|---|---|
delete |
DELETE /youtube/v3/posts Deletes a post. |
imageUpload |
POST /upload/youtube/v3/posts/image Uploads an image for a post and returns an upload token. |
insert |
POST /youtube/v3/posts Creates and publishes a text-only post or an image post. |
list |
GET /youtube/v3/posts Returns a list of posts that match the API request parameters. |
update |
PUT /youtube/v3/posts Updates the text of a post. |
REST Resource: v3.search
| Methods | |
|---|---|
list |
GET /youtube/v3/search Retrieves a list of search resources |
REST Resource: v3.subscriptions
| Methods | |
|---|---|
delete |
DELETE /youtube/v3/subscriptions Deletes a subscription. |
insert |
POST /youtube/v3/subscriptions Adds a subscription for the authenticated user's channel. |
list |
GET /youtube/v3/subscriptions Returns subscription resources that match the API request criteria. |
REST Resource: v3.superChatEvents
| Methods | |
|---|---|
list |
GET /youtube/v3/superChatEvents Lists Super Chat and Super Sticker events for a channel's live streams. |
REST Resource: v3.thumbnails
| Methods | |
|---|---|
set |
POST /upload/youtube/v3/thumbnails/set Uploads a custom video thumbnail to YouTube and sets it for a video, including YouTube Shorts. |
REST Resource: v3.videoAbuseReportReasons
| Methods | |
|---|---|
list |
GET /youtube/v3/videoAbuseReportReasons Retrieves a list of reasons that can be used to report abusive videos. |
REST Resource: v3.videoCategories
| Methods | |
|---|---|
list |
GET /youtube/v3/videoCategories Returns a list of categories that can be associated with YouTube videos. |
REST Resource: v3.videoTrainability
| Methods | |
|---|---|
get |
GET /youtube/v3/videoTrainability Returns the trainability status of a video. |
REST Resource: v3.videos
| Methods | |
|---|---|
batchGetStats |
GET /youtube/v3/videos:batchGetStats Retrieves a batch of video statistics for the specified video IDs. |
delete |
DELETE /youtube/v3/videos Deletes a YouTube video. |
getRating |
GET /youtube/v3/videos/getRating Retrieves the ratings that the authorized user gave to a list of specified videos. |
insert |
POST /youtube/v3/videos POST /upload/youtube/v3/videos Uploads a video to YouTube and optionally sets the video's metadata. |
list |
GET /youtube/v3/videos Returns a list of videos that match the API request parameters. |
rate |
POST /youtube/v3/videos/rate Adds a like or dislike rating to a video or removes a rating from a video. |
reportAbuse |
POST /youtube/v3/videos/reportAbuse Reports a video for containing abusive content. |
update |
PUT /youtube/v3/videos Updates a video's metadata. |
REST Resource: v3.watermarks
| Methods | |
|---|---|
set |
POST /youtube/v3/watermarks/set POST /upload/youtube/v3/watermarks/set Uploads a watermark image to YouTube and sets it for a channel. |
unset |
POST /youtube/v3/watermarks/unset Deletes a channel's API-configured watermark image. |