YouTube User Channels - Data API Endpoint

User Channels by username, youtube api key and part.


Get bulk User Channels data from the YouTube API | Official API: https://developers.google.com/youtube/v3/ | 👥  Contributors: steve 🚩  Report

✏️ Inputs

Username username Required

The username to look up for, e.g. stevesiellc.

E.g. stevesiellc
YouTube API Key auth_token Required

Your YouTube API Key - see how to get your YouTube API Key if you need help.

Part part Default id,snippet,contentDetails,statistics

Parts to return in the response.

  • auditDetails
  • brandingSettings
  • contentDetails
  • contentOwnerDetails
  • id
  • localizations
  • snippet
  • statistics
  • status
  • topicDetails

📝 Notes

Get channels based on a username - Official Channel List endpoint.

Get the Channel ID from the Username

If you only know the username of a channel, e.g. you want to get the channel ID for this URL: https://www.youtube.com/user/OfficialRyanSerhant you want to enter the last part of the URL (e.g. OfficialRyanSerhant) into this endpoint.

Execute the endpoint and then check the Raw JSON tab to get the channel ID, e.g. the channel ID will be UCG98giOsUxIlXV0rNUhxLew per the screenshot:

Channel ID from YouTube Username

Posted by steve on May 18, 2022, 6:30 a.m. 🚩  Report

⚡️ Endpoint

GET https://www.googleapis.com/youtube/v3/channels?part={{part}}&key={{auth_token}}&forUsername={{username}}

Body

None

Headers