youtube

Comments

Get top-level comments from a YouTube video, paginated at ~20 per page. Use the continuationToken from each response to load more. Maximum retrievable: ~1,000 comments with order=top or ~7,000 with order=newest. Note: YouTube's displayed comment count includes reply threads, so the total returned may be lower.

get/v1/scrape/youtube/video/comments

Request

  • Base URL: https://api.sociavault.com
  • URL: https://api.sociavault.com/v1/scrape/youtube/video/comments
  • Auth: API key in header X-API-Key

Query parameters

urlstring required
Example:https://www.youtube.com/watch?v=dQw4w9WgXcQ

YouTube video URL

continuationTokenstring
Example:4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB

Continuation token to get more comments. Get 'continuationToken' from previous response.

order'top' | 'newest'
Example:top

Order of comments

Response

Successful response

Changes

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