youtube

YouTube video comments

Get a page of comments on a YouTube video by ID or link, top or newest first: text, commenter, likes, reply count, and the token that gets a comment's replies.

Price: $0.002 per call.

Give exactly one of id, url.

Links taken by url: long (https://www.youtube.com/watch?v=dQw4w9WgXcQ); short (https://youtu.be/dQw4w9WgXcQ).

20 items on a usual page, 20 at most. A cursor is valid for 3600 seconds.

get/v1/youtube/videos/comments/list

Request

  • Base URL
    https://api.dataxapi.com
  • Auth
    HTTP bearer

Query parameters

idstring

Video ID

urlstring

Link to the video: a watch, shorts, embed, live or youtu.be link

sort'popular' | 'latest'

Top comments first, or newest first

cursorstring

The next_cursor of the previous page. A new page is a new call.

view'compact' | 'standard' | 'full'

How much of each item: compact (the most used fields, long text cut short), standard, or full (adds ext).

fieldsstring[]

Return only these fields of each item, by path (author.name).

Response

OK

code'ok' required
request_idstring uuid required

Changes

No recorded changes to this operation across all 1 revision of this API.