Skip to content

Video Comments

Request

Returns a list of 20 YouTube video or live comments. To obtain the first comments page use cursor from Video Info endpoint.

Security
accessToken
Query
urlstringrequired

YouTube video page url i.e. https://www.youtube.com/watch?v={videoId}

Example:url=https://www.youtube.com/watch?v=4SNThp0YiU4
afterstring

Use cursor from the last page to get the next page

GET
/raw/youtube/video-comments
curl -i -X GET \
  'https://api.modash.io/v1/raw/youtube/video-comments?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4SNThp0YiU4&after=string' \
  -H 'Authorization: Bearer <YOUR_token_HERE>'

Responses

Bodyapplication/json
comments_listobjectrequired
successbooleanrequired
Response
{ "comments_list": { "comments": [], "cursor": "string" }, "success": true }