Bilibili Scraper Pro (B站)
Pricing
from $3.00 / 1,000 videos
Bilibili Scraper Pro (B站)
Pricing
from $3.00 / 1,000 videos
Rating
0.0
(0)
Developer
Stone Jade
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
Bilibili Scraper Pro — B站 videos, creators, trending, comments & danmaku API
Bilibili Scraper Pro extracts public data from Bilibili (哔哩哔哩 / B站), China's largest youth video and anime community, into clean JSON / CSV / Excel with consistent English field names, ISO‑8601 timestamps, full URLs and numeric stats. No login and no account or cookies to supply (the Actor uses an anonymous guest identifier internally, like a logged‑out visitor), no browser — fast and cheap.
✨ What you can scrape
| Source | Input | Output |
|---|---|---|
| 🔎 Keyword search | searchKeywords | Videos ranked by relevance / views / date / danmaku / favorites |
| 🎬 Videos | videoUrls (URL, BV id, av id) | Full video record incl. multi‑part (P) pages, coins, shares, subtitles flag |
| 📺 Creator uploads | userIds | Latest uploads with full stats |
| 👤 Creator profiles | profileUserIds | Followers, following, likes, video count, level, bio, verification (total views when public) |
| 🔥 Popular / trending | includePopular | 综合热门 board with recommendation reason |
| 🏆 Ranking boards | rankingCategoryIds (0 = all) | 排行榜 by category |
| 📅 Weekly must‑watch | includeWeeklyMustWatch | Latest 每周必看 issue |
| 🏷️ Tags & related | includeTags, includeRelated | Video tags; related videos embedded |
| 💬 Comments | includeComments | Top comments + their reply threads (see limits) |
| 🎞️ Danmaku (弹幕) | danmakuMode = raw / summary / both | Raw bullet comments, or a cheap per‑video summary: top terms, per‑minute density timeline, peak minute |
Every video row embeds uploader info (uploader.uid, name, avatarUrl, profileUrl) and a stats object (views, likes, coins, favorites, shares, comments, danmaku).
🧑💼 Use cases
- Market & trend research on Chinese youth culture, gaming, anime, tech
- Influencer (UP主) discovery and benchmarking — followers, engagement, upload cadence
- Brand monitoring and campaign tracking on Chinese social media
- Audience reaction analysis with danmaku density timelines (which moment went viral)
- Datasets for NLP / LLM research on Chinese user-generated text
⌨️ Input example
{"searchKeywords": ["原神", "AI"],"profileUserIds": ["546195"],"includePopular": true,"maxVideosPerSource": 50,"includeTags": true,"includeComments": true,"maxCommentsPerVideo": 100,"danmakuMode": "summary"}
Key limits (defaults)
| Parameter | Default | Range | Notes |
|---|---|---|---|
maxVideosPerSource | 5 | 1–1000 | per keyword / creator / board; small default keeps rate‑limited runs under ~3 min |
maxCommentsPerVideo | 20 | 1–10000 | includes replies |
maxDanmakuPerVideo | 500 | 1–10000 | raw mode only |
| Invalid inputs (unrecognised URLs, nothing to scrape, out‑of‑range limits) fail fast with a clear message and no charge for results. |
📤 Output examples
Video (abridged, from a test run):
{"type":"video","source":"uploads:546195","rank":1,"bvid":"BV1iqpt6cEMU","url":"https://www.bilibili.com/video/BV1iqpt6cEMU","title":"超市里……未检测到人脸……","durationSeconds":2893,"publishedAt":"2026-10-10T06:30:00.000Z","uploader":{"uid":546195,"name":"老番茄","profileUrl":"https://space.bilibili.com/546195"},"stats":{"views":2390666,"likes":205324,"coins":73686,"favorites":70730,"shares":4899,"comments":1795,"danmaku":10417}}
Danmaku summary: {"type":"danmaku-summary","bvid":"BV1iqpt6cEMU","total":7200,"perMinuteAvg":146.94,"peakMinute":0,"peakCount":529,"topTerms":[{"term":"哈哈哈哈","count":567},…],"timeline":[{"minute":0,"count":529},…]}
Creator profile (from a test run): {"type":"profile","uid":546195,"name":"老番茄","followers":20841233,"following":6,"likes":196033828,"videoCount":681,"level":6,"verification":{"type":0,"isVerified":true,"title":"2025百大UP主、…"},"totalVideoViews":null} — totalVideoViews is often unavailable without login.
The dataset has ready‑made views: Videos, Creator profiles, Comments, Danmaku. A run summary (counts, requests, rate‑limit hits, errors, final status) is saved to the key‑value store as OUTPUT.
⚠️ Honest limitations
- Comments: without login Bilibili returns only ~3 top‑level (hot) comments per video. The Actor paginates the full reply threads under those comments, so you typically get tens to a few thousand comments per popular video — not the complete comment section.
- Danmaku: the public pool is capped by Bilibili (roughly the most recent 1,000–8,000 per video part), so totals may be lower than the on‑video counter.
- AI summary is experimental and was not returned to anonymous requests in our tests.
- Unavailable videos (deleted / private / region‑restricted) are output as a basic row with
detailLevel: "minimal"andavailable: false, and that video row is not charged. Comments, raw danmaku and danmaku summaries scraped for such a video are still public data and are charged normally. - Bilibili rate‑limits aggressively (HTTP 412 / code ‑352). The Actor uses WBI signing, a global polite throttle (one request at a time), bounded retries with backoff, an overall deadline, and always saves partial results. A built-in proxy fallback is included in the price: requests go direct, and only after a 412 the Actor switches to Apify datacenter proxy, then residential proxy (capped per run; danmaku files never use residential). You can also supply your own proxy.
💰 Pricing (pay per event)
| Event name | What it is | Price | Per 1,000 |
|---|---|---|---|
video | one video row | $0.003 | $3.00 |
profile | one creator profile row | $0.003 | $3.00 |
comment | one comment or reply row | $0.0007 | $0.70 |
danmaku | one raw danmaku row | $0.0002 | $0.20 |
danmaku-summary | one per‑video danmaku summary | $0.005 | $5.00 |
What is not charged
- Invalid input (the run fails immediately with a clear message).
- The video row of an unavailable video (deleted / private / region‑restricted;
detailLevel: "minimal",available: false). Only that video row is free — comments, raw danmaku and a danmaku summary collected for it are charged as usual. - Danmaku summaries for videos with no public danmaku (
total: 0). - Duplicates (each video/comment/danmaku is output once per run).
- Proxy usage — the built‑in fallback is included in the event prices.
No start fee. Set Max total charge on a run to cap spend; the Actor stops gracefully when it is reached.
🆚 Why this Actor
| Bilibili Scraper Pro | Typical alternatives | |
|---|---|---|
| Sources | search, videos, creator uploads, creator profiles, popular, ranking boards, weekly must‑watch | usually a subset |
| Danmaku | raw rows and a cheap per‑video summary (top terms, density timeline) | raw rows or none |
| Tags, related videos, multi‑P pages | ✅ | often missing |
| Comment author privacy | none / hashed / public | usually always public |
| Rate‑limit handling | built‑in proxy fallback, included in price | often bring‑your‑own proxy |
| Failed / unavailable items | not charged | varies |
❓ FAQ
Do I need a Bilibili account or cookies? No. You don't supply any login or cookies; the Actor obtains an anonymous guest identifier (the same kind a logged‑out browser gets) and accesses only public data.
Why did I get fewer comments than the video shows? See limitations — anonymous access exposes only the hot comments and their replies.
How are comment authors handled? By default no author fields are output. hashed gives a pseudonymous id (HMAC with a random per‑run key: stable within one run, not reversible, not linkable across runs) plus author level; region is never output in hashed mode; public outputs public nickname/UID.
Do I need to configure a proxy? No. The built-in fallback (datacenter → residential) kicks in only when Bilibili rate-limits and is included in the event price. Supplying your own proxy disables it.
Can I scrape thousands of videos? Yes; search/uploads/popular are ~20–30 videos per request. Enrichment options (details, tags, related) add requests per video and slow things down.
Is it legal? / Disclaimer: This Actor only accesses publicly available data without logging in. You, the user, are solely responsible for how you use it, including compliance with Bilibili's Terms of Service, copyright in videos, comments and danmaku (user‑generated content), and privacy / data‑protection laws such as China's PIPL and the EU GDPR. Do not use the data to republish others' content or to profile individuals without a lawful basis. If in doubt, consult a lawyer.
🇨🇳 中文说明
Bilibili Scraper Pro 用于抓取 B站公开数据:关键词搜索、视频详情(含分P)、UP主投稿、UP主资料(粉丝、关注、获赞、播放、等级、认证)、综合热门、排行榜、每周必看、标签、相关推荐、评论及楼中楼回复、弹幕(原始或汇总:高频词、每分钟密度、峰值)。
- 无需登录,也无需提供账号或 Cookie(Actor 内部使用匿名访客标识),仅抓取公开数据;输出字段为统一英文命名。
- 未登录状态下 B站每个视频只返回约 3 条热门评论,本工具会抓取这些评论下的全部回复,但无法获取完整评论区。
- 默认不输出评论用户信息,可选择哈希或公开昵称。
- 内置代理回退(已含在价格中):仅在被 B站限流(412)后才依次切换到数据中心代理、住宅代理;弹幕文件不走住宅代理。
- 使用者需自行遵守 B站用户协议及《个人信息保护法》等法律法规。