360 Secure SkillHub
360 安全技能中心

Bilibili Video Danmaku API

核心功能:通过JustOneAPI的B站视频弹幕v2接口,获取含时间轴位置、评论文本的弹幕数据。需传入必填的B站视频aid(归档ID)、cid(聊天ID),可选分页参数page,且需JUST_ONE_API_TOKEN鉴权。典型场景:观众反应分析、字幕式评论审核。输出先展示接口调用信息与输入参数,再给出弹幕数据摘要,最后返回原始JSON;出错时返回错误负载。

justoneapi
justoneapi
热度 37.20
最近更新 2026-05-11 17:45:30
分类:开发依赖:代码执行 / 第三方 API应用场景:API 集成 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add justoneapi-bilibili-get-video-danmu
Metadata
name
Bilibili Video Danmaku API
description
Call GET /api/bilibili/get-video-danmu/v2 for Bilibili Video Danmaku through JustOneAPI with aid and cid.
author
JustOneAPI
homepage
https://api.justoneapi.com
metadata
{"openclaw":{"homepage":"https://api.justoneapi.com","primaryEnv":"JUST_ONE_API_TOKEN","requires":{"bins":["node"],"env":["JUST_ONE_API_TOKEN"]},"skillKey":"justoneapi_bilibili_get_video_danmu"}}

Bilibili Video Danmaku

Use this focused JustOneAPI skill for video Danmaku in Bilibili. It targets GET /api/bilibili/get-video-danmu/v2. Required non-token inputs are aid and cid. OpenAPI describes it as: Get Bilibili video Danmaku data, including timeline positions and comment text, for audience reaction analysis and subtitle-style comment review.

Endpoint Scope

  • Platform key: bilibili
  • Endpoint key: get-video-danmu
  • Platform family: Bilibili
  • Skill slug: justoneapi-bilibili-get-video-danmu
Operation Version Method Path OpenAPI summary
getVideoDanmuV2 v2 GET /api/bilibili/get-video-danmu/v2 Video Danmaku

Inputs

Parameter In Required by Optional by Type Notes
aid query all n/a string Bilibili Archive ID (AID)
cid query all n/a string Bilibili Chat ID (CID)
page query n/a all string Page number for pagination

Request body: none documented; send parameters through path or query arguments.

Version Choice

Use getVideoDanmuV2 for the documented v2 endpoint. There are no alternate versions grouped in this skill.

Run This Endpoint

Supported operation IDs in this skill: getVideoDanmuV2.

node {baseDir}/bin/run.mjs --operation "getVideoDanmuV2" --token "$JUST_ONE_API_TOKEN" --params-json '{"aid":"<aid>","cid":"<cid>"}'

Ask for any missing required parameter before calling the helper. Keep user-provided IDs, cursors, keywords, and filters unchanged.

Environment

  • Required: JUST_ONE_API_TOKEN
  • Pass the token with --token "$JUST_ONE_API_TOKEN"; do not paste token values into chat messages, screenshots, or logs.
  • Get a token from Just One API Dashboard.
  • Authentication details: Just One API Usage Guide.

Output Focus

  • State the operation ID and endpoint path used, for example getVideoDanmuV2 on /api/bilibili/get-video-danmu/v2.
  • Echo the required lookup scope (aid and cid) before summarizing results.
  • Prioritize fields that support this endpoint purpose: Get Bilibili video Danmaku data, including timeline positions and comment text, for audience reaction analysis and subtitle-style comment review.
  • Return raw JSON only after the short, endpoint-specific summary.
  • If the backend errors, include the backend payload and the exact operation ID.