ScrapeMole Apify Store
Home / Use cases / YouTube comments export

Export YouTube comments to CSV, Excel or JSON

Paste one or many video or Short URLs and download every public comment as a spreadsheet or JSON: comment text, likes, reply count, approximate date, and pinned, edited, hearted and by-creator flags. Replies are optional. Commenter names are not collected.

$1.00 per 1,000 comments· Apify Free plan price · failed items are free · no API key

What it does

01

Bulk videos

Any number of video or Short URLs per run, with a cap per video and an optional cap for the whole run.

02

Top or newest

Sort like YouTube does, keep only comments newer than a date, or only those above a like threshold.

03

Replies

Optionally include replies under each comment, linked by parentCommentId.

04

Any export format

Download the dataset as CSV, Excel, JSON or XML from Apify, or pull it over the API into Sheets, n8n, Make or Zapier.

Who uses it

  • Sentiment and topic analysis of an audience
  • Finding product feedback, feature requests and FAQ ideas under your own or competitor videos
  • Giveaway and community moderation exports

Sample output

Real rows from our own recent runs of the Actor on Apify, unedited apart from trimming long text and arrays. Every row also has status and scrapedAt.

Top 3 comments on a 3Blue1Brown video

Input {"videos":["https://www.youtube.com/watch?v=aircAruvnKk"],"maxComments":3,"sortBy":"top"} · run G81ZgdVl0vAb3vXlw on build 0.1.14 · 25 November 2026

[
  {
    "status": "ok",
    "type": "comment",
    "videoId": "aircAruvnKk",
    "videoUrl": "https://www.youtube.com/watch?v=aircAruvnKk",
    "videoTitle": "But what is a neural network? | Deep learning chapter 1",
    "videoChannelName": "3Blue1Brown",
    "totalCommentsOnVideo": 9630,
    "sortBy": "top",
    "position": 1,
    "parentCommentId": null,
    "commentUrl": "https://www.youtube.com/watch?v=aircAruvnKk&lc=UgwTjSjSb3QH_WW4EiB4AaABAg",
    "commentId": "UgwTjSjSb3QH_WW4EiB4AaABAg",
    "text": "Wait... it's all math?",
    "publishedText": "2 years ago",
    "publishedAtApprox": "2024-11-24",
    "isEdited": false,
    "likeCount": 1800,
    "replyCount": 68,
    "isHeartedByCreator": false,
    "isByVideoCreator": false,
    "isPinned": false,
    "input": "https://www.youtube.com/watch?v=aircAruvnKk",
    "scrapedAt": "2026-11-25T11:33:25.023Z"
  },
  {
    "status": "ok",
    "type": "comment",
    "videoId": "aircAruvnKk",
    "videoUrl": "https://www.youtube.com/watch?v=aircAruvnKk",
    "videoTitle": "But what is a neural network? | Deep learning chapter 1",
    "videoChannelName": "3Blue1Brown",
    "totalCommentsOnVideo": 9630,
    "sortBy": "top",
    "position": 2,
    "parentCommentId": null,
    "commentUrl": "https://www.youtube.com/watch?v=aircAruvnKk&lc=Ugwjrf9gsokjLeQ7JW14AaABAg",
    "commentId": "Ugwjrf9gsokjLeQ7JW14AaABAg",
    "text": "In class : printf(\"Hello world\");\nThe exam :",
    "publishedText": "6 years ago (edited)",
    "publishedAtApprox": "2020-11-24",
    "isEdited": true,
    "likeCount": 3600,
    "replyCount": 51,
    "isHeartedByCreator": false,
    "isByVideoCreator": false,
    "isPinned": false,
    "input": "https://www.youtube.com/watch?v=aircAruvnKk",
    "scrapedAt": "2026-11-25T11:33:25.160Z"
  },
  {
    "status": "ok",
    "type": "comment",
    "videoId": "aircAruvnKk",
    "videoUrl": "https://www.youtube.com/watch?v=aircAruvnKk",
    "videoTitle": "But what is a neural network? | Deep learning chapter 1",
    "videoChannelName": "3Blue1Brown",
    "totalCommentsOnVideo": 9630,
    "sortBy": "top",
    "position": 3,
    "parentCommentId": null,
    "commentUrl": "https://www.youtube.com/watch?v=aircAruvnKk&lc=Ugxg7Exz-c2PBBDv28p4AaABAg",
    "commentId": "Ugxg7Exz-c2PBBDv28p4AaABAg",
    "text": "8 years ago and im learning this now😭😭😭😭💔💔",
    "publishedText": "3 months ago",
    "publishedAtApprox": "2026-08-26",
    "isEdited": false,
    "likeCount": 412,
    "replyCount": 19,
    "isHeartedByCreator": false,
    "isByVideoCreator": false,
    "isPinned": false,
    "input": "https://www.youtube.com/watch?v=aircAruvnKk",
    "scrapedAt": "2026-11-25T11:33:25.233Z"
  }
]

Run it

Open the YouTube Comments Scraper in Apify Console, fill in the form and press Start, then export the results as JSON, CSV or Excel. Or call it from code with your Apify token (Console → Settings → API & Integrations):

# Run the Actor and get the rows back as JSON (add &format=csv for CSV)
curl -sS -X POST \
  "https://api.apify.com/v2/acts/scrapemole~youtube-comments-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"videos":["https://www.youtube.com/watch?v=aircAruvnKk"],"maxComments":500,"sortBy":"top","includeReplies":false}'

Works the same from Python (apify-client), n8n, Make, Zapier and the Apify MCP server for Claude, Cursor and other agents.

YouTube Comments Scraper by ScrapeMole on the Apify Store. Apify's free monthly credit covers a first test run.

Open on Apify ↗

Pricing

Pay per result, as listed on the Apify Store (read 30 Nov 2026). Prices per 1,000 results by Apify plan; failed items are not charged.

EventFree planStarterScaleBusiness
Comment or reply
One public comment or reply with text, likes, reply count, date and flags. Not charged for videos with comments off, private/deleted videos or invalid links.
$1.00$0.80$0.60$0.50

Plus Apify's standard Actor start event: $0.00005 per run per GB of memory.

FAQ

How do I get a CSV?

Run the Actor, open the run's Storage tab and pick CSV or Excel. Over the API, add format=csv to the dataset items URL.

Why no commenter names?

We keep personal data out of the output. You get the public text and engagement numbers, which is what analysis needs.

Videos with comments turned off?

They return an error row and are not charged.