Bilibili Fetch Video Danmaku

2.07 credits/call
ae_bilibili_fetch_video_danmaku

Retrieve the danmaku (scrolling comments displayed over a video) associated with a video. Supply its required content ID (`cid`) as a string. The response payload contains the available danmaku data; its exact structure depends on the returned data.

SocialVideo
2.07 credits/call

Pricing

2.07 credits/call
ConditionCharge
Each call2.07 credits/call

2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
cidstringYes作品cid/Video cid—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_bilibili_fetch_video_danmaku' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "cid": "42712301801"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": 200,
  "data": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><i><chatserver>chat.bilibili.com</chatserver><chatid>42712301801</chatid><mission>0</mission><maxlimit>100</maxlimit><state>0</state><real_name>0</real_name><source>k-v</source><d p=\"1.64800,1,25,16777215,1792020722,0,",
  "docs": "https://api.tikhub.io/#/Bilibili-Web-API/fetch_one_video_api_v1_bilibili_web_fetch_video_danmaku_get",
  "message": "Request successful. This request will incur a charge.",
  "message_zh": "请求成功,本次请求将被计费。",
  "params": {
    "cid": "42712301801"
  }
}

This example shows part of the response. Copied content is valid JSON.