Bilibili Scraper (哔哩哔哩) - Search, Videos, UP主, Comments
Pricing
Pay per usage
Bilibili Scraper (哔哩哔哩) - Search, Videos, UP主, Comments
Scrape Bilibili (哔哩哔哩 / B站) without login or cookies: keyword search, video details & stats (views, likes, coins, danmaku), UP主 profiles + uploads, comment threads, ranking boards (排行榜) and the popular feed (热门). Clean JSON/CSV/Excel. Free to use.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
ming peng
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Share
Bilibili Scraper (哔哩哔哩数据采集)
Extract public data from Bilibili, China's largest video community, as clean JSON — no login, cookies or browser needed.
What you get
| Mode | Input | Output |
|---|---|---|
| Keyword search | keywords | Videos matching each keyword, sorted by relevance / views / newest / danmaku / favorites / comments |
| Video details | videoUrls (URL, BV… or av… ID) | Title, description, cover, duration, publish time, category, views, likes, coins, favorites, shares, comments, danmaku, owner, optional tags |
| Creator (UP主) | userUrls (space URL or UID) | Profile (followers, level, verification, total videos/likes) plus latest uploads |
| Comments | includeComments: true | Hot or newest comments (with up to 3 sub-replies each) for every collected video |
| Rankings & trending | rankings (all / tech / game / knowledge / … ), popularCount | Current ranking boards (排行榜) and the popular feed (热门), full video details for each entry |
Every dataset item carries a type field (video, comment, user) so mixed results are easy to filter.
Example input
{"keywords": ["大模型", "RAG 教程"],"searchOrder": "click","maxVideosPerKeyword": 40,"userUrls": ["https://space.bilibili.com/946974"],"maxVideosPerUser": 20,"includeComments": true,"maxCommentsPerVideo": 20,"includeTags": true}
Example output (video)
{"type": "video","source": "search","keyword": "大模型","aid": 113684026232679,"bvid": "BV1uNk1YxEJQ","url": "https://www.bilibili.com/video/BV1uNk1YxEJQ","title": "【全748集】目前B站最全最细的AI大模型零基础全套教程…","durationSeconds": 55907,"publishedAt": "2024-12-20T07:56:52+00:00","stats": { "views": 3794355, "likes": 71230, "coins": 55480, "favorites": 240211, "shares": 30112, "comments": 5024, "danmaku": 16842 },"owner": { "mid": 3546578890230230, "name": "…", "url": "https://space.bilibili.com/3546578890230230" },"tags": ["Transformer", "AI大模型", "提示词工程"]}
Use cases
- Market & trend research on Chinese tech, gaming, anime and education content
- Influencer discovery: find UP主 by topic, compare followers and engagement
- Sentiment / feedback analysis from comment threads
- Building datasets for LLM / RAG pipelines in Chinese
Pricing
The Actor itself is currently free — you only pay for Apify platform usage (compute), which is covered by the free plan for typical runs (a 200-item run costs about $0.01). Use maxItems to cap run size. If pay-per-result pricing is introduced later, existing users get 14 days' notice per Apify Store rules.
Limitations & fair use
- Only public data is collected; there is no login, no cookies, and no bypassing of Bilibili's access controls.
- Requests are throttled (≈2 req/s with jitter) and retried with back-off when Bilibili rate-limits. Very large runs may be slower; enable Apify Proxy if you see many
HTTP 412warnings. - Some videos have comments disabled (
code 12002); they are skipped with a warning. - Please respect Bilibili's Terms of Service and applicable data-protection laws when using the output.
Integrations
Run from Apify Console, schedule it, or call it via the Apify API / Python / JavaScript clients and export to JSON, CSV, Excel or Google Sheets.