Retrieve your Channel ID
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Vous pouvez utiliser le formulaire ci-dessous pour récupérer l'ID de votre chaîne ou d'une autre chaîne.
-
Pour récupérer votre propre ID de chaîne, autorisez la requête en définissant le bouton Autoriser les requêtes à l'aide d'OAuth 2.0 en haut du formulaire sur ON
. Envoyez ensuite la demande en cliquant sur le bouton bleu en bas du formulaire.
-
Pour récupérer l'ID d'une chaîne ayant un nom de chaîne YouTube, définissez la propriété forUsername
dans le formulaire ci-dessous sur le nom de la chaîne et la propriété mine
sur false
.
Remarque:Ce formulaire appelle la méthode channels.list
de l'API YouTube Data. Par défaut, le formulaire définit la valeur du paramètre part
sur snippet
et la valeur du paramètre mine
sur true
.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/08/21 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/08/21 (UTC)."],[[["\u003cp\u003eRetrieve your channel ID by authorizing the request via the OAuth 2.0 button and then submitting the form.\u003c/p\u003e\n"],["\u003cp\u003eFind another channel's ID by setting the \u003ccode\u003eforUsername\u003c/code\u003e property to the channel name and the \u003ccode\u003emine\u003c/code\u003e property to \u003ccode\u003efalse\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis form utilizes the YouTube Data API's \u003ccode\u003echannels.list\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe form defaults the \u003ccode\u003epart\u003c/code\u003e parameter to \u003ccode\u003esnippet\u003c/code\u003e and the \u003ccode\u003emine\u003c/code\u003e parameter to \u003ccode\u003etrue\u003c/code\u003e.\u003c/p\u003e\n"]]],["To retrieve your channel ID, authorize the request via OAuth 2.0 and submit the form. For another channel's ID, set the `forUsername` property to the channel name and `mine` to `false` in the form. The form utilizes the YouTube Data API's `channels.list` method. By default it uses `snippet` for the `part` parameter, and sets the `mine` parameter to `true`.\n"],null,["# Retrieve your Channel ID\n\nYou can use the form below to retrieve your channel ID or another channel's ID.\n\n- To retrieve your own channel ID, authorize the request by setting the **Authorize requests using OAuth 2.0** button at the top of the form to `ON`. Then send the request by clicking the blue button at the bottom of the form.\n\n- To retrieve the channel ID for any channel that has a YouTube channel name, set the `forUsername` property in the form below to the channel name and the `mine` property to `false`.\n\n**Note:** This form calls the YouTube Data API's [channels.list](/youtube/v3/docs/channels/list) method. By default, the form sets the `part` parameter value to `snippet` and the `mine` parameter value to `true`."]]