# How do I export Bilibili video comments? (2026)

Run MediaCrawler, which saves Bilibili comments to Excel once comment collection is on, or call XTikAPI's `bilibili.comments.list` with the BV ID page by page, $0.002 a page, with no cookie or WBI signature of yours. XTikAPI reads Bilibili with 10 endpoints from $0.002 a call. A failed call is not charged, and a verified account gets $0.50 of trial balance.

Updated 2026-11-20

## Doing it with MediaCrawler

MediaCrawler's README lists Bilibili with keyword search, post IDs and second-level comments, and saves to CSV, JSON, JSONL, Excel, SQLite or MySQL. Comments are off by default: set `ENABLE_GET_COMMENTS` in `config/base_config.py`. It drives a logged-in browser, so you also need an account and, for volume, proxies.

## Doing it with XTikAPI

1. Call `bilibili.comments.list` with `bv_id`; `pn` is the page number.
2. For comments with replies, call `bilibili.comment_replies.list` with `bv_id` and the comment's `rpid`.
3. Write user, text, likes and time to Excel.

## What it costs

A video with 2,000 comments, about 100 pages, plus replies for 50 comments: 150 calls at $0.002, $0.30.

## Why XTikAPI

- See before you pay: 192 of 229 endpoints show a recorded real response on their page (10 of 10 for Bilibili).
- One shape: posts, comments and accounts from 19 platforms come back as the same objects, author in author and counts in metrics, so another platform needs no new parser.
- Spending you control: a failed call or a timeout is not charged (charged: false), X-Max-Price caps one call, and the same Idempotency-Key within 24 hours is never billed twice.
- Prepaid balance, no subscription. Balance never expires, and unused top-up money can be refunded within 14 days.
- Made for AI: every page has a Markdown twin, plus llms.txt and OpenAPI, so ChatGPT, Claude and Cursor can read it directly.

## Endpoints

- [Bilibili comments API](https://xtikapi.com/apis/bilibili/comments/list) ($0.002 a call): Get comments on the specified video
- [Bilibili comment replies API](https://xtikapi.com/apis/bilibili/comment_replies/list) ($0.002 a call): Replies under one Bilibili comment.
- [Bilibili video details API](https://xtikapi.com/apis/bilibili/videos/detail) ($0.002 a call): Get single video data

## More about Bilibili

- [Bilibili API](https://xtikapi.com/apis/bilibili)
- [How do I get a Bilibili video's subtitles, including AI subtitles, through an API?](https://xtikapi.com/answers/bilibili-ai-subtitles-api)
- [Is there an API for Bilibili's hot search and popular videos?](https://xtikapi.com/answers/bilibili-hot-ranking-api)
- [Why does the Bilibili API return 412?](https://xtikapi.com/answers/bilibili-412-error)
- [How do I convert a Bilibili BV ID to an AV number (aid)?](https://xtikapi.com/answers/bilibili-bv-to-aid)
- [Is there a hosted alternative to MediaCrawler for Xiaohongshu, Douyin and other Chinese platforms?](https://xtikapi.com/answers/mediacrawler-alternative)

## Sources

What this page says about other products comes from their own pages and docs, read on 2026-11-20.

- MediaCrawler README (features, data saving)

---

XTikAPI: one API key for public social media data, prepaid per call. [HTML version](https://xtikapi.com/answers/bilibili-comments-export) · [llms.txt](https://xtikapi.com/llms.txt) · [OpenAPI](https://xtikapi.com/openapi.json)
