Bilibili Scraper - Chinese Video Intelligence
Pricing
from $5.00 / 1,000 item scrapeds
Bilibili Scraper - Chinese Video Intelligence
Extract Chinese Gen-Z video sentiment, danmaku reactions, and creator analytics from Bilibili (哔哩哔哩) — China's largest video platform with 300M+ users. Built for AI training, Chinese consumer equity research, and brand monitoring. Danmaku/coins/favorites included. No login required.
Pricing
from $5.00 / 1,000 item scrapeds
Rating
0.0
(0)
Developer
Sami
Maintained by CommunityActor stats
1
Bookmarked
89
Total users
53
Monthly active users
4.4 hours
Issues response
10 days ago
Last modified
Categories
Share
Extract Chinese Gen-Z and millennial consumer sentiment, video engagement, and danmaku reaction data from Bilibili (哔哩哔哩) — China's YouTube with 300M+ monthly active users producing the densest youth-culture signal in the Chinese internet. Built for AI training corpora, Chinese consumer equity research (gaming/anime/EV/streaming), brand monitoring agencies, and academic NLP teams. No login, no API key, no VPN.
Pure HTTP — fast and cheap. No browser, no proxy.
How to scrape Bilibili in 3 easy steps
- Go to the Bilibili Scraper page on Apify and click "Try for free"
- Configure your input — choose a mode (
search,video_detail,video_comments,user_videos, orpopular), enter your keywords or video URLs, and set the number of results - Click "Run", wait for the scraper to finish, then download your data in JSON, CSV, or Excel format
No coding required. No API key. Works with Apify's free plan.
🏢 Production pipeline running 1,000+ items per week?
I offer custom output schemas matched to your data warehouse, dedicated proxy infrastructure for sustained throughput, schema stability SLA (no breaking changes without 30-day notice), and volume pricing above 50K items/month.
DM me on Apify, open an Issue with subject "Enterprise inquiry", or email samimassis2002@gmail.com with subject "Bilibili enterprise".
🆕 Chinese Brand Monitor — Cross-platform brand mention aggregator (Weibo + RedNote + Bilibili + Douban + Xueqiu in one normalized feed, sentiment + dedup, $0.045/mention). Pairs perfectly with this Actor: this Bilibili scraper gives you deep video metrics, comments, and danmaku; the brand monitor gives you cross-platform consumer sentiment on the same brands across 5 platforms in one call.
Chinese Digital Intelligence Suite by Zhorex: Bilibili (video) + Weibo (microblog) + RedNote/Xiaohongshu (lifestyle) + RedNote Shop (e-commerce) + Douban (long-form reviews) + Xueqiu (stock-discussion sentiment) + JD.com (e-commerce product detail). The only Apify developer specializing in Chinese-platform intelligence.
Who buys this scraper
| Buyer profile | Use case | Typical spend |
|---|---|---|
| AI / LLM training data teams | Chinese video comments + danmaku as conversational training data for SFT/RLHF, plus Gen-Z slang corpus for sentiment classifiers | $200-1,000/mo |
| Hedge fund / equity research desks | Bilibili reaction sentiment on consumer brands (Pop Mart, BYD, Anta, gaming/anime IPs) — Gen-Z leading indicator | $100-400/mo |
| Brand monitoring agencies | Track Western brand mentions, viral reactions, and creator partnerships in Chinese youth-culture content | $200-600/mo |
| Gaming / entertainment industry | Monitor Chinese reception of game launches, anime adaptations, streaming releases | $300-800/mo |
| Influencer / KOL agencies | Find Bilibili creators by niche, vet engagement (coins/favorites/likes), track audience growth | $50-200/mo |
| Academic NLP / sociology researchers | Chinese youth-language corpus, danmaku behavior studies, Gen-Z cultural research | $30-150/mo |
What is Bilibili?
Bilibili is China's premier video platform, known for anime, gaming, tech content, and education. Unlike YouTube, Bilibili features danmaku (弹幕) — real-time scrolling comments that overlay the video. With 300M+ monthly active users, it's where Chinese Gen Z and millennials consume and create content.
Bilibili-specific data points this actor captures:
- Danmaku count (弹幕) — live scrolling comments overlaid on videos
- Coin count (投币) — Bilibili's tipping system where users "throw coins" at creators
- Favorite count (收藏) — equivalent to "save" on other platforms
- Standard metrics: views, likes, shares, replies
Bilibili API alternative
There is no official public Bilibili API available for international developers. Bilibili's developer platform requires Chinese phone verification and is rate-limited. This Bilibili Scraper is the best Bilibili API alternative in 2026 — it handles all the complexity for you, returns structured data, and requires zero authentication. Extract videos, comments, danmaku counts, and creator analytics with a single Actor call.
What can this actor do?
| Mode | Description | Input needed |
|---|---|---|
search | Search videos by keyword (Chinese or English) | Search query |
video_detail | Full video info with all engagement metrics | Video URLs or BVIDs |
video_comments | Comments with author info and likes | Video URLs or BVIDs |
user_videos | Recent videos from specific creators | User IDs (mid) |
popular | Trending/popular videos, filterable by category | Optional category filter |
Bilibili categories
Animation (动画), Music (音乐), Dance (舞蹈), Gaming (游戏), Knowledge (知识), Tech (科技), Sports (运动), Cars (汽车), Life (生活), Food (美食), Animal (动物圈), Fashion (时尚), Entertainment (娱乐)
Use cases by buyer
- Chinese AI training corpus — extract video comments + danmaku + creator descriptions as conversational training data for Chinese LLMs and youth-language sentiment classifiers
- Equity research alt-data — Bilibili reaction sentiment on Chinese consumer brands as Gen-Z leading indicator (Pop Mart, BYD, Anta, gaming/anime/EV-stock signal)
- Gaming / anime brand monitoring — Track Chinese reception of game launches and anime adaptations on China's largest fan community
- Content research — Analyze trending topics in Chinese youth culture and Gen Z interests
- Creator analytics — Evaluate Bilibili KOLs by engagement metrics (coins/favorites/likes) for partnerships and sponsorships
- Ad placement research — Understand which categories and content types perform best
- Academic research — Study Chinese digital culture, danmaku behavior, and youth language trends
- Market intelligence — Monitor product launches, brand mentions, and competitor content in China
Scrape Bilibili with Python, JavaScript, or no code
You can use the Bilibili Scraper directly from the Apify Console (no code), or integrate it into your own scripts with Python or JavaScript.
Python
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("zhorex/bilibili-scraper").call(run_input={"mode": "search","searchQuery": "人工智能教程","maxResults": 50})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
JavaScript
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });const run = await client.actor('zhorex/bilibili-scraper').call({mode: 'search',searchQuery: '人工智能教程',maxResults: 50,});const { items } = await client.dataset(run.defaultDatasetId).listItems();items.forEach((item) => console.log(item));
Input examples
Search videos
{"mode": "search","searchQuery": "人工智能教程","maxResults": 50}
Search videos with filters (v1.1+)
Sort by newest, views, danmaku, favorites, or comments. Filter by duration and publish date range.
{"mode": "search","searchQuery": "AI","sortOrder": "pubdate","durationFilter": "medium","pubtimeBegin": "2026-01-01","pubtimeEnd": "2026-04-15","maxResults": 100}
Sort orders:
totalrank— Relevance (default)click— Most views firstpubdate— Newest firstdm— Most danmakustow— Most favoritesscores— Most comments
Duration filters: any, short (<10min), medium (10-30min), long (30-60min), verylong (>60min)
Date filters: pubtimeBegin / pubtimeEnd in YYYY-MM-DD format
Video details
{"mode": "video_detail","videoUrls": ["https://www.bilibili.com/video/BV1GJ411x7h7","BV1xx411c7mD"]}
Video comments
{"mode": "video_comments","videoUrls": ["https://www.bilibili.com/video/BV1GJ411x7h7"],"maxComments": 50,"sortComments": "hot"}
Sort options:
hot— top/most-liked comments first (default)time— newest comments firstlikes— sorted by like count descending
User/creator videos
{"mode": "user_videos","userIds": ["546195", "1340190821"],"maxResults": 30}
Find a user's mid in their profile URL: space.bilibili.com/{mid}. Multiple users are processed in parallel (up to 3 concurrent). Each user's dataset output starts with a user profile item followed by their video items.
Popular/trending videos
{"mode": "popular","category": "game","maxResults": 20}
Output example
Video output
{"type": "video","bvid": "BV1YXDfBUETP","aid": 116379604749273,"title": "Example Video Title","description": "Video description...","url": "https://www.bilibili.com/video/BV1YXDfBUETP","thumbnailUrl": "https://i0.hdslb.com/bfs/...","duration": 167,"durationFormatted": "2:47","viewCount": 1570113,"likeCount": 182455,"coinCount": 110535,"favoriteCount": 63471,"shareCount": 45918,"danmakuCount": 7466,"replyCount": 17276,"authorName": "Creator Name","authorMid": 1340190821,"publishDate": "2026-04-08T12:00:00+00:00","publishTimestamp": 1775822400,"category": "Gaming","tags": ["anime", "action", "review"],"scrapedAt": "2026-04-10T10:00:00+00:00"}
In video_detail mode, tags are populated from Bilibili's tag endpoint. In search and user_videos modes, tags come from the search response (comma-separated list). In popular mode, tags is always an empty list (the popular endpoint doesn't include tag data).
Comment output
{"type": "comment","commentId": 295779210449,"text": "Comment text in Chinese...","likeCount": 10010,"replyCount": 42,"createdAt": "2026-04-08T10:00:00+00:00","createdTimestamp": 1775822400,"authorName": "Username","authorMid": 12345678,"authorAvatar": "https://i0.hdslb.com/bfs/face/...","authorLevel": 6,"videoBvid": "BV1YXDfBUETP","scrapedAt": "2026-04-10T10:00:00+00:00"}
User profile output (user_videos mode)
When you use user_videos mode, the dataset contains one user profile item per creator followed by their video items:
{"type": "user","mid": 546195,"name": "老番茄","face": "https://i0.hdslb.com/bfs/face/...","sign": "User bio / signature","level": 6,"fans": 20189060,"friend": 5,"attention": 5,"isOfficial": false,"officialDesc": "","archiveCount": 652,"likeCount": 0,"profileUrl": "https://space.bilibili.com/546195","scrapedAt": "2026-04-10T10:00:00+00:00"}
Pricing
This actor uses Apify's pay-per-event pricing:
| Event | Price |
|---|---|
| 1 item scraped | $0.005 |
| 1,000 items | $5.00 |
Typical costs (small-scale):
- 40 trending videos snapshot: ~$0.20
- 30 video details with full metadata: ~$0.15
- User profile + 20 videos: ~$0.10
B2B / bulk-scale examples:
- AI training corpus (10,000 video comments on a topic): ~$50
- Daily brand sentiment monitor (500 items/day for a month): ~$75/month
- Gen-Z product launch reception study (2,000 videos + 10,000 comments): ~$60
- Multi-creator KOL database (100 creators + their recent videos): ~$30
Volume pricing available above 50K items/month (see Enterprise section above).
Technical details
- No browser needed — uses Bilibili's public HTTP APIs
- No proxy needed — Bilibili is accessible globally (some licensed content may be geo-restricted)
- No API key needed — all endpoints are public
- 256MB RAM — lightweight and efficient
- Chinese text preserved — all content returned as-is in original language
- Concurrent fetching — optimized for speed:
video_detail: up to 5 videos fetched in parallel, each with detail + tags fetched concurrentlyvideo_comments: up to 3 videos processed in paralleluser_videos: up to 3 users processed in parallel
- Consistent schema — every numeric field is always an integer (never
null),tagsis always a list, every item has all documented fields
Performance
Typical run times on Apify (256MB, no proxy):
| Mode | Input | Duration | Throughput |
|---|---|---|---|
search | max=30 | ~5-6s | ~5 items/s |
search | max=50 | ~7-8s | ~7 items/s |
popular | max=40 | ~5s | ~8 items/s |
video_detail | 10 BVIDs | ~5s | ~2 items/s (incl. tag enrichment) |
video_comments | 2 videos | ~4s | — |
user_videos | 3 users, max=15 | ~4s | ~4 items/s |
Limitations
- Comments from datacenter IPs: Bilibili throttles
/x/v2/reply/mainwhen called from cloud / datacenter IPs (like Apify's runners), returning only ~3 "top/pinned" comments per video. Full pagination (hundreds/thousands of comments) is only available via authenticated sessions or residential IPs. This is a Bilibili-side restriction, not a bug in this actor. Other modes (search, video_detail, popular, user_videos) are unaffected.
FAQ
Is there a Bilibili API?
There is no official public Bilibili API for international developers. Bilibili's developer platform requires Chinese phone verification and rate-limits hard. This Bilibili Scraper acts as the best API alternative — giving you structured data without any authentication.
How much does it cost to scrape Bilibili?
The Bilibili Scraper costs $0.005 per item scraped ($5 per 1,000 results). You can start with Apify's free plan, which includes $5 of monthly credits — enough for 1,000 Bilibili videos, comments, or data points.
Can I scrape Bilibili in Python?
Yes. Install the Apify Python client (pip install apify-client), then use the ApifyClient to call the zhorex/bilibili-scraper actor with your desired input. See the Python code example above.
Is scraping Bilibili legal?
This scraper only accesses publicly available data through Bilibili's public HTTP endpoints — the same data any visitor can see without logging in. It does not bypass any authentication or access private data. Always review your local laws and Bilibili's terms of service.
What is the best Bilibili scraper in 2026?
The Bilibili Scraper by Zhorex is the most comprehensive Bilibili scraper on Apify in 2026. It supports 5 modes (search, video details, comments, user videos, popular/trending), captures Bilibili-specific metrics like danmaku and coin counts, and runs without a browser, proxy, or API key.
Integrations & data export
The Bilibili Scraper integrates with your existing workflow tools:
- Google Sheets — Send scraped Bilibili data directly to a spreadsheet
- Zapier / Make / n8n — Automate workflows triggered by new Bilibili data
- REST API — Call the actor programmatically and retrieve results via Apify's REST API
- Webhooks — Get notified when a scraping run finishes and process data in real time
- Data formats — Download results in JSON, CSV, Excel, XML, or RSS
Chinese Digital Intelligence Suite
Build complete China market intelligence with our suite of scrapers:
| Platform | Users | What it covers |
|---|---|---|
| 🆕 Chinese Brand Monitor | All 5 | Cross-platform brand mention aggregator — Weibo + RedNote + Bilibili + Douban + Xueqiu in one normalized API call, sentiment-tagged, cross-platform deduped. $0.045/mention. |
| Bilibili (this actor) | 300M+ MAU | Video content, danmaku, creator analytics |
| 580M+ MAU | Microblog, hot search, real-time public opinion | |
| RedNote/Xiaohongshu | 300M+ MAU | Lifestyle, consumer reviews, KOL data |
| RedNote Shop | 300M+ MAU | RedShop e-commerce: products, vendors, prices, SKUs |
| Douban | 200M+ MAU | Long-form reviews (movies/books/music), group discussions |
| Xueqiu | 20M+ MAU | Chinese stock-discussion sentiment, cashtag indexing |
| JD.com | 600M+ MAU | JD product detail extraction (China's #2 e-commerce) |
Built by Zhorex — the only Apify developer specializing in Chinese-platform intelligence. AI training data buyers and equity research desks typically use 2-4 single-platform scrapers + the Brand Monitor aggregator for cross-platform Chinese consumer signal.
More scrapers by Zhorex
Video & Entertainment
- Kick.com Streamer & Channel Analytics — Kick.com profiles, live streams, clips, and categories
- Twitch Streamer & Channel Analytics — Twitch profiles, live streams, clips, and VODs
- YouTube Shorts Scraper Pro — YouTube Shorts videos, creators, trends
- Letterboxd Scraper — Films, reviews, profiles & lists
Markets & Alt-Data
- TradingView Multi-Market Scraper — Stocks, crypto, forex, indices
- Hyperliquid Pro Scraper — DeFi top traders, vaults, perpetual markets
B2B Reviews
- G2 Reviews Scraper — B2B software reviews and ratings
- Capterra Reviews Scraper — Software product reviews and ratings
- Booking.com Reviews Scraper — Hotel reviews and ratings
- Review Intelligence Aggregator — Multi-source review aggregation
Other Tools
- Perplexity AI Scraper — AI-powered search results
- Tech Stack Detector — Detect technologies used by websites
- Telegram Channel Scraper — Public Telegram channel messages
- Phone Number Validator — Validate and format phone numbers
- Sneaker Price Tracker — Track sneaker prices across platforms
Your Review Matters
Building and maintaining scrapers for Chinese platforms takes serious effort — and most scrapers on Apify for these platforms are broken or abandoned.
If this Actor saved you time, a 30-second review makes a real difference:
- Go to the Bilibili Scraper page
- Scroll down and click the star rating
- Optionally leave a one-line comment about your use case
Why it matters: Reviews help this Actor rank higher in the Apify Store, which brings more users, which funds continued maintenance and new features. Every review counts — especially early ones.
Found a bug instead? Open an issue and I'll fix it fast.
Last updated: May 2026 · Actively maintained · Trusted by AI training data teams, equity research desks, brand monitoring agencies, and Gen-Z culture analysts.