Retrieve your Channel ID
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Anda dapat menggunakan formulir di bawah ini untuk mengambil ID channel Anda atau ID channel lain.
-
Untuk mengambil ID channel Anda sendiri, izinkan permintaan dengan menyetel tombol Izinkan permintaan menggunakan OAuth 2.0 di bagian atas formulir ke ON
. Kemudian kirim permintaan dengan mengklik tombol biru di bagian bawah formulir.
-
Untuk mengambil ID channel untuk setiap channel yang memiliki nama channel YouTube, tetapkan properti forUsername
dalam formulir di bawah ke nama channel dan properti mine
ke false
.
Catatan: Formulir ini memanggil metode channels.list
YouTube Data API. Secara default, formulir menetapkan nilai parameter part
ke snippet
dan nilai parameter mine
ke true
.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-08-21 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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`."]]