Video comments

Bilibili Danmaku Scraper: export bullet comments from any video

Download the danmaku (弹幕) of any Bilibili video by URL or BV ID — the bullet comments that fly over the video. Each row has the text, the second of the video where it appears, time sent, display mode, color and font size, for all parts of multi-part videos, ready for sentiment and highlight analysis.

★ 5.0 rating · 3 reviews8 users91.7% successful runs (30 days)

What data you get

textDanmaku comment text
videoTimeSecond of the video where the comment appears
sentAtWhen the comment was sent
modeDisplay mode (scrolling, top, bottom)
colorComment color
fontSizeFont size
partVideo part (P1, P2…) for multi-part videos

How it works

  1. Open the scraper on Apify and sign up (free).
  2. Enter routes, dates and options in the form.
  3. Click Start and download results as JSON, CSV or Excel, or call the API.

Pricing

$0.02 per 1,000 rows

Pay per event: you are charged per danmaku comment returned; video, search and uploader rows are billed separately only if your input produces them. Set a cap per video and a run-wide maximum to control cost.

Apify gives $5 free credits every month — enough to test this scraper at no cost.

Example tasks

Ready-made inputs. Copy one into the scraper form or send it through the API.

Download danmaku from a Bilibili video

Up to 1,000 bullet comments with timestamps.

{
  "mode": "danmaku",
  "videoUrls": [
    "https://www.bilibili.com/video/BV1es411D7sW"
  ],
  "maxResultsPerInput": 1000
}
Run this task →

Export danmaku from all parts of a Bilibili video

Every part of a multi-part video, up to 5,000 comments.

{
  "mode": "danmaku",
  "videoUrls": [
    "BV1es411D7sW"
  ],
  "allParts": true,
  "maxResultsPerInput": 5000
}
Run this task →

Scrape bullet comments from several Bilibili videos

300 danmaku per video for two videos.

{
  "mode": "danmaku",
  "videoUrls": [
    "https://www.bilibili.com/video/BV1es411D7sW",
    "https://www.bilibili.com/video/BV1xx411c7mD"
  ],
  "maxResultsPerInput": 300,
  "maxItems": 600
}
Run this task →

Monitor new danmaku on a Bilibili video

Scheduled run that returns only new comments.

{
  "mode": "danmaku",
  "videoUrls": [
    "https://www.bilibili.com/video/BV1es411D7sW"
  ],
  "monitoringStoreName": "danmaku-watch",
  "maxResultsPerInput": 2000
}
Run this task →

Use cases

FAQ

What is danmaku?

Danmaku (弹幕) are bullet comments that viewers post at a specific moment of a Bilibili video and that scroll across the screen.

Does it cover multi-part videos?

Yes. Enable all parts to read P1, P2 and the rest instead of only the first part.

Do I need to log in?

No. Provide a video URL, BV ID or AV ID; no login or cookies are required.

Is it legal to scrape Bilibili danmaku?

The scraper collects publicly visible comments. Make sure your use complies with applicable laws, including Chinese data rules where relevant, and Bilibili's terms; analyze comments in aggregate and avoid profiling individual users.

How do I integrate the data?

Use the Apify API, Python or JavaScript clients, or Make, n8n, Zapier and Google Sheets.

More scrapers

Start exporting Bilibili danmaku

Run on Apify — free trial