# How do I export Bilibili comments in bulk? (2026)

1,000 comments come to about $0.10: page through bilibili.videos.comments.list with the video's BV number, 20 comments a page at $0.0020, and write them to a table. Replies are a separate call. The count of danmaku comes too. OneFeedAPI reads Bilibili with 11 endpoints, from $0.0020 a call; a failed call is not charged, and the free trial covers up to 333 calls.

Updated 2026-11-04

## How to do it

One video, up to 200 comments: `onefeedapi run comments platform=bilibili id=BV_NUMBER pages=10 --out comments.csv` writes a table of comment ID, text, commenter, likes, replies and time, for $0.02. A run takes up to 10 pages.

More than that: `onefeedapi call bilibili.videos.comments.list id=BV_NUMBER --pages 50 --max-spend 0.1 --out comments.json` takes about 1,000 for $0.10, as JSON, which a few lines of code or your AI turn into a CSV or an Excel file. In code, pass `page.next_cursor` back as `cursor` until `page.has_more` is false, within the hour a cursor is good for.

The comments endpoint takes the BV number, `BV1` and 12 characters in all, which is in the video's address. Only have a b23.tv short link? `bilibili.videos.get` takes the link and gives the number, at $0.0020.

## Replies, and many videos

Comments come most liked first. Replies need the comment's `id` and its `post_id`, both in the comment list. To find the videos, use `bilibili.users.videos.list` for an uploader's, about 30 a page, or `bilibili.videos.search` for a topic's, about 20 a page.

| Job | Calls | Comes to |
| --- | --- | --- |
| 1,000 comments of one video | 50 × $0.0020 | $0.10 |
| One page of replies under 50 comments | 50 × $0.0020 | $0.10 |
| An uploader's 10 videos, 5 pages of comments each | 1 × $0.0020 + 50 × $0.0020 | $0.102 |

## Danmaku

The count of danmaku comes with `view=full`: `bilibili.users.videos.list` gives each video's in `ext.danmaku`, and so does `bilibili.videos.get`.

## Good to know

To go from the table to what people want or complain about, ask your AI to group the comments, with how many times each comes up and a line in their own words. Sort by likes first. Leave commenters' names out of what you share. OneFeedAPI reads public data only.

## Why OneFeedAPI

- Steady: endpoints were available 100% of the last 30 days, on a public status page you can check.
- Fast: a paid call took 1.6 seconds at the median over the last 7 days (counted 2026-11-06).
- Fewer tokens: across 9 endpoints on Bilibili, one recorded real response each, the platform's own JSON comes to 477k tokens and what an AI reads through OneFeedAPI's MCP server to 21k, 96% fewer; the JSON of a direct API call is 95% fewer too (counted 2026-11-06). Every platform answers in one shape: the author in `author`, counts in `metrics`, the next page in `page.next_cursor`, so another platform needs no new parser.
- See before you pay: every endpoint's page shows a recorded real response, field by field.
- Spending you control: a failed call is not charged; each key can have a limit, `X-Max-Price` caps one call, and the same `Idempotency-Key` within 24 hours is never charged twice.
- Ready for AI: a remote MCP server listed in the official MCP registry as `com.onefeedapi/mcp`, usable from Claude, Cursor and ChatGPT.
- Free trial of up to 333 calls, no card.

## Endpoints

- [Bilibili video comments](https://onefeedapi.com/apis/bilibili/videos/comments/list/) ($0.0020 / a call): Get a page of comments on a Bilibili video by BV number, top or newest first: text, commenter and their level, likes, reply count, time posted.
- [Bilibili comment replies](https://onefeedapi.com/apis/bilibili/comments/replies/list/) ($0.0020 / a call): Get a page of replies to a Bilibili comment, by the comment's ID and its video's BV number: text, replier, likes, what it answers, time posted.
- [Bilibili video detail](https://onefeedapi.com/apis/bilibili/videos/get/) ($0.0020 / a call): Get one Bilibili video by BV number or link: title, description, uploader, views, likes, coins, saves, danmaku count, length, tags, section, IP location, and the cid that subtitles and danmaku are asked for by.
- [Bilibili user videos](https://onefeedapi.com/apis/bilibili/users/videos/list/) ($0.0020 / a call): Get a page of the videos a Bilibili user uploaded, newest first: title, description, views, comments, danmaku count, length, time published.
- [Bilibili video search](https://onefeedapi.com/apis/bilibili/videos/search/) ($0.0020 / a call): Get a page of Bilibili videos for search terms, by relevance, newest or most played: title, uploader, views, likes, saves, comments, length.

## More about Bilibili

- [Bilibili API](https://onefeedapi.com/apis/bilibili/)
- [What are Bilibili's 412 error and wbi? (2026)](https://onefeedapi.com/answers/bilibili-412-wbi/)
- [What does Bilibili's -352 error mean? (2026)](https://onefeedapi.com/answers/bilibili-352-risk-control/)
- [What does Bilibili's API校验密匙错误 (code -3) mean? (2026)](https://onefeedapi.com/answers/bilibili-api-key-error-minus-3/)
- [Bilibili API: videos, comments and uploader data (2026)](https://onefeedapi.com/answers/bilibili-data-apis/)
- [Bilibili MCP server for Claude and Cursor (2026)](https://onefeedapi.com/answers/bilibili-mcp/)
- [What are Bilibili BV ids, aids and mids? (2026)](https://onefeedapi.com/answers/bilibili-bv-aid-mid/)
- [Bilibili API for AI agents and LLMs: fewer tokens, called from Claude and Cursor (2026)](https://onefeedapi.com/answers/bilibili-api-for-ai-agents/)
- [Bilibili video comments, newest first, by API (2026)](https://onefeedapi.com/answers/bilibili-comments-newest-first/)
- [Bilibili API in Python: videos and comments (2026)](https://onefeedapi.com/guides/bilibili-api-python/)
- [How do I collect Bilibili data? The creator center, the open platform, scrapers and data APIs (2026)](https://onefeedapi.com/compare/how-to-collect-bilibili-data/)

---

Catalog revision dc959672dd18e2d0. [HTML version](https://onefeedapi.com/answers/export-bilibili-comments/)
