Bilibili Scraper – Videos, Comments, Danmaku & Creators
Pricing
from $2.50 / 1,000 videos
Bilibili Scraper – Videos, Comments, Danmaku & Creators
Scrape Bilibili (哔哩哔哩) without login: search videos, full stats, comments, replies, danmaku, creator profiles and trending charts. Many sources in one run, monitor mode, from $0.002 per video.
Pricing
from $2.50 / 1,000 videos
Rating
0.0
(0)
Developer
Smoldesk Studios
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
Scrape Bilibili (哔哩哔哩) without login, cookies or an API key. Search videos by keyword, get full video stats (views, likes, coins, favorites, shares, danmaku and comment counts, tags, honors), creator profiles (followers, total likes, video count, verification), danmaku (弹幕) with the second of the video each one appears at, top comments and reply threads, and Bilibili's trending feed and category rankings.
Mix sources in one run: keywords, video links, creators and trending together. Results are deduplicated across sources. $2.50 per 1,000 videos, about 8x cheaper than the most-used Bilibili scraper, with no monthly fee.
What you can use it for
- Chinese market & brand research: what Gen-Z China watches and says about a brand, game, car or gadget.
- Influencer (KOL / UP主) discovery: shortlist creators by followers, total likes and verification, then pull their latest uploads.
- Content & trend tracking: daily snapshots of the hot feed or a category's top 100 ranking.
- Audience reaction analysis: danmaku show exactly which second of a video people react to.
- AI / NLP datasets: Chinese titles, descriptions, tags, comments and danmaku with clean text, ready for sentiment analysis or RAG.
- Monitoring: schedule it with Only new videos to get a feed of new uploads for a keyword or creator.
How to scrape Bilibili
- Create a free Apify account (no credit card needed to start) and open this Actor.
- Pick sources. Add Search keywords, Video URLs or IDs, Creators (UID or profile URL) or turn on Trending videos. You can mix them in one run.
- Set the limits. Max videos per keyword and Max videos per creator decide how much each source returns. Use Search sort, Video length and the date range to narrow it.
- Add detail (optional). Turn on Include comments, Include danmaku (弹幕) or leave Full video stats on for coins, favorites, shares and tags.
- Click Start. Results appear in the Output tab while it runs.
- Download or connect. Export as JSON, CSV, Excel or HTML, or read the dataset through the API, Make, Zapier, n8n, Google Sheets or a webhook.
- Automate it. Open Schedules, add a daily schedule and switch on Only new videos to get a feed of new uploads for a keyword or creator.
Tips
- Bilibili shows logged-out visitors only the top comments of a video; for audience reactions at scale use danmaku.
- Bilibili stops search at 1,000 results per keyword. Use date ranges or more specific keywords for more.
- Creator lists are paged slowly by Bilibili, so very large creator lists can take a few minutes.
Output: video
{"type": "video","bvid": "BV1g1C6Y2Ef3","aid": 113719929475294,"url": "https://www.bilibili.com/video/BV1g1C6Y2Ef3","title": "【4K】黑神话悟空全成就保姆级攻略【已完结】","description": "分P大合集来了,再次撒花!…","coverUrl": "https://i1.hdslb.com/bfs/archive/ee6abfa95da35ce4d1ccfd2802d42d42ab3f34ae.jpg","durationSeconds": 81532,"publishedAt": "2024-12-27T04:00:00+00:00","category": "单机游戏","tags": ["黑神话悟空", "攻略", "单机游戏", "4K"],"authorName": "爱玩的Kaka","authorId": 420269,"authorUrl": "https://space.bilibili.com/420269","authorFollowers": 40054,"views": 7755592,"likes": 58601,"coins": 59522,"favorites": 64965,"shares": 7123,"danmakuCount": 40033,"commentCount": 3795,"parts": 29,"honors": [],"rank": 1,"source": "search","searchQuery": "黑神话悟空","markdown": "# 【4K】黑神话悟空全成就保姆级攻略【已完结】\n\nby 爱玩的Kaka · 2024-12-27 · 7,755,592 views · 58,601 likes\n…","scrapedAt": "2026-10-15T09:58:35.745889+00:00"}
source tells you where the video came from: search, video, user, popular or ranking:<category>. rank is its position in that list.
Output: creator
{"type": "user","userId": 686127,"url": "https://space.bilibili.com/686127","name": "籽岷","bio": "为人民服务 新质成长力 AI游戏大玩家 MBTI:INFP","level": 6,"followers": 5467643,"following": 864,"videoCount": 6643,"totalLikes": 153404044,"verifiedTitle": "2025年度公益UP主、2024百大UP主、知名游戏UP主","isVerified": true,"isVip": true,"liveRoomUrl": "https://live.bilibili.com/544853","isLive": true,"tags": ["籽岷", "我的世界", "Minecraft", "单机游戏", "AI"]}
Output: danmaku (弹幕)
{"type": "danmaku","videoBvid": "BV1g1C6Y2Ef3","text": "在进入二周目前,先来跟着up检查一番","videoTimeSeconds": 0,"mode": "scroll","color": "#e2027f","sentAt": "2025-09-29T08:41:44+00:00","senderHash": "78600a8d","danmakuId": "1946527028350773504"}
Danmaku are sampled evenly across the whole video, not just the opening seconds, so you see reactions to every part.
Output: comment
{"type": "comment","videoBvid": "BV1g1C6Y2Ef3","commentId": "262717555232","text": "在黄花观金光苑土地庙打百眼魔君的boss战场地入口往左转…","likes": 1281,"replyCount": 39,"publishedAt": "2025-05-13T08:53:34+00:00","authorName": "凪卄难忘","authorId": 492922209,"authorLevel": 5,"authorIsVip": true,"isReply": false,"parentId": null,"isPinnedByUploader": true}
Input
{"searchQueries": ["人工智能", "minecraft"],"maxVideosPerSearch": 100,"searchSort": "views","publishedAfter": "2026-09-01","users": ["https://space.bilibili.com/686127"],"maxVideosPerUser": 50,"videoUrls": ["https://www.bilibili.com/video/BV1m5aY69E8D", "https://b23.tv/xxxxxx"],"trending": "ranking","rankingCategory": "tech","includeDanmaku": true,"maxDanmakuPerVideo": 100,"includeComments": true,"maxRepliesPerComment": 10}
- Search: Chinese and English keywords, sort (relevance, most viewed, newest, most danmaku, most favorited), video length, published date range. Bilibili returns at most 1,000 videos per keyword; split by date range to go further.
- Videos: links, BV IDs, av IDs and b23.tv short links.
- Creators: UID or profile link. Profile plus their uploads (newest, most viewed or most favorited).
- Trending: hot feed (up to 500) or the top-100 ranking for 18 categories.
- Full video stats is on by default. It adds coins, shares, tags, honors and the uploader's follower count at no extra cost.
Pricing
Pay only for results. No monthly rental, no start fee to speak of.
| Result | Price | Per 1,000 |
|---|---|---|
| Video (full stats) | $0.0025 | $2.50 |
| Creator profile | $0.002 | $2.00 |
| Comment or reply | $0.0005 | $0.50 |
| Danmaku | $0.0001 | $0.10 |
Example: 1,000 videos with full stats = $2.50, plus 1,000 top comments = $0.50. The most-used Bilibili scraper charges $0.02 per row: $20 + $20 for the same data.
Videos that can't be read (deleted, private, blocked) are skipped and not charged.
Use with AI (LangChain / LlamaIndex / CrewAI)
Each video has a markdown field (title, creator, date, views, likes, tags, description) ready for LLMs. With LangChain (pip install langchain-apify):
from langchain_apify import ApifyWrapperfrom langchain_core.documents import Documentapify = ApifyWrapper() # reads APIFY_API_TOKENloader = apify.call_actor(actor_id="smoldesk/bilibili-scraper",run_input={"searchQueries": ["新能源汽车"], "maxVideosPerSearch": 50},dataset_mapping_function=lambda v: Document(page_content=v.get("markdown") or v.get("text") or "",metadata={k: v.get(k) for k in ("type", "url", "videoUrl", "views", "likes", "publishedAt")},),)docs = loader.load()
Already have a run? Use ApifyDatasetLoader(dataset_id="<run's dataset ID>", dataset_mapping_function=...). LlamaIndex: ApifyActor from llama-index-readers-apify. CrewAI / Claude / MCP clients: add the Actor as a tool through the Apify MCP server: https://mcp.apify.com?actors=smoldesk/bilibili-scraper.
Limitations
- Comments: Bilibili shows visitors who aren't logged in only the top 3 comments of each video (plus the uploader's pinned comment). Their reply threads can be scraped in full. This Actor never logs in, so for audience reactions at scale use danmaku, which are fully available.
- Bilibili caps keyword search at 1,000 results per query. Use date ranges or more specific keywords for more.
- Danmaku: Bilibili serves the most recent ~1,000–3,000 danmaku of a video.
- Subtitles and play URLs need a login and are not included.
- Bilibili rate-limits bursts. The Actor retries with fresh sessions and switches to datacenter proxies on its own, so large creator lists can take a few minutes.
FAQ
Does Bilibili have a public API? Not an official one for developers. This Actor reads the same public endpoints the Bilibili website loads for any visitor, and returns clean, English-named JSON.
Do I need a Bilibili account, cookies or a Chinese phone number? No. Nothing to log in to, nothing to configure.
Do I need a proxy or VPN? No. It works from Apify's servers as is.
What are coins (投币)? Bilibili viewers tip videos with coins. Together with likes and favorites (三连) they are the strongest engagement signal on the platform.
What is danmaku (弹幕)? Comments that scroll across the video at a specific second. They show which moments viewers react to.
How do I get only new uploads? Turn on Only new videos and schedule the Actor. Each run returns videos that earlier runs with the same keyword, creator or trending settings haven't seen.
Is it legal? It collects only data Bilibili shows publicly to every visitor, with no login. Follow copyright and privacy laws (e.g. PIPL, GDPR) when you reuse it.
Feedback
Found a bug or missing a field? Open an issue in the Issues tab. If the Actor saved you time, a short review on this page helps other people find it.
More Actors from Smoldesk Studios
- Weibo Scraper: keyword and hashtag search, posts, comments, profiles and the hot-search board from China's biggest microblog, no login
- Google Hotels Scraper: hotel prices for your dates in any currency, ratings, review aspects and booking-site prices, worldwide
- Google Trends Scraper: interest over time, by region and city, related queries and Trending now — no API key
- Telegram Channel Scraper: public channel posts, views, reactions and subscribers
- Substack Scraper: newsletters, subscriber counts and posts
- Shopify Store Analyzer: apps, contacts and products of any Shopify store
- Career Site Jobs Scraper: live jobs from 13,000+ company career sites (Greenhouse, Lever, Workday, Ashby) with salary and seniority
- SEEK, JobStreet & JobsDB Scraper: jobs and salaries across Australia and Southeast Asia