Bilibili Scraper (B站): Search, Videos, Comments & Danmaku
Pricing
from $10.80 / 1,000 videos
Bilibili Scraper (B站): Search, Videos, Comments & Danmaku
Bilibili (哔哩哔哩, B站) scraper API, no login: search videos by keyword, full video stats (views, likes, coins, favorites, shares), comments and reply threads, danmaku (弹幕) with a per-minute heatmap, creator (UP主) profiles with new-upload monitoring, and popular videos. Export JSON, CSV or Excel.
Pricing
from $10.80 / 1,000 videos
Rating
0.0
(0)
Developer
SinoData
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
a day ago
Last modified
Categories
Features
Share
Bilibili Scraper (B站): 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 publish date, category (分区) and 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 |
| Creator search | Find creators by keyword for influencer discovery: up to 1,000 per keyword, sorted by followers, with level, verification (知名UP主…), live status and 3 recent videos; filter by minimum followers or verified only |
| Popular | Bilibili's current popular list (综合热门) with recommendation reasons |
| Ranking | Bilibili's site-wide ranking (排行榜, top 100, updated daily) with each video's rankingPosition |
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 / Ranking (排行榜).
- 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","searchCategory": "tech","publishedFrom": "2026-10-01","fetchFullVideoDetails": true,"includeComments": true,"maxCommentsPerVideo": 100,"includeCommentReplies": true}
Finding creators (UP主) by keyword
Add keywords to Find creators by keyword to get the creators Bilibili lists for them, sorted by followers by default:
{"creatorSearchQueries": ["数码", "美妆"],"maxCreatorsPerQuery": 50,"minFollowers": 100000}
{"type": "creator","mid": 29219103,"url": "https://space.bilibili.com/29219103","name": "Ryan玩数码","followers": 968201,"videoCount": 83,"level": 6,"verified": "bilibili 知名科技UP主","verifiedType": "personal","isLive": false,"recentVideos": [{ "bvid": "BV1XKxE63EdU", "title": "CHERRY竟然转型了?PIXIU68上手测评", "views": 30140, "publishedAt": "2026-10-28T11:30:00.000Z" }],"searchKeyword": "数码"}
Feed the url of the creators you pick into Creator URLs to get their full profile and videos.
Creator monitoring (new uploads only)
Track creators (UP主) and get only their new videos: add their space URLs to Creator URLs, turn on Only new videos from creators, and run the Actor on a Schedule (for example every hour).
- The first run returns each creator's latest videos (up to Max videos) and sets the baseline. After that, each run returns only videos uploaded since the previous run, marked
isNewUpload: true. - Turn off Save creator profile on every run to pay only for new videos.
- Comments and danmaku settings apply to the new videos too, so you can collect early reactions automatically.
- Runs that share a Memory name share one memory. The memory is kept in a key-value store called
bilibili-scraper-memoryin your own Apify account; delete it to start over.
{"creatorUrls": ["https://space.bilibili.com/946974"],"maxVideosPerSource": 5,"onlyNewCreatorVideos": true,"includeCreatorProfile": false,"memoryName": "my-creators"}
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.012 |
| Creator profile or creator search result | $0.012 |
| Comment | $0.003 |
| Danmaku set (one per video, up to 10,000 danmaku) | $0.02 |
1,000 videos with full stats cost $12. These prices apply from 14 November 2026. 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.
- Subtitles: Bilibili only serves subtitle text to logged-in users. With full details on, each video lists which subtitle languages exist (
subtitleLanguages), but not the subtitle text. - 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.
中文说明
抓取 B 站公开数据:视频信息(播放、点赞、投币等)、评论、弹幕、UP 主资料和视频列表,以及按关键词搜索 UP 主(按粉丝数排序,可设最低粉丝数、只要认证 UP 主),无需登录。按结果计费,可在 Apify 上直接运行或通过 API 调用,也可设置定时任务。有问题或需要新字段,请在 Issues 页面留言(中文、英文均可)。
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.