GET
/youtube/channelGet YouTube channel metadata
Retrieves metadata for a YouTube channel identified by its URL, handle, or ID. Supply id in one of the supported YouTube URL formats or use the channel's handle or ID.
idstringrequired
The YouTube channel URL, handle, or ID to retrieve metadata for; use a supported YouTube URL format.
200Returns the channel ID and name, plus its handle, description, subscriber and video counts, total views, thumbnail URL, and banner URL when available.
idstringrequired
YouTube channel ID
namestringrequired
Channel name
handlestringoptional
Channel handle (empty string when the channel has none)
descriptionstringoptional
Channel description
subscriberCountnumberoptional
Number of subscribers
videoCountnumberoptional
Number of videos on the channel
viewCountnumberoptional
Total number of views across all channel videos
thumbnailstringoptional
URL to channel thumbnail
bannerstringoptional
URL to channel banner
400Returned when the request is invalid; the response includes an error code, message, and details.
errorstringrequired
Error code identifying the type of error
messagestringrequired
Human readable error message
detailsstringrequired
Detailed error description
documentationUrlstringoptional
URL to error documentation
404Returned when the requested YouTube channel cannot be found; the response includes an error code, message, and details.
errorstringrequired
Error code identifying the type of error
messagestringrequired
Human readable error message
detailsstringrequired
Detailed error description
documentationUrlstringoptional
URL to error documentation
500Returned when an internal error occurs; the response includes an error code, message, and details.
errorstringrequired
Error code identifying the type of error
messagestringrequired
Human readable error message
detailsstringrequired
Detailed error description
documentationUrlstringoptional
URL to error documentation
Error handling
A 400 is returned when the request is invalid. A 404 is returned when the channel identified by the id query parameter cannot be found. A 500 is returned when an internal error occurs; use the error response's message and details to diagnose the issue.