YouTube Video Comments Scraper avatar

YouTube Video Comments Scraper

Pricing

from $0.20 / 1,000 results

Go to Apify Store
YouTube Video Comments Scraper

YouTube Video Comments Scraper

Fetch YouTube video comments and replies by video ID, sort order, and continuation token.

Pricing

from $0.20 / 1,000 results

Rating

0.0

(0)

Developer

Scrappa

Scrappa

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

YouTube API Video Comments

Fetch comments and reply threads for a YouTube video by video ID. The Actor supports YouTube comment sort order and continuation tokens for pagination.

Input

FieldTypeRequiredDescription
idstringYesYouTube video ID.
sortarrayNoSort order selected in Apify. One of TOP_COMMENTS or NEWEST_FIRST.
continuationstringNoPagination token for the next comments page.

Example Input

{
"id": "dQw4w9WgXcQ",
"sort": ["TOP_COMMENTS"]
}

Continue to the Next Page

{
"id": "dQw4w9WgXcQ",
"sort": ["NEWEST_FIRST"],
"continuation": "PASTE_CONTINUATION_TOKEN_FROM_PREVIOUS_RUN"
}

When the API returns a next-page token, the Actor logs it as Continuation token available for next page: ....

Output

The Actor stores one dataset item per top-level comment returned by the API. Fields typically include the comment text, author metadata, like counts, publish time, reply counts, and embedded replies when available.

Pricing

$0.30 per 1,000 results. No additional API keys required.

Support

For issues or questions, contact us through Apify.