Bilibili Scraper - Videos, Comments, Danmaku & Uploaders
Pricing
from $12.00 / 1,000 videos
Bilibili Scraper - Videos, Comments, Danmaku & Uploaders
Scrape Bilibili (哔哩哔哩) videos by keyword, URL, uploader or trending list. Get views, likes, coins, favorites, tags, uploader stats, comments and danmaku as JSON, CSV or Excel. Fast HTTP scraper, no browser.
Pricing
from $12.00 / 1,000 videos
Rating
0.0
(0)
Developer
bình minh trần
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a month ago
Last modified
Categories
Security
Limited permissionsShare
Bilibili Scraper: videos, comments, danmaku and uploaders (B站 / 哔哩哔哩)
Scrape Bilibili (bilibili.com, B站) without an API key. Search videos by keyword, pull full stats for any video URL, export every video of an uploader (UP主), grab the trending lists, and add comments and danmaku (弹幕 bullet comments). Export to JSON, CSV, Excel, or call it from your code, n8n, Make, Zapier or an AI agent (MCP).
It talks directly to Bilibili's own JSON endpoints with HTTP requests (no browser), so runs are fast and cheap. It handles Bilibili's guest cookies, WBI request signing and risk-control retries for you.
What you can scrape
| Source | Input | You get |
|---|---|---|
| 🔎 Keyword search | 原神, minecraft, AI ... | Videos ranked by relevance, views, newest, danmaku or favorites. Filter by publish date and length. |
| 🎬 Video URLs | bilibili.com/video/BV..., b23.tv/..., BV or av ids | Full stats: views, likes, coins, favorites, shares, danmaku and comment counts, tags, original or repost, parts. |
| 👤 Uploaders (UP主) | space.bilibili.com/946974, UID or exact name | Profile (followers, total likes, video count, level, verification) plus all their videos, newest first. |
| 🔥 Trending | Popular now (综合热门) or Must-watch (入站必刷) | The current trending feed with full stats. |
| 💬 Comments | toggle on | Comment text, likes, reply count, time, author name and level, with reply threads. |
| 📺 Danmaku | toggle on | Bullet comments with the exact second in the video, text, mode, color and send time. |
Why this scraper
- About 40% cheaper than the most-used Bilibili scraper on the Store: pay only for the records you get, no monthly rental.
- Complete video stats: coins, shares and tags are included when you turn on Fetch full video details (always on for video URLs).
- Full uploader history: lists every upload of a channel, not just the first page.
- Danmaku timeline: see which second of a video triggers reactions.
- Built to keep working: automatic session refresh and backoff when Bilibili rate-limits, checked daily by an automated health test.
- Privacy-minded: no avatars, gender, birthdays, IP-location strings or danmaku sender hashes are collected.
How to use it
- Click Try for free.
- Fill in at least one source: search keywords, video URLs, uploaders or a trending list.
- Optionally turn on Fetch full video details, Include comments or Include danmaku.
- Click Start and download the results from the Output tab (Videos, Uploaders, Comments and Danmaku views).
Input example
{"searchQueries": ["原神", "minecraft"],"uploaders": ["https://space.bilibili.com/946974"],"trending": "popular","maxResults": 100,"searchSortBy": "views","publishedAfter": "30 days","fetchFullDetails": true,"includeComments": true,"maxCommentsPerVideo": 50,"includeDanmaku": false}
Output
Every record has a type field: video, uploader, comment or danmaku.
Video
{"type": "video","bvid": "BV1Mh411m7sA","aid": 205295224,"cid": 331193425,"url": "https://www.bilibili.com/video/BV1Mh411m7sA","title": "床","description": "希望观众老爷喜欢这个系列!(希望你们喜欢,记得素质三连!)","coverUrl": "https://i2.hdslb.com/bfs/archive/09288341facb55813ab9db598127a90290984200.jpg","durationSec": 735,"publishedAt": "2021-04-30T04:19:31Z","category": "单机游戏","tags": ["MC", "我的世界", "MINECRAFT", "单机游戏", "小潮", "搞笑"],"views": 27083295,"likes": 633000,"coins": 158089,"favorites": 132050,"shares": 14337,"danmakuCount": 116564,"commentCount": 5013,"isOriginal": true,"partsCount": 1,"uploaderMid": 5970160,"uploaderName": "小潮院长","uploaderUrl": "https://space.bilibili.com/5970160","uploaderFollowers": 15637522,"source": "search","searchQuery": "minecraft","position": 1,"detailLevel": "full","scrapedAt": "2026-10-03T11:01:27Z"}
detailLevel tells you how complete the stats are: full (all fields), listing (trending lists, no tags) or basic (search and uploader lists without Fetch full video details: no coins, shares or follower count). category comes from search and trending lists; Bilibili no longer returns it for videos found through an uploader or a direct URL, so it is null there.
Uploader
{"type": "uploader","mid": 946974,"url": "https://space.bilibili.com/946974","name": "影视飓风","bio": "无限进步!...","followers": 18531116,"following": 686,"videoCount": 947,"articleCount": 0,"totalLikes": 128163426,"level": 6,"verifiedTitle": "2025百大UP主、2023年度最高人气奖UP主、课堂优质讲师","scrapedAt": "2026-10-03T10:52:11Z"}
Comment
{"type": "comment","videoBvid": "BV14JHq66E3p","videoAid": 117377396115743,"commentId": 319499068928,"rootId": 315919146657,"parentId": 315919146657,"isReply": true,"text": "这套真是 太美了","likes": 0,"replyCount": 0,"postedAt": "2026-10-03T14:37:47Z","authorName": "咸鱼捞月月月月eve","authorMid": 22425123,"authorLevel": 6,"scrapedAt": "2026-10-03T10:52:34Z"}
Danmaku
{"type": "danmaku","videoBvid": "BV14JHq66E3p","cid": 42431218197,"timeSec": 0.792,"text": "啊啊啊啊啊啊","mode": "scroll","fontSize": 25,"color": "#ffffff","sentAt": "2026-10-03T14:46:57Z","scrapedAt": "2026-10-03T10:52:35Z"}
Pricing
Pay per result, no subscription. You are only charged for records that land in your dataset.
| Record | Price |
|---|---|
| Video | $12.00 per 1,000 |
| Uploader profile | $12.00 per 1,000 |
| Comment or reply | $12.00 per 1,000 |
| Danmaku line | $2.00 per 1,000 |
The exact current prices are always shown on the Pricing tab. Set Maximum cost per run in the run options and the scraper stops cleanly when it is reached.
FAQ
Why do I only get a few comments per video?
Bilibili shows guests (logged-out visitors) only the top few comments of each video, plus the replies under them. To get the full comment list, paste the SESSDATA cookie of your own Bilibili account into the SESSDATA cookie field. It is stored encrypted and only sent to bilibili.com. A free Bilibili account is enough.
Can I get more than 1,000 search results for a keyword? Bilibili itself stops search at 1,000 results (50 pages). Split the period with Published after / Published before, or use several related keywords.
How many danmaku can I get? Bilibili serves the current danmaku pool of each video, usually up to a few thousand lines depending on video length.
Do I need a proxy? Usually not. Bilibili limits how much one IP can fetch in a short time (roughly a few hundred requests). The scraper paces itself, pauses everyone together when Bilibili pushes back, and if the direct IP gets hard-blocked it automatically continues through Apify Proxy. If Bilibili still blocks for more than 5 minutes, the run stops early and keeps everything it already scraped, so you never pay for a stuck run. For very large jobs (thousands of videos with full details, comments and danmaku), enable Apify Proxy in the Advanced section from the start, or split the job into several runs.
Is scraping Bilibili legal? This Actor only collects publicly visible data and leaves out personal details such as avatars, gender, birthdays and location. You are responsible for how you use the data; check Bilibili's terms and the data protection laws that apply to you (GDPR, PIPL...), especially for comment author names.
Can I use it from code or an AI agent? Yes. Use the Apify API (Python and JavaScript clients), the integrations (Make, Zapier, n8n, Google Sheets, webhooks), or call it as a tool through the Apify MCP server.
Feedback
Found a bug or need another Bilibili field? Open an issue on the Issues tab, it is usually fixed within a few days.