Youtube Channel Banner Image URL

youtube, youtube-api

Solution

You can get the banner image of a Youtube channel. Where the URL includes the word 'channel' followed by a 24 character string such as: https://www.youtube.com/channel/UCNa8NxMgSm7m4Ii9d4QGk1Q, then the following code will retrieve the banner information and more:

https://www.googleapis.com/youtube/v3/channels?part=brandingSettings&id={CHANNEL_ID}&key={GOOGLE_API_KEY}

Search for 'bannerImageUrl' to speed up the process if you are in a browser.

If you do not have a Google API key, visit the console and create one under the credentials menu. You should remove the curly brackets and not place the channel id or API key between them.

If you want to get the banner image of a YouTube channel with the word 'user' in the URL, such as: https://www.youtube.com/user/cocacola then I am not so sure. The solution on this page did not work for me.

I have just come across this result which shows more information.

Problem

Hi have been working on this project for quite some time, and It has come to the point at which I need to get the channel banner of a user's channel. I have this url (https://i2.ytimg.com/i/zRJMLe36PT0Q2mhlmbU2OQ/1.jpg) that gets the channel avatar of the channel avatar via the channel id. (the id is the long string of text and numbers) I searched the internet for quite some time also, and was at no luck to finding the url. If anyone can find a url that works the same as the avatar, just for the channel banner, I would be greatly appreciated! Thanks, and cheers! (ps, I would rather not use php, but if there is a solution using php, I can use it)

Original source

Related problems