Bilibili Comments Scraper
Pricing
from $2.00 / 1,000 results
Bilibili Comments Scraper
Scrape comments from any Bilibili (哔哩哔哩) video — no login or code needed. Extract comment text, author, likes, reply counts, timestamps, IP region, and reply threads. Export to JSON, CSV, or Excel, or pull results via API.
Pricing
from $2.00 / 1,000 results
Rating
0.0
(0)
Developer
Harish Garg
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
2 days ago
Last modified
Categories
Share
Scrape comments from any Bilibili (哔哩哔哩) video. Paste one or more video URLs and get a clean, structured dataset with one row per comment — comment text, author, like count, and reply count. No login and no coding required.
Runs on the Apify platform, so you get API access, scheduling, integrations (Make, Zapier, Google Sheets, and more), automatic proxy rotation, and run monitoring out of the box.
What does Bilibili Comments Scraper do?
Bilibili Comments Scraper extracts the public comments from Bilibili videos and turns them into structured data you can analyze or export. Give it a list of Bilibili video URLs (full links, b23.tv share links, or bare BV / av IDs) and for each video it will:
- collect comments, sorted by hottest or newest first;
- optionally pull the reply threads under each comment;
- return every comment as a flat, ready-to-analyze record with author, likes, and timestamp.
No Bilibili account or login is needed — only the comments any visitor can see on the website are collected. Export the results to JSON, CSV, Excel, or HTML, or pull them straight from the Apify API.
Why use Bilibili Comments Scraper?
- Audience & sentiment research — analyze what viewers say about a video, product, or campaign.
- Creator (UP主) vetting — inspect real engagement and audience reactions on a channel's videos.
- Trend and market monitoring — track how audiences react to trending videos and topics over time.
- Brand & competitor analysis — mine comments on competitors' popular videos.
- Datasets for NLP — build Chinese-language comment corpora for research or model training.
How to scrape Bilibili comments
- Open the actor and go to the Input tab.
- Paste one or more Bilibili video URLs into Video URLs (e.g.
https://www.bilibili.com/video/BV1xx411c7mD). Share links likehttps://b23.tv/xxxxand bare IDs likeav170001orBV1xx411c7mDwork too. - (Optional) Set Max comments per video, choose Sort by (hottest or newest), and toggle Include replies.
- Click Start. When the run finishes, open the Output tab and download the data as JSON, CSV, Excel, or HTML.
Input
| Field | Type | Description |
|---|---|---|
startUrls | array | Required. One or more Bilibili video URLs, share links, or bare BV/av IDs. |
maxCommentsPerVideo | integer | Max comments to collect per video, including replies (default 100). |
sortBy | string | hot (hottest first, default) or time (newest first). |
includeReplies | boolean | Also scrape the reply threads under each comment (default false). |
proxyConfiguration | object | Proxy settings. Off by default — works fine without a proxy for most runs. |
Example input:
{"startUrls": [{ "url": "https://www.bilibili.com/video/BV1xx411c7mD" }],"maxCommentsPerVideo": 200,"sortBy": "hot","includeReplies": false}
Output
Each dataset item is a single comment. Top-level comments have isReply: false; when Include replies is on, replies appear as extra rows with isReply: true and a parentCommentId pointing at the comment they answer. You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.
{"videoUrl": "https://www.bilibili.com/video/BV1xx411c7mD","bvid": "BV1xx411c7mD","oid": 2,"commentId": 495059,"parentCommentId": null,"isReply": false,"isPinned": false,"text": "前方高能!","createTime": "2010-12-09T18:10:39Z","likeCount": 52991,"replyCount": 1457,"authorName": "碧诗","authorMid": 2,"authorAvatar": "https://i2.hdslb.com/bfs/face/....jpg","authorLevel": 6,"authorSex": "男"}
Data fields
| Field | Description |
|---|---|
videoUrl | Canonical URL of the source video. |
bvid | Bilibili's BV video ID. |
oid | Bilibili's numeric video ID for the source video. |
commentId | Unique ID of the comment. |
parentCommentId | For replies, the ID of the comment being replied to; null for top-level comments. |
isReply | true if the row is a reply within a thread. |
isPinned | true if the comment is pinned by the creator. |
text | The comment text. |
createTime | When the comment was posted (ISO 8601, UTC). |
timestamp | Raw Unix timestamp of the comment. |
likeCount | Number of likes on the comment. |
replyCount | Number of replies the comment received. |
authorName | Commenter's display name. |
authorMid | Commenter's numeric Bilibili user ID. |
authorAvatar | URL of the commenter's avatar. |
authorLevel | Commenter's Bilibili account level (0–6). |
authorSex | Gender shown on the commenter's profile, if any. |
How much does it cost to scrape Bilibili comments?
Cost scales with how many comments you collect: the more comments per video (and whether you include replies), the more work per run. To keep costs down, lower maxCommentsPerVideo and leave Include replies off unless you need thread data. Check the Runs tab after a small test run to gauge consumption for your workload before scaling up.
Tips
- Start small. Run one video with a low
maxCommentsPerVideofirst to confirm the output looks right, then scale up. - Pick the right sort. Use
hotfor the most influential comments,timewhen you want the freshest reactions. - Proxy is optional. Leave it off for speed and lower cost; enable Apify Proxy only if you scrape at very high volume and start seeing blocks.
FAQ, disclaimers, and support
Do I need a Bilibili account or login? No. Only publicly visible comments are collected.
Can it scrape all comments on a video? It collects comments up to your maxCommentsPerVideo limit. Very large threads may also be limited by how many comments Bilibili makes publicly available.
Does it work with av and b23.tv links? Yes. Full bilibili.com links, b23.tv short links, and bare BV / av IDs are all accepted.
Is scraping Bilibili legal? This actor only accesses publicly visible data. You are responsible for complying with Bilibili's Terms of Service and applicable laws (including privacy regulations such as GDPR) in how you collect and use the data. Do not scrape or store personal data without a lawful basis.
Something not working? Use the Issues tab on the actor page to report bugs or request features.