(P2397)

English

YouTube channel ID

ID of the YouTube channel of a person or organisation (not to be confused with the name of the channel) The ID can also be used for music.youtube.com IDs

  • YouTube channel identifier
  • UCID
  • YouTube channel
  • YouTube account
  • official YouTube channel
  • yt channel
  • Social Blade channel
  • YouTube Music Artist ID
  • externalId (YouTube)
  • channel id
  • https://www.youtube.com/channel/
  • www.youtube.com/channel/
  • youtube.com/channel/
In more languages
default for all languages
No label defined

No description defined

Data type

External identifier

Statements

YT Channel ID (English)
0 references
To obtain the ID, open the HTML source of the channel page and search for "<link rel="canonical"". The ID comes after the "/". The human-readable username can be added as a "YouTube handle" (P11245) qualifier, and the title of the channel can be provided with the "object named as" (P1932) qualifier. (English)
0 references
پتے ڈھونڈݨ لئی Ctrl-I بٹن چھوہو تے کھوج دے حصے وچ canonical پا لاؤ۔ اوتھے link ٹیگ چ شناخت دا پتہ ہندا اے۔ P11245 نال اوہ ورتنوالے دا ناں پا سکدے او۔ (Western Punjabi)
0 references
Pour obtenir l'URL exact d'une page Youtube, y faire un clic droit, sélectionner "Code source de la page", puis rechercher avec CTRL+F le tag <link rel="canonical" href=". L'identifiant est une suite de chiffres et de lettres. (French)
0 references
Um die ID zu erhalten, öffne den HTML-Quelltext der Kanalseite und suche nach dem Tag <link rel="canonical">. Die ID kommt nach dem „/“. (German)
0 references
Щоб отримати ID, відкрийте вихідний HTML-код сторінки каналу та знайдіть тег <link rel="canonical". Ідентифікатор знаходиться в значенні атрибута "href" після "channel/". (Ukrainian)
0 references
Для получения ID канала Youtube , нужно перейти в меню "О канале" (кликнув описание в шапке профиле). Внизу будет кнопка "поделиться каналом" . Из предлагаемых двух значений, выбрать нижнее "Скопировать идентификатор канала" . Работает только в полной, десктопной версии сайта. (Russian)
0 references
https://www.youtube.com/channel/$1
0 references
https://music.youtube.com/channel/$1
0 references
https://www.youtubekids.com/channel/$1
0 references
https://www.youtube.com/feeds/videos.xml?channel_id=$1
0 references
^https?:\/\/\w+\.youtube\.com\/channel\/(UC[-_0-9A-Za-z]{21}[AQgw])
0 references
^https?:\/\/socialblade\.com\/youtube\/c\/([^#?\/]+)
0 references
^https?:\/\/playboard\.co\/en\/channel\/(UC[-_0-9A-Za-z]{21}[AQgw])
0 references
^https?:\/\/vidiq\.com\/youtube-stats\/channel\/([^#?\/]+)
0 references
https://m.youtube.com/channel/$1
0 references
0 references
https://redirect.invidious.io/channel/$1
0 references
https://playboard.co/en/channel/$1
0 references
https://www.themoviedb.org/video/channel/$1
0 references
https://socialblade.com/youtube/channel/$1
0 references
https://www.youtube.com/results?search_query=$1&sp=EgIQAg%253D%253D
0 references
https://www.youtube.com/channel/$2/search?query=$1
0 references
UC[-_0-9A-Za-z]{21}[AQgw]
base64 hashed/salted serial identifier; different from human-readable username (English)
0 references
24 February 2021
YouTube channels (1M+ subscribers)
0 references

Constraints

UC[-_0-9A-Za-z]{21}[AQgw]
Located from the source of the HTML page by searching the source for string: itemprop="channelId" (English)
The following command (when replacing CHANNELNAME) can be used on typical Linux distributions to extract the required channel ID to use for this property from a YouTube channel's URL that contains a channel name rather than channel ID: curl --no-progress-meter 'https://www.youtube.com/c/CHANNELNAME' | xmllint --html --recover --nowarning --xpath 'string(//meta[@itemprop="channelId"]/@content)' - 2>/dev/null (English)
0 references