DataNavoAPI / ANSWERS / BILIBILI

Where do Bilibili BV, aid and mid identifiers belong?

Where do Bilibili BV, aid and mid identifiers belong? 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 detail, Bilibili user profile. Establish the input for bilibili.videos.get, then check whether its post object contains the fields your task needs.

Treat identifiers as typed values: content, account, comment and share-link identifiers are not interchangeable. Preserve the original string instead of converting large IDs to JavaScript numbers, and submit only fields explicitly defined by the contract.

02

Relevant contracts

CapabilityObjectShapePagination
bilibili.videos.getPostitemNo cursor
bilibili.users.getAccountitemNo 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.

  • GET: supply exactly one of id / url.
MethodFieldTypeRequirementMeaningEnum or boundExample
GETidstringOptional / conditionalThe video's BV number: 12 characters starting with BV1—"BV1ECeJ65EZS"
GETurlstringOptional / conditionalLink to the video, pasted as it is: the www.bilibili.com/video/BV… page, the phone site's m.bilibili.com/video/BV…, or the b23.tv short link the app copies. A short link is opened once to see which video it leads to——
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.get",
  "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 ↗