Bilibili Scraper: Videos, Comments, Danmaku & Creators
Pricing
Pay per event
Bilibili Scraper: Videos, Comments, Danmaku & Creators
Scrape Bilibili (哔哩哔哩) without login: keyword search, video stats, comments and replies, danmaku with per-minute heatmap, creator profiles and uploads, and trending videos.
Pricing
Pay per event
Rating
0.0
(0)
Developer
SinoData
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
Bilibili Scraper: Videos, Comments, Danmaku & Creators (哔哩哔哩)
Extract public data from Bilibili (哔哩哔哩, B站), China's largest video community for Gen Z, anime, gaming, tech reviews and education. No login, no cookies, no browser. Fast HTTP requests against Bilibili's own web APIs.
What you can scrape
| Source | What you get |
|---|---|
| Keyword search | Videos for any keyword (Chinese or English), sortable by relevance, views, newest, danmaku, favorites or comments, filterable by length |
| Video URLs | Full stats: views, likes, coins, favorites, shares, danmaku and comment counts, tags, category, duration, cover, author |
| Comments | Top comments and their full reply threads, with likes, reply counts, author name and level |
| Danmaku (弹幕) | The bullet comments shown over the video, with timestamp and color, plus a per-minute activity profile and peak minute |
| Creators (UP主) | Profile (followers, total likes, video count, verification) and their latest uploads |
| Popular | Bilibili's current popular list (综合热门) with recommendation reasons |
Use cases
- Brand and product monitoring in China: see how a launch (iPhone, EV, game, cosmetics) is reviewed by Chinese creators and viewers.
- KOL / influencer discovery: find creators by keyword, compare followers and engagement before a campaign.
- Market research and sentiment: collect comments and danmaku for NLP, sentiment or topic analysis.
- Content strategy: find which video lengths, titles and tags get the most views in a niche.
- Academic research on Chinese internet culture.
How to use
- Add one or more search keywords, video URLs, creator URLs, or turn on Popular videos.
- Choose how many videos per source, and whether to include comments and danmaku.
- Run, then download the results as JSON, CSV, Excel or via API.
Accepted video inputs: https://www.bilibili.com/video/BV1GJ411x7h7, b23.tv short links, BV1GJ411x7h7, av170001.
Accepted creator inputs: https://space.bilibili.com/946974 or 946974.
Example input
{"searchQueries": ["iPhone 17 测评"],"maxVideosPerSource": 50,"searchSort": "click","fetchFullVideoDetails": true,"includeComments": true,"maxCommentsPerVideo": 100,"includeCommentReplies": true}
Output
Every record has a type field: video, comment, danmaku or creator. Use the Videos and Comments views in the dataset tab, or filter by type when exporting.
Video
{"type": "video","bvid": "BV1GJ411x7h7","url": "https://www.bilibili.com/video/BV1GJ411x7h7","title": "...","authorName": "...","authorMid": 946974,"views": 1234567,"likes": 45678,"coins": 12345,"favorites": 23456,"shares": 3456,"danmakuCount": 7890,"commentCount": 4567,"publishedAt": "2025-09-12T10:00:00.000Z","durationSeconds": 612,"category": "数码","tags": ["iPhone", "测评"]}
Comment
{"type": "comment","videoBvid": "BV1GJ411x7h7","text": "...","likes": 321,"replyCount": 12,"authorName": "...","authorLevel": 6,"createdAt": "2025-09-12T12:00:00.000Z","parentRpid": null}
Danmaku
{"type": "danmaku","videoBvid": "BV1GJ411x7h7","totalReturned": 1500,"peakMinute": 3,"peakMinuteCount": 240,"perMinute": { "0": 120, "1": 80, "3": 240 },"danmaku": [{ "timeSeconds": 3.2, "text": "前排", "color": "#ffffff", "sentAt": "2025-09-12T10:05:00.000Z" }]}
Pricing
Pay only for results:
| Event | Price |
|---|---|
| Video | $0.004 |
| Creator profile | $0.004 |
| Comment | $0.001 |
| Danmaku set (one per video, up to 10,000 danmaku) | $0.004 |
1,000 videos with full stats cost $4. The run stops cleanly when it reaches the maximum cost you set.
Notes and limits
- Only public data visible to a logged-out visitor is collected. Bilibili shows logged-out visitors only the top few (usually 3) top-level comments per video, but their reply threads are fully available, so with replies on (the default) you still get hundreds of comments from popular videos. Commenter IP location is not shown to logged-out visitors, so it is not included.
- Bilibili serves a sample of danmaku (usually up to a few thousand per video) to the public XML endpoint, not the full history.
- Search returns at most 1,000 results per keyword (Bilibili's own limit). Use several specific keywords for broader coverage.
- If you run very large jobs and see many
-352/412errors in the log, enable Apify Proxy (residential) in the Advanced section. - Respect Bilibili's terms and applicable law, and don't use personal data (names, comments) for spam or harassment.
Feedback
Found a bug or need a field that's missing? Open an issue on the Issues tab and it will usually be fixed within a day or two.