YouTube Data API v3 (youtube:v3)

2026-12-04

23 updated methods

Updates

    Methods
  • ▼ ▲ youtube.channelSections.delete

      Parameters :

        id

          Description : Required. Specifies the ID that uniquely identifies the channel section to delete. In a `channelSection` resource, the `id` property specifies the section's ID.

          Required : Yes

          Type : string

          Location : query

  • ▼ ▲ youtube.videos.delete

      Parameters :

        id

          Location : query

          Type : string

          Required : Yes

          Description : Required. Specifies the YouTube video ID for the resource that is being deleted.

  • ▼ ▲ youtube.videos.getRating

      Parameters :

        id

          Repeated : Yes

          Type : string

          Required : Yes

          Description : Required. Specifies a comma-separated list (or repeated query parameters) of up to 50 YouTube video IDs for which you are retrieving rating data. Invalid video IDs are silently omitted from `items`.

          Location : query

  • ▼ ▲ youtube.videos.list

      Parameters :

        maxHeight

          Description : Specifies the maximum height in pixels of the embedded player returned in the `player.embedHtml` property. Acceptable values are 72 to 8192, inclusive. If both `maxWidth` and `maxHeight` are specified, the embedded player might be shorter than `maxHeight` to preserve the video's aspect ratio.

          Maximum : 8192

          Location : query

          Type : integer

          Minimum : 72

          Format : int32

  • ▼ ▲ youtube.videos.rate

      Parameters :

        rating

          Required : Yes

          Enum :

        • none
        • like
        • dislike
        • Description : Required. Specifies the rating to record: `like` or `dislike` to set a rating, or `none` to remove any rating the authenticated user previously set for the video.

          Type : string

          Enum Descriptions :

        • The entity has not been rated.
        • The entity is liked.
        • The entity is disliked.
        • Location : query

        id

          Description : Required. Specifies the YouTube video ID of the video that is being rated or having its rating removed.

          Location : query

          Required : Yes

          Type : string

  • ▼ ▲ youtube.liveChatModerators.delete

      Parameters :

        id

          Required : Yes

          Location : query

          Type : string

          Description : Required. Identifies the chat moderator to remove. The value uniquely identifies both the moderator and the live chat, as returned by `liveChatModerators.list` or `liveChatModerators.insert`.

  • ▼ ▲ youtube.comments.delete

      Parameters :

        id

          Required : Yes

          Description : Required. The `id` parameter specifies the comment ID for the resource being deleted.

          Type : string

          Location : query

  • ▼ ▲ youtube.channels.list

      Parameters :

        categoryId

          Deprecated : Yes

          Description : Deprecated: This parameter isn't supported.

          Type : string

          Location : query

  • ▼ ▲ youtube.liveStreams.list

      Parameters :

        mine

          Type : boolean

          Location : query

          Description : Set this parameter's value to `true` to retrieve reusable streams owned by the authenticated user. Specify exactly one filter parameter (`id` or `mine`). Setting this parameter to `false` returns an error. Non-reusable streams (`contentDetails.isReusable` set to `false`) aren't returned when using `mine=true`; retrieve them using the `id` parameter instead.

  • ▼ ▲ youtube.liveStreams.delete

      Parameters :

        id

          Location : query

          Description : Required. Specifies the YouTube live stream ID for the resource to delete.

          Required : Yes

          Type : string

  • ▼ ▲ youtube.i18nRegions.list

      Parameters :

        hl

          Location : query

          Type : string

          Description : Specifies the language used for text values in the API response. The default value is `en_US`.

          Default : en_US

  • ▼ ▲ youtube.commentThreads.list

      Parameters :

        order

          Type : string

          Location : query

          Description : Specifies the order in which the API response lists comment threads. The default value is `time`. The `relevance` value isn't supported with `allThreadsRelatedToChannelId` or `searchTerms`, and this parameter isn't supported with `id`.

          Enum :

        • orderUnspecified
        • time
        • relevance
        • Enum Descriptions :

        • Orders comment threads by time. This is the default value.
        • Orders comment threads by relevance. Not supported with `allThreadsRelatedToChannelId` or `searchTerms`.
        • Default : time

  • ▼ ▲ youtube.liveBroadcasts.list

      Parameters :

        mine

          Type : boolean

          Description : Set to `true` to retrieve only broadcasts owned by the authenticated user. You must specify exactly one filter parameter per request (`broadcastStatus`, `id`, or `mine`).

          Location : query

  • ▼ ▲ youtube.activities.list

      Parameters :

        channelId

          Type : string

          Location : query

          Description : Specifies a unique YouTube channel ID to retrieve that channel's activities. Specify exactly one filter parameter (`channelId` or `mine`). Requests that specify `channelId` don't require OAuth 2.0 authorization.

        publishedAfter

          Description : Specifies the earliest date and time that an activity must occur to be included in the response.

          Location : query

          Type : string

          Format : google-datetime

        mine

          Description : Set this parameter's value to `true` to retrieve a feed of the authenticated user's activities. Requires OAuth 2.0 authorization. Specify exactly one filter parameter (`channelId` or `mine`).

          Type : boolean

          Location : query

        publishedBefore

          Format : google-datetime

          Description : Specifies the latest date and time before which an activity must occur to be included in the response.

          Location : query

          Type : string

        home

          Description : Deprecated: Home activity feeds are no longer supported; use `channelId` or `mine` to retrieve a channel's activities instead. Requires OAuth 2.0 authorization and returns an empty response when set to `true`.

          Deprecated : Yes

          Location : query

          Type : boolean

  • ▼ ▲ youtube.watermarks.set

      Parameters :

        channelId

          Type : string

          Location : query

          Description : Required. Specifies the YouTube channel ID for which the watermark is being provided. The authenticated user must have write permission on the specified channel.

          Required : Yes

  • ▼ ▲ youtube.watermarks.unset

      Parameters :

        channelId

          Required : Yes

          Description : Required. Specifies the YouTube channel ID for which the watermark is being removed. The authenticated user must have write permission on the specified channel.

          Type : string

          Location : query

  • ▼ ▲ youtube.liveChatBans.delete

      Parameters :

        id

          Type : string

          Location : query

          Required : Yes

          Description : Required. Identifies the permanent chat ban to remove. The value uniquely identifies both the ban and the chat (use the `id` returned by `liveChatBans.insert` for a permanent ban).

  • ▼ ▲ youtube.liveChatMessages.delete

      Parameters :

        id

          Required : Yes

          Type : string

          Location : query

          Description : Required. Specifies the YouTube live chat message ID of the resource to delete.

  • ▼ ▲ youtube.videoAbuseReportReasons.list

      Parameters :

        hl

          Type : string

          Location : query

          Description : Specifies the language used for text values in the API response. The default value is `en-US`. Specify a hyphenated language code supported by YouTube, such as `en-US`, `es`, or `fr` (available from the [`i18nLanguages.list`](https://developers.google.com/youtube/data/reference/rest/v3/i18nLanguages/list) method). Unsupported language codes return an HTTP 400 error; underscore locale identifiers such as `fr_FR` fall back to English (`en-US`).

          Default : en-US

  • ▼ ▲ youtube.subscriptions.delete

      Parameters :

        id

          Description : Required. Identifies the YouTube subscription to delete, using the `id` property from a `subscription` resource. The authenticated user must own the subscription.

          Location : query

          Type : string

          Required : Yes

  • ▼ ▲ youtube.subscriptions.list

      Parameters :

        myRecentSubscribers

          Location : query

          Description : Set to `true` to retrieve subscribers of the authenticated user who have made their subscriptions public, sorted in reverse chronological order (newest first), up to 1,000 results. Only `true` is supported. Requires OAuth 2.0 authorization. Specify exactly one filter parameter (`channelId`, `id`, `mine`, `myRecentSubscribers`, or `mySubscribers`).

          Type : boolean

  • ▼ ▲ youtube.playlists.delete

      Parameters :

        id

          Required : Yes

          Description : Required. Specifies the YouTube playlist ID of the playlist to delete, using the `id` property from a `playlist` resource.

          Type : string

          Location : query

  • ▼ ▲ youtube.videoCategories.list

      Parameters :

        regionCode

          Location : query

          Description : Instructs the API to return the list of video categories available in the specified country. The parameter value is an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. Specify exactly one filter parameter (`id` or `regionCode`).

          Type : string

        hl

          Description : Specifies the language used for text values in the API response, such as `snippet.title`. Supported values are the language codes returned by [`i18nLanguages.list`](https://developers.google.com/youtube/data/reference/rest/v3/i18nLanguages/list). The default value is `en-US`.

          Default : en-US

          Location : query

          Type : string