YouTube Channel Comments - Data API Endpoint

Channel Comments by channel id, youtube api key, pagination token, part, limit and order.


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

✏️ Inputs

Channel ID channel_id Required

The channel ID to look up. For example, in the URL https://www.youtube.com/channel/UCArmutk8nAbYQdaYzgqKOwA/ the channel ID would be UCArmutk8nAbYQdaYzgqKOwA. If you only know the username (the URL doesn’t contain /channel/), then see the YouTube User Channels endpiont to get the channel ID from the username.

E.g. UCArmutk8nAbYQdaYzgqKOwA
YouTube API Key auth_token Required

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

Pagination Token page_token Optional

Pagination token from the previous response. Leave this blank at first and then look for the nextPageToken value in the response’s root collection to get the next page of results.

E.g. QWRTSl9pMXBPTTB4Ulk1VVNxMFtPQjFrVEdMRFowbjhTdHFfaWdpUlBYVFBNLWFpc0M5Q3pPaXRTYXhKU1JKbDFsVjgxVDRQTjVYbUgxdw==
Part part Default id,snippet,replies

Part to return

Limit limit Optional

How many comments to return per request.

Order order Optional

Order to return the results back, either relevance or time.

📝 Notes

Get “comment threads associated with the specified channel” - YouTube Comments API

This will pass in the provided Channel ID as the allThreadsRelatedToChannelId input parameter.

Posted by steve on June 29, 2022, 6:31 a.m. 🚩  Report

⚡️ Endpoint

GET https://www.googleapis.com/youtube/v3/commentThreads?part={{part}}&key={{auth_token}}&pageToken={{page_token}}&order={{ order }}&maxResults={{ limit }}&allThreadsRelatedToChannelId={{channel_id}}

Body

None

Headers