Bilibili Comments: Export Comments and Replies
By Datapika · Tested
Actor: Bilibili Scraper (openclawai/bilibili-scraper on Apify)
Reads the comments of a Bilibili video from its link or BV id and returns each comment's text, likes, author and time; includeReplies adds the replies under comments that have 3 or more. Useful for audience research and sentiment analysis.
Run on Apify opens the actor. Paste the copied input into its JSON tab and press Start.
- Tested on
- November 26, 2026
- Rows in the test
- 5
- Run time
- 3 s
- Test cost
- $0.0050 (free plan)
Input
The exact input of the tested run.
- Aamodevideo_comments
- ≡urlsBV1M1421t7hT
- #maxItems500
- ◐includeRepliestrue
Output fields
Columns every row carries in this view.
- AaCommentcomment_text
- AaAuthorauthor_name
- #Likeslike_count
- #Repliescomment_count
- AaPostedcreated_at
- #Reply toreply_to_id
Sample results
The first rows of the test run on November 26, 2026. Emails and phone numbers are masked. JSON · CSV
| Comment | Author | Likes | Replies | Posted | Reply to |
|---|---|---|---|---|---|
| 惩治谣言,任重道远啊。现在造谣的成本还是有点低 | 笑chu腹肌 | 2,301 | 34 | 2024-08-11T10:53:41+00:00 | – |
| 那是相当低,很多都是法不责众,真的恶心! | 喜欢孤独的滋味 | 18 | 0 | 2024-08-11T10:55:31+00:00 | 237107365072 |
| 是啊 就算起诉了 法律判赢了 最多也就赔点钱 然后公开道歉 | star小炮 | 83 | 0 | 2024-08-11T10:57:59+00:00 | 237107365072 |
| 嘴欠的人太多了… | Vivi_L_ | 22 | 0 | 2024-08-11T11:03:49+00:00 | 237107365072 |
| 特别是一些博主,那姜圣反复说事 | cavaliervken | 9 | 0 | 2024-08-11T11:19:16+00:00 | 237107365072 |
How it works
01
Open the actor on Apify
Click Copy input, then Run on Apify to open the Bilibili Scraper. Sign in or create a free account, open the JSON tab of the input form and paste the input.
02
Start the "Bilibili Comments: Export Comments and Replies" task
Press Start. Change any input field first if you need a different topic, account or size; the fields are listed above.
03
Get the results
Rows arrive in a dataset while the run works. Our test returned 5 rows in 3 seconds.
04
Use the data
Download JSON, CSV or Excel, call the run from the API, schedule it, or let an AI agent run it through MCP.
Run it from your tools
Send the results to a spreadsheet or app with Apify's integrations, call it from code, or let an AI agent run it.
No code
- Zapier
- Make
- n8n
- GSGoogle Sheets
- SSlack
- WWebhook
AI agents (MCP)
- Claude
- ChatGPT
- Cursor
- Gemini
- Perplexity
- LangChain
- MCP
- GitHub Copilot
{
"mode": "video_comments",
"urls": [
"BV1M1421t7hT"
],
"maxItems": 500,
"includeReplies": true
}Paste it into the actor's JSON input tab on Apify.
Change it to fit your job
- mode picks the job: search_videos, video_detail, video_comments, danmaku, subtitles, user_posts, trending and more.
- Paste bilibili.com video links, BV ids or b23.tv short links in urls, one per line.
- Raise maxItems for a bigger dataset; you pay per result delivered.
- includeReplies adds the replies under each comment.
Close variants: Bilibili Bullet Comments: Export Danmaku with Timestamps · Bilibili Search: Find Videos by Keyword
FAQ
Which links work?
A bilibili.com/video/BV... link, a bare BV id or a b23.tv short link. Each link runs on its own, so you can export several videos in one run.
Are replies included?
With includeReplies on, replies are fetched for comments that have 3 or more, and reply_to_id links each reply to its parent comment.
Do I need a Bilibili account?
No. It reads public Bilibili data with no login, cookie, Chinese phone number or API key. Run it from the Apify Console, the API, or an AI agent through MCP.
How much does it cost?
You pay per result delivered to your dataset: a video, a comment or a danmaku line. There is no start fee. The current prices are on the Pricing tab.
Data comes from public pages at run time; the sample above is one test run and results change with every run. The input JSON on this page is the exact input we tested: see Input above.