ScrapeCreators icon

ScrapeCreators

Scrape data from various social media platforms using ScrapeCreators API

YouTube → Get Comments

AI-generated

Summary

Retrieve comments from a YouTube video

Inputs

  • url (required) — The URL of the YouTube video to get comments from. Can only get 1k top comments and about 7k new comments.
  • order — Order of comments. Defaults to 'top'; use 'newest' for reverse chronological order.
  • continuationToken — Continuation token to get more comments. Get 'continuationToken' from previous response.

Output shape

Comments data from the specified YouTube video, paginated via continuationToken if needed.

Limited to 1k top comments or ~7k new comments per request. All parameters are passed as query string to the ScrapeCreators API endpoint GET /v1/youtube/video/comments.

Examples

Example 1: Get top comments for a video

url: 'https://www.youtube.com/watch?v=VIDEO_ID'

Example 2: Get newest comments with pagination

url: 'https://www.youtube.com/watch?v=VIDEO_ID', continuationToken: 'previous_token'

Links

Discussion