Retrieve your Channel ID
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Você pode usar o formulário abaixo para recuperar o ID de seu canal ou o ID de outro canal.
-
Para recuperar seu próprio ID de canal, autorize a solicitação definindo o botão Autorizar solicitações usando OAuth 2.0 na parte superior do formulário como ON
. Em seguida, envie a solicitação clicando no botão azul na parte inferior do formulário.
-
Para recuperar o ID de qualquer canal que tenha um nome de canal do YouTube, defina a propriedade forUsername
no formato abaixo como o nome do canal e a propriedade mine
como false
.
Observação:esse formulário chama o método channels.list
da API YouTube Data. Por padrão, o formulário define o valor do parâmetro part
como snippet
e o valor do parâmetro mine
como true
.
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-08-21 UTC.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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`."]]