GroundsocialDocs

API · YouTube

GET /youtube/comments/replies

Replies to a YouTube comment, paginated.

RequestGET /v1/youtube/comments/replies
Operation idyoutube.comment.replies
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Replies to a YouTube comment, paginated.

Query parameters

NameTypeRequiredDescription
videostringnoThe video the comment is on (id or URL), with comment. Example: dQw4w9WgXcQ.
commentstringnoA top-level comment id, with video. Example: UgwPwTibxdgqCHZxktd4AaABAg.
afterstringnoA thread’s repliesToken, or the previous replies page’s nextPageToken.
textFormat"html" | "plainText"nohtml (default) or plainText. One of html, plainText.

Responses

StatusMeaningSchema
200A page of replies.YouTubeCommentList
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The video, channel, playlist or post does not exist, was removed, or has nothing there.Error
429Too many requests. Wait for Retry-After seconds.Error
503YouTube is temporarily unavailable. Retryable; nothing was charged.Error

YouTubeCommentList fields

FieldTypeDescription
kind"youtube#commentListResponse"
itemsYouTubeComment[]
nextPageTokenstringPass as after for the next page. Absent on the last page. Lasts 6 hours.
pageInfoobject

Errors use one shape everywhere; see Errors for every code and what to do.