Bilibili Comments Scraper 哔哩哔哩评论采集 - Replies & Pinned
Under maintenancePricing
from $2.00 / 1,000 comment scrapeds
Bilibili Comments Scraper 哔哩哔哩评论采集 - Replies & Pinned
Under maintenanceScrape Bilibili (哔哩哔哩, B站) comments by keyword or video URL: full reply threads (楼中楼) paginated to the end, pinned comments, likes, user level. No login. Export JSON/CSV/Excel or use via API. AI-agent friendly. 无需登录,评论、回复、置顶一次导出。
Pricing
from $2.00 / 1,000 comment scrapeds
Rating
0.0
(0)
Developer
aiiooo
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
13 days ago
Last modified
Categories
Features
Share
Bilibili Comments Scraper 哔哩哔哩评论采集 — Replies & Pinned
Scrape comments from Bilibili (哔哩哔哩, B站), China's biggest video platform for games, anime and tech, by keyword or by video URL / BV ID. You get the whole conversation in one dataset: root comments, every nested reply (楼中楼) paginated to the end, the pinned (置顶) comment, likes, user level and timestamps.
No login. No cookies. No browser. Export to JSON, CSV or Excel, or call it via API — AI-agent friendly.
What you get
- Full threads: sub-replies are fetched page by page until the thread ends, not just the 3 previews shown under each comment.
- Thread structure on every row:
comment_type(root / sub),root_rpidandparent_rpid, so you can rebuild who answered whom. - Pinned comment included and de-duplicated.
- Keyword mode: search videos (relevance, most played, newest, most danmaku, most favorited) and pull comments from the top N.
- Privacy switch:
anonymizeUsersreplaces names and user IDs with stable hashes.
Pricing
Pay per result: $3 per 1,000 comments or replies on the Free plan, down to $2 per 1,000 on Gold and above. No monthly fee.
| Task | Rows | Approx. cost (Free plan) |
|---|---|---|
| 1 video, 100 root comments + replies | ~300 | ~$0.90 |
| 5 keywords × 5 videos × 100 comments, no replies | ~2,500 | ~$7.50 |
| 1 viral video, 2,000 root comments + replies | ~6,000 | ~$18 |
Tip: set includeSubReplies off or lower maxSubRepliesPerComment to control cost.
Use cases
- Game & app teams: read what Chinese players say about your game, launch or patch. Example input:
{"keywords": ["黑神话 差评"], "maxVideosPerKeyword": 5, "commentSort": "hot"} - Brand & KOL monitoring (舆情监测): track reactions to a product, campaign or creator video.
- Market research & AI datasets: clean Chinese conversational data with thread structure for sentiment analysis or LLM fine-tuning.
Input
| Field | Description |
|---|---|
keywords | Search terms, e.g. 原神, 空洞骑士 差评 |
videoUrls | Video URLs, BV1... IDs, av123 or numeric aid |
maxVideosPerKeyword | Videos to take per keyword (default 5) |
searchOrder | Relevance, most played, newest, most danmaku, most favorited |
maxCommentsPerVideo | Root comments per video (default 100) |
commentSort | hot (same as website) or time |
includeSubReplies | Fetch all 楼中楼 (default on) |
maxSubRepliesPerComment | Cap per root comment (default 200) |
anonymizeUsers | Replace names and IDs with stable hashes |
proxyConfiguration | Optional; use if you see 412 / -352 errors |
Output (one row per comment)
{"video_bvid": "BV1hGW76hEko","video_title": "…","video_url": "https://www.bilibili.com/video/BV1hGW76hEko","comment_type": "sub","is_pinned": false,"rpid": 319589234689,"root_rpid": 319587388497,"parent_rpid": 319587388497,"user_name": "…","user_mid": "…","user_level": 6,"like": 12,"reply_count": null,"created_at": "2026-11-05T09:12:00+00:00","ip_location": "广东","text": "…"}
comment_type is root or sub. Rebuild threads with root_rpid; parent_rpid tells you who a sub-reply answers.
FAQ
I get 412 or -352 errors. Bilibili rate-limits busy IPs. Turn on proxyConfiguration (Apify residential works best) and retry.
How do I get Excel? Open the run's dataset and click Export → Excel (or CSV / JSON).
Why fewer comments than the video shows? Bilibili's count includes deleted and folded comments, which are not public.
Notes
ip_locationis filled only when Bilibili exposes it; for logged-out requests it is usually empty.- Only public data is collected. Respect Bilibili's terms and the privacy laws that apply to you (incl. China's PIPL); turn on
anonymizeUsersif you don't need identities.
中文说明
B站评论爬取 / 哔哩哔哩评论采集:按关键词或视频链接、BV号抓取 B站 视频评论,楼中楼回复翻页抓全,包含置顶评论、点赞数、用户等级和发布时间。无需登录、无需 cookie,可导出 Excel / CSV / JSON,也可通过 API 调用。
- 每条评论一行,
comment_type区分主评论和楼中楼,root_rpid/parent_rpid还原楼层与回复关系 - 关键词模式:按综合、播放、最新、弹幕、收藏排序选视频
anonymizeUsers一键昵称和 ID 脱敏- 价格:每 1,000 条 $3(免费套餐),Gold 及以上 $2
适合:游戏团队看玩家反馈和差评、品牌与 UP 主舆情监测、中文语料与情感分析数据集。