Bilibili Danmaku Scraper - Full Bullet Comments, No Login
Pricing
from $0.70 / 1,000 danmakus
Bilibili Danmaku Scraper - Full Bullet Comments, No Login
Download the complete danmaku (弹幕, bullet comments) of any Bilibili video: text, video time, color, send time and sender hash, every part and segment. No login, no API key.
Pricing
from $0.70 / 1,000 danmakus
Rating
0.0
(0)
Developer
Mayowa Ogedengbe
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
13 days ago
Last modified
Categories
Share
Bilibili Danmaku Scraper: Full Bullet Comments (No Login)
Download the complete danmaku (弹幕, bullet comments) of any Bilibili video, without an account: every comment that flies across the video, with the exact second it appears, its text, color, position mode, send time and the sender's hash. All parts of multi-part videos, every segment of long videos.
- Complete, not a sample. Bilibili's old XML danmaku file is capped (often 1,000–3,000). This Actor reads the segmented danmaku feed the player itself uses, six minutes at a time, so long videos come back in full.
- Any video link:
bilibili.com/video/...,b23.tvshort links, BV or av ids. Add?p=2to take one part only. - Analysis-ready: sorted by video time, with ISO timestamps, ready for sentiment, keyword or "hot moment" analysis.
- No login, no cookies, no API key.
Tested on the platform: 3 videos → 4,249 danmaku in 11 seconds, every request succeeding.
Input
{ "mode": "danmaku", "videoUrls": ["https://www.bilibili.com/video/BV1xx411c7XX", "https://b23.tv/AbCdEf1"], "maxDanmakuPerVideo": 20000 }
maxDanmakuPerVideo (default 5,000) caps each video, counted in video-time order. The same Actor can also search videos,
fetch video details and creators (mode: search, videos, creators): see the Bilibili Scraper.
Output sample
{"type": "danmaku","bvid": "BV1QmpE6aEA7","aid": 117421704741732,"cid": 42649978422,"part": 1,"danmakuId": "2219972847839986432","text": "传送门08:20","videoTimeSeconds": 0.0,"mode": 1,"fontSize": 25,"color": "#ffffff","sentAt": "2026-10-11T15:29:46Z","senderHash": "e33a9659","pool": 0,"weight": 10,"scrapedAt": "2026-10-12T08:00:00Z"}
mode: 1–3 scrolling, 4 bottom, 5 top, 7 advanced. senderHash is Bilibili's hashed sender id (the platform does not
expose usernames for danmaku). Field names are stable; a SUMMARY record lists counts and anything skipped.
Pricing
| Event | Price per 1,000 |
|---|---|
| Danmaku | $1.00 |
| Run start | $0.001 per run |
Higher Apify plans get automatic discounts. Example: a 30-minute video with ~3,600 danmaku ≈ $3.60; cap it with
maxDanmakuPerVideo if you only need a sample. Videos that do not exist are not charged.
API, n8n, Make
curl -X POST "https://api.apify.com/v2/acts/headply~bilibili-danmaku-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \-H "Content-Type: application/json" \-d '{"mode":"danmaku","videoUrls":["BV1xx411c7XX"],"maxDanmakuPerVideo":5000}'
In n8n use the Apify node → Run actor and get dataset with actor headply/bilibili-danmaku-scraper.
FAQ and limits
- Is it every danmaku ever sent? It is everything Bilibili currently serves for the video. Bilibili's
danmakucounter on the video page also counts deleted or expired ones, so it can be higher than what any viewer sees. - Comments (评论)? Not included: Bilibili shows only 3 comments per video to logged-out visitors.
- Account needed? No.
Related
- Bilibili Scraper: search videos by keyword, video details, creators and their uploads.