Social Media
YouTube Comment Replies
List the replies to a YouTube comment — reply id, text, like count, author, and publish time — with pagination, as JSON.
POST/api/v1/youtube/comments/replies
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonvideo_idstringrequiredThe YouTube video id (11 characters).
Example: n61ULEU7CO0
reply_cursorstringrequiredThe reply cursor from a comment (reply_cursor on a Comments response item).
Example: Eg0SC242MVVMRVU3Q08wGAYygwEaUBIa...
cursorstringPagination cursor from a previous response (next_cursor). Keep passing it while has_more is true.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.youtube.comment_replies(
video_id="n61ULEU7CO0",
reply_cursor="Eg0SC242MVVMRVU3Q08wGAYygwEaUBIa...",
)
print(results)Response
"next_cursor": "Eg0SC242MVVMRVU3Q08wGAYyZQ",
"has_more": false
},
"response_time": 903,
"credits_used": 1,
"credits_remaining": 4753
}