DataNavoAPI / ANSWERS / BILIBILI

How do I export Bilibili comments with reply relationships?

How do I export Bilibili comments with reply relationships? Follow concrete contracts, examples and reviewable steps using Bilibili.

LOCAL SIMULATIONAll displayed records are fictional fixtures. Live APIs, payments and external email are disabled.中文版 ↗
01

Answer

Start by inspecting the contracts and local samples for Bilibili video comments, Bilibili comment replies. Establish the input for bilibili.videos.comments.list, then check whether its comment object contains the fields your task needs.

Produce a structured local result before mapping fields to table columns or document sections. Deduplicate by platform and content ID and retain source and observation time. Downloading a file and writing to another application are separate actions; this exercise sends nothing externally.

02

Relevant contracts

CapabilityObjectShapePagination
bilibili.videos.comments.listCommentitemsExplicit cursor
bilibili.comments.replies.listCommentitemsExplicit cursor
03

Input contract

Inspect meanings, examples and conditional rules for the selected method. view and fields control the response without changing the TEST unit price.

  • Only send fields defined for this method; unknown fields are rejected before execution.
MethodFieldTypeRequirementMeaningEnum or boundExample
GETidstringRequiredThe video's BV number: 12 characters starting with BV1—"BV1ECeJ65EZS"
GETsortstringOptional / conditionalTop comments first, or by time posted (newest first; fewer a page that way, 7 to 9 recorded)["popular","latest"]—
GETcursorstringOptional / conditionalThe `next_cursor` of the previous page. A new page is a new call.——
GETviewstringOptional / conditionalHow much of each item: compact (the most used fields, long text cut short), standard, or full (adds `ext`).["compact","standard","full"]—
GETfieldsarrayOptional / conditionalReturn only these fields of each item, by path (`author.name`).maxItems: 64—
04

Complete one verification

Run one local fixture for a listed capability and inspect the object structure. Then filter, classify or export according to the question. A local sample cannot replace evidence for a real-platform conclusion.

json
{
  "capability": "bilibili.videos.comments.list",
  "method": "GET",
  "params": {
    "id": "BV1ECeJ65EZS"
  }
}
TRY THE CONTRACT

Clear inputs. Inspectable output.

Each click runs a local fixture. Advanced JSON inputs are checked against the selected method. Editing does not execute a request.

Copying does not execute. CLI quote is read-only and needs a local customer TEST key. Configure MCP in demo mode first. GET and POST batches both return only fictional local fixtures.

Download contract example (no execution) ↗

For TEST budgets, Key scopes or failure scenarios, open the account console. Customer sandbox ↗