Channels: list

Note: The channel resource's statistics.subscriberCount property value has been updated to reflect a YouTube policy change that affects the way that subscriber counts are displayed. For more information, see Revision History or the YouTube Help Center.

Returns a collection of zero or more channel resources that match the request criteria.

Quota impact: A call to this method has a quota cost of 1 unit.

Common use cases

Request

HTTP request

GET https://www.googleapis.com/youtube/v3/channels

Authorization

A request that retrieves the auditDetails part for a channel resource must provide an authorization token that contains the https://www.googleapis.com/auth/youtubepartner-channel-audit scope. In addition, any token that uses that scope must be revoked when the MCN decides to accept or reject the channel or within two weeks of the date that the token was issued.

Parameters

The following table lists the parameters that this query supports. All of the parameters listed are query parameters.

Request body

Do not provide a request body when calling this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "youtube#channelListResponse",
  "etag": etag,
  "nextPageToken": string,
  "prevPageToken": string,
  "pageInfo": {
    "totalResults": integer,
    "resultsPerPage": integer
  },
  "items": [
    channel Resource
  ]
}

Properties

The following table defines the properties that appear in this resource:

Properties
kind string
Identifies the API resource's type. The value will be youtube#channelListResponse.
etag etag
The Etag of this resource.
nextPageToken string
The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.
prevPageToken string
The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. Note that this property is not included in the API response if the corresponding API request set the managedByMe parameter to true.
pageInfo object
The pageInfo object encapsulates paging information for the result set.
pageInfo.totalResults integer
The total number of results in the result set.
pageInfo.resultsPerPage integer
The number of results included in the API response.
items[] list
A list of channels that match the request criteria.

Errors

The following table identifies error messages that the API could return in response to a call to this method. For more details, see YouTube Data API - Errors.

Try it!

Use the APIs Explorer to call this API and see the API request and response.