You can use Channels:list
, which returns a collection of more than one channel.
HTTP request
GET https://www.googleapis.com/youtube/v3/channels
From the parameter part, it will give you contentDetails part=contentDetails
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
]
}
Based from Ibrahim Ulukaya, you can not add comma separated channels here. Either you can leave it blank to search all channels, or you can have a request per each channel and merge results. There is no multichannel search API.