//YouTube Comments Scraper example\\
Top comments on Gangnam Style, 10 comments
The most liked comments on a video.
Updated October 21, 2026
Input
The input this example runs YouTube Comments Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.
- Video URLsstartUrls
- https://www.youtube.com/watch?v=9bZkp7q19f0
- Maximum comments per videomaxComments
- 10
- Sort comments bysortCommentsBy
- Top comments
.json
{
"startUrls": [
{
"url": "https://www.youtube.com/watch?v=9bZkp7q19f0"
}
],
"maxComments": 10,
"sortCommentsBy": "TOP_COMMENTS"
}The internet is full of data.
Start owning yours.
Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes. The advantage lasts forever.
No credit card. No setup calls.
The web's data, in your hands.
Powered by Evomi infrastructure.
Powered by Evomi infrastructure.
© 2026 TeraShift GmbH
All services online