Bilibili Comments & Danmaku Scraper - B站 评论/弹幕 avatar

Bilibili Comments & Danmaku Scraper - B站 评论/弹幕

Pricing

from $0.50 / 1,000 comments

Go to Apify Store
Bilibili Comments & Danmaku Scraper - B站 评论/弹幕

Bilibili Comments & Danmaku Scraper - B站 评论/弹幕

Scrape Bilibili (哔哩哔哩) video comments, replies and danmaku bullet comments with likes, timestamps and user levels, plus each video's views, likes and coins.

Pricing

from $0.50 / 1,000 comments

Rating

0.0

(0)

Developer

Seemu Scraping

Seemu Scraping

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

14 days ago

Last modified

Categories

Features

Limited permissions

Share

Export the comments, replies and danmaku (弹幕, the bullet comments that fly across the video) of any Bilibili (哔哩哔哩) video, without a login. Every run also returns the video's views, likes, coins, favorites and shares. Export to JSON, CSV, Excel or Google Sheets.

What you get

One summary row per video (rowType: "video"): title, description, cover, publish date, duration, tags, views, likes, coins, favorites, shares, comment and danmaku totals, and the uploader's name, UID and follower count.

Comments and replies (rowType: "comment" / "reply"):

  • Comment text, attached images, likes, reply count, post time and IP location (IP属地)
  • Pinned flag, liked-by-uploader flag and whether the uploader wrote it
  • Commenter name, UID, profile URL, avatar, account level (Lv0–6) and 大会员 VIP status
  • Replies carry the ID of the comment they answer, so threads can be rebuilt

Danmaku (rowType: "danmaku"):

  • Danmaku text and the second of the video it appears at
  • When it was sent, display mode (scroll / top / bottom), color and font size
  • An anonymous sender hash, so you can count unique senders

Use cases

  • Audience sentiment analysis: see what viewers say in comments and how they react moment by moment in danmaku
  • Content and highlight research: find the exact seconds of a video that get the most danmaku
  • Brand and campaign monitoring: collect reactions to sponsored videos and product placements on Bilibili
  • Influencer vetting: check comment quality, engagement and real audience reaction before working with an UP主
  • Market research on Chinese Gen Z: gather real opinions on games, anime, tech and consumer brands

How to use

  1. Paste one or more Videos: https://www.bilibili.com/video/BV… URLs, b23.tv share links, BV ids or av ids
  2. Set Max comments per video (most popular first; 0 = none)
  3. Optionally turn on Include replies and set Max replies per comment
  4. Keep Include danmaku on and set Max danmaku per video (0 = everything Bilibili returns)
  5. Run the actor and open the Dataset tab; the Comments, Danmaku and Videos views split the row types

Output example

{
"rowType": "comment",
"commentId": "3760801399",
"videoId": "BV1GJ411x7h7",
"text": "坏消息:被骗了\n好消息:真好听",
"likes": 775532,
"replyCount": 2279,
"createdAt": "2020-11-29T12:26:45.000Z",
"ipLocation": null,
"isPinned": false,
"authorName": "老咸鱼A",
"authorId": "320773657",
"authorUrl": "https://space.bilibili.com/320773657",
"authorLevel": 6,
"authorIsVip": false
}
{
"rowType": "danmaku",
"danmakuId": "45399252391690247",
"videoId": "BV1GJ411x7h7",
"part": 1,
"text": "《哥 斯 拉 大 战 金 刚 秘 密 片 段》",
"videoTimeSeconds": 0,
"sentAt": "2021-02-19T11:32:56.000Z",
"displayMode": "top",
"color": "#ffffff",
"fontSize": 25,
"senderHash": "8c4702e5"
}

FAQ

Do I need a Bilibili account? No.

How many danmaku can I get? Bilibili serves the most recent ~1,000 danmaku of each video part (a multi-part video gives that much per part). Older danmaku beyond that pool aren't available.

Which comments come first? Bilibili's popular order (热门评论), with pinned comments at the top.

Why is ipLocation empty on some comments? Bilibili only shows IP location on comments posted since mid-2022.