Bilibili Scraper API – Danmaku Summary & Videos (B站弹幕) avatar

Bilibili Scraper API – Danmaku Summary & Videos (B站弹幕)

Pricing

from $1.70 / 1,000 rows scraped

Go to Apify Store
Bilibili Scraper API – Danmaku Summary & Videos (B站弹幕)

Bilibili Scraper API – Danmaku Summary & Videos (B站弹幕)

Paste Bilibili video URLs or BV IDs to export video stats and a danmaku summary with a peak minute and timed text samples. Summaries cover the public danmaku pool, which can be capped. No login.

Pricing

from $1.70 / 1,000 rows scraped

Rating

0.0

(0)

Developer

dheeraj kumar

dheeraj kumar

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

9 days ago

Last modified

Features

Limited permissions

Share

$2 per 1,000 rows (videos, comments, creators) plus $0.01 per danmaku summary and $0.001 per run (rows from $1.70 per 1,000 on Gold). No login.

Try a Bilibili danmaku summary

Compare audience reactions on two Bilibili (B站) videos about mechanical keyboards. Paste this video-detail input to collect video rows and one danmaku summary per video when available.

{"mode":"video_detail","videoUrls":["BV1qm41197pQ","BV1frJB64EQv"],"includeDanmaku":true,"danmakuSampleSize":5,"includeComments":false,"maxChargeUsd":0.05}

Three representative row excerpts. The video fields are from public video pages. The summary is from a documented export of the first video.

[
{"type":"video","bvid":"BV1qm41197pQ","title":"【收藏向】机械键盘保姆级入坑指南!看完就懂怎么选","danmakuCount":1303},
{"type":"danmaku","videoBvid":"BV1qm41197pQ","danmakuFetched":1101,"danmakuTotal":1303,"danmakuPoolCapped":true,"danmakuPeakMinute":4,"danmakuSample":[{"atSecond":4.8,"text":"不是还有个茶轴吗?"}]},
{"type":"video","bvid":"BV1frJB64EQv","title":"【双十一闭眼可入机械键盘】2026年双十一高性价比机械键盘选购推荐!…","danmakuCount":102}
]

This input costs $0.025 at list price when both videos and both summaries are delivered. That is $0.001 to start, $0.004 for two video rows and $0.02 for two summaries. The fourth row would be the second summary.

Find where viewers reacted

Danmaku (弹幕) are audience messages tied to a playback time. Use the peak minute to find a segment worth reviewing and the timed sample to understand what viewers wrote. The summary can include the public pool size, unique sender count, messages per minute and a sample of text at different times. A capped pool can cover only part of the video's displayed danmaku total. Keep the cap flag with the summary when comparing videos.

Add context to a video sample

Use keyword search to find videos by topic, or use the popular board to form a shortlist. The video detail mode adds fields such as views, likes, coins, favorites and shares when available. Use video_comments for discussion below a video. Set a top-level comment limit and optionally include replies. Creator profile mode returns available public statistics such as follower counts for a creator ID or profile URL.

Public access can yield partial output. Search returns at most about 1,000 videos per keyword. A subtitle availability flag can be present and subtitle text is outside coverage. For creator research, use public profiles for creator statistics and keyword search to discover videos.

For AI agents

Call this actor through the Apify MCP server. maxChargeUsd is this actor's cap. MCP callOptions.maxTotalChargeUsd is a separate platform cap; set both before a paid call. Do not use mode: "selftest" — it writes a maintenance record, not video rows.

List prices (unchanged): run start $0.001, each video, comment, reply, or creator $0.002, each danmaku summary $0.01. changesOnly adds $0.002 per new or changed row. AI labels add $0.0005 per labeled video. Five search rows are about $0.011. A risk-control error row is free.

outputFormat: "compact" also writes key OUTPUT_COMPACT (columnar-v1: columns, missing, rows). A cell equal to missing was absent. The dataset is the row fallback. Same rows, same price.

Search:

{ "mode": "search", "searchQueries": ["原神"], "maxResults": 5, "sortOrder": "totalrank", "maxChargeUsd": 1 }

Fields: type video, bvid, title, viewCount, likeCount, danmakuCount, replyCount, authorName, publishDate, url.

One video:

{ "mode": "video_detail", "videoUrls": ["BV1xx411c7mD"], "maxChargeUsd": 1 }

Adds coinCount, favoriteCount, shareCount, cid, parts, hasSubtitles.

Comments:

{ "mode": "video_comments", "videoUrls": ["BV1xx411c7mD"], "maxComments": 5, "includeReplies": false, "maxChargeUsd": 1 }

Fields: type comment or reply, text, likeCount, authorName, createdAt, videoBvid.

Popular:

{ "mode": "popular", "maxResults": 5, "maxChargeUsd": 1 }

Same video fields, source popular.

Creator:

{ "mode": "user_profile", "userIds": ["546195"], "maxChargeUsd": 1 }

Fields: type user, name, followers, videoCount, totalLikes, level, isVerified, profileUrl.

Danmaku summary (one row, $0.01, not one row per comment):

{ "mode": "video_detail", "videoUrls": ["BV1xx411c7mD"], "includeDanmaku": true, "danmakuSampleSize": 5, "maxChargeUsd": 1 }

Fields: type danmaku, danmakuFetched, danmakuPerMinute, danmakuPeakMinute, danmakuSample.

Pricing (pay per event)

EventPrice
Run start$0.001 per run
Row (video, comment, reply or creator)$0.002 ($2 per 1,000)
Danmaku summary (one row per video, only with includeDanmaku)$0.01

Error rows are free. Set maxChargeUsd (default $5) and the run stops cleanly before it goes over; rows already delivered are kept.

Example costs: 100 search results = $0.20. 10 videos × 50 comments = 510 rows ≈ $1.02. Danmaku summaries for 50 videos = $0.50.

Works on Apify’s Free plan — $5/mo platform usage, no credit card required to try. Per-row prices above are unchanged.

Apify Store plan discounts apply automatically (Row scraped: list $2.00, Bronze $1.90, Silver $1.80, Gold/Platinum/Diamond $1.70 per 1,000). The Store badge shows your plan’s rate; the prices above are the Free-plan list rates.

Run it on a schedule

Suggested frequency: daily for the trending board and keyword tracking, weekly for creator (UP主) stats. Monitor mode returns only new or changed rows.

To set it up: save your input as a Task in Apify Console, then add a Schedule. Send results where you work with Apify integrations: Google Sheets, Slack or email notifications, webhooks, Make / Zapier / n8n, or straight into an AI agent through the Apify MCP server. A run that can't get data is marked failed, so your alerts fire.

FAQ

Is there an official Bilibili API? Not for international developers. This actor gives you the same public data any visitor sees, as clean structured rows.

English or Chinese keywords? Bilibili indexes Chinese text. Searching 耐克 returns many more videos than "Nike".

How do I schedule it? Save your input as a Task in Apify Console, then add a Schedule (for example 0 8 * * * for daily at 8 AM).

Feedback

If the data helped, a short rating on the Reviews tab helps others find this actor. Something broke or missing a field? Open an issue on the Issues tab — we aim to reply within 24 hours.

关键词: B站爬虫, 哔哩哔哩采集, B站评论采集, 弹幕分析, B站热门, UP主数据, Bilibili API, Bilibili comments scraper, danmaku scraper.

Keywords: bilibili scraper, bilibili api, bilibili comments, danmaku scraper, B站, 哔哩哔哩, B站爬虫, B站评论采集, UP主数据, B站弹幕分析, Bilibili danmaku peak minute, Bilibili danmaku summary