A friend recommends a Bilibili explanation video for your science project. Copying its title into a planning document does not tell colleagues what to learn from it. Detail retrieval identifies the reference; viewing supplies the editorial reasoning.

Confirm the video identifier

This capability uses the work identifier documented as aid. Do not substitute an author ID or assume unrelated identifier formats are interchangeable. Keep the original URL relationship and check the returned object. Similar titles may belong to reposts or different edits rather than the same reference.

Let available fields support the viewing task

The contract broadly describes video details. Inspect the actual response before selecting fields, leaving missing statistics unresolved. Do not infer the entire explanation from its title. Retrieval helps locate the work; watching establishes whether examples and explanations fit your intended audience.

Offer one concrete production observation

Describe a specific technique, such as presenting a misconception before demonstrating a counterexample, and explain when it might fit your topic. Another video's performance does not predict yours, and retrieval does not validate every technical claim it contains. Check factual assertions separately when quoting them. A useful card combines source, observation, and a proposed choice that colleagues can revisit together.

Request URL and parameters

GET https://api.trmesh.com/openapi/api/v1/bilibili/web/fetch_video_detail

Parameter Type Required Meaning
aid string Yes Video id

Run the Python example

Install requests and set TRMESH_API_TOKEN in your environment. Replace the sample identifiers with the public object you intend to inspect. Example IDs may no longer be available.

import os
import requests

# Read your own developer key from the server environment.
url = "https://api.trmesh.com/openapi/api/v1/bilibili/web/fetch_video_detail"
params = {
    "aid": "114902186396822"
}
response = requests.get(
    url, params=params, timeout=30,
    headers={"Authorization": f"Bearer {os.environ['TRMESH_API_TOKEN']}"},
)
response.raise_for_status()
payload = response.json()
print(payload)  # Inspect the actual response before mapping fields

Endpoint documentation · Free profile tool

API calls use your TRMesh account allowance. Check the endpoint price before running a script.