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.

Open in ChatGPTOpen in Claude

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.

JobCallsComes to
1,000 comments of one video50 × $0.0020$0.10
One page of replies under 50 comments50 × $0.0020$0.10
An uploader's 10 videos, 5 pages of comments each1 × $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

Each with its price; every page has the parameters, the fields and a recorded response.

Start with one key.

253 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.

Start free