Bilibili Bullet Comments: Export Danmaku with Timestamps

By Datapika · Tested

Bilibili

Actor: Bilibili Scraper (openclawai/bilibili-scraper on Apify)

Reads the danmaku, the bullet comments that fly across a Bilibili video, from a video link and returns each line's text, the second of the video it appears at and when it was posted, so you can see which moments get the strongest reactions.

Run on Apify
More ▾
View as Markdown

Run on Apify opens the actor. Paste the copied input into its JSON tab and press Start.

Tested on
November 26, 2026
Rows in the test
5
Run time
4 s
Test cost
$0.0050 (free plan)
Aa Text# Number◐ Boolean≡ List{} Object

Input

The exact input of the tested run.

  • Aamodedanmaku
  • ≡urlshttps://www.bilibili.com/video/BV1M1421t7hT
  • #maxItems2000

Output fields

Columns every row carries in this view.

  • AaDanmakucomment_text
  • #Second in videotime_sec
  • AaPostedcreated_at
  • #IDcomment_id

Sample results

The first rows of the test run on November 26, 2026. Emails and phone numbers are masked. JSON · CSV

DanmakuSecond in videoPostedID
真有这样的魔法就好了237.7392024-08-11T10:50:24+00:001646534636098445312
《对》206.4282024-08-11T10:51:16+00:001646535078077362944
最支持的一集!335.2882024-08-11T11:02:38+00:001646540795358250240
谢谢,第一次听到短信说话(bushi)69.932024-08-11T10:43:13+00:001646531025154614272
有泡面有润土必坏事2.6472024-08-11T10:49:25+00:001646534142948767488

How it works

  1. 01

    Open the actor on Apify

    Click Copy input, then Run on Apify to open the Bilibili Scraper. Sign in or create a free account, open the JSON tab of the input form and paste the input.

  2. 02

    Start the "Bilibili Bullet Comments: Export Danmaku with Timestamps" task

    Press Start. Change any input field first if you need a different topic, account or size; the fields are listed above.

  3. 03

    Get the results

    Rows arrive in a dataset while the run works. Our test returned 5 rows in 4 seconds.

  4. 04

    Use the data

    Download JSON, CSV or Excel, call the run from the API, schedule it, or let an AI agent run it through MCP.

Run it from your tools

Send the results to a spreadsheet or app with Apify's integrations, call it from code, or let an AI agent run it.

No code

  • Zapier
  • Make
  • n8n
  • GSGoogle Sheets
  • SSlack
  • WWebhook

AI agents (MCP)

  • Claude
  • ChatGPT
  • Cursor
  • Gemini
  • Perplexity
  • LangChain
  • MCP
  • GitHub Copilot
{
  "mode": "danmaku",
  "urls": [
    "https://www.bilibili.com/video/BV1M1421t7hT"
  ],
  "maxItems": 2000
}

Paste it into the actor's JSON input tab on Apify.

Change it to fit your job

  • mode picks the job: search_videos, video_detail, video_comments, danmaku, subtitles, user_posts, trending and more.
  • Paste bilibili.com video links, BV ids or b23.tv short links in urls, one per line.
  • Raise maxItems for a bigger dataset; you pay per result delivered.

Close variants: Bilibili Comments: Export Comments and Replies · Bilibili Search: Find Videos by Keyword

FAQ

What is danmaku?

Danmaku are the bullet comments viewers post on Bilibili; they scroll across the video at the moment they refer to. Each row keeps that moment in seconds.

How many lines can I export?

maxItems caps each video, from 1 to 5,000 lines. Busy videos have thousands of danmaku, so raise it for a full export.

Do I need a Bilibili account?

No. It reads public Bilibili data with no login, cookie, Chinese phone number or API key. Run it from the Apify Console, the API, or an AI agent through MCP.

How much does it cost?

You pay per result delivered to your dataset: a video, a comment or a danmaku line. There is no start fee. The current prices are on the Pricing tab.

Data comes from public pages at run time; the sample above is one test run and results change with every run. The input JSON on this page is the exact input we tested: see Input above.