360 Secure SkillHub
360 安全技能中心

Bilibili User Relation Stats API

核心功能:借助JustOneAPI调用B站指定接口,获取用户关系统计数据(含关注数等)。典型场景:创作者基准分析、受众增长追踪。输入需提供JUST_ONE_API_TOKEN及必填的B站用户ID(wmid),通过命令行传入参数;输出先返回接口操作信息与wmid,再呈现结果摘要,可选返回原始JSON,异常时返回后端错误数据。

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

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add justoneapi-bilibili-get-user-relation-stat
Metadata
name
Bilibili User Relation Stats API
description
Call GET /api/bilibili/get-user-relation-stat/v1 for Bilibili User Relation Stats through JustOneAPI with wmid.
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_user_relation_stat"}}

Bilibili User Relation Stats

Use this focused JustOneAPI skill for user Relation Stats in Bilibili. It targets GET /api/bilibili/get-user-relation-stat/v1. Required non-token inputs are wmid. OpenAPI describes it as: Get Bilibili user Relation Stats data, including following counts, for creator benchmarking and audience growth tracking.

Endpoint Scope

  • Platform key: bilibili
  • Endpoint key: get-user-relation-stat
  • Platform family: Bilibili
  • Skill slug: justoneapi-bilibili-get-user-relation-stat
Operation Version Method Path OpenAPI summary
getUserRelationStat v1 GET /api/bilibili/get-user-relation-stat/v1 User Relation Stats

Inputs

Parameter In Required by Optional by Type Notes
wmid query all n/a string Bilibili User ID (WMID)

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

Version Choice

Use getUserRelationStat for the documented v1 endpoint. There are no alternate versions grouped in this skill.

Run This Endpoint

Supported operation IDs in this skill: getUserRelationStat.

node {baseDir}/bin/run.mjs --operation "getUserRelationStat" --token "$JUST_ONE_API_TOKEN" --params-json '{"wmid":"<wmid>"}'

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 getUserRelationStat on /api/bilibili/get-user-relation-stat/v1.
  • Echo the required lookup scope (wmid) before summarizing results.
  • Prioritize fields that support this endpoint purpose: Get Bilibili user Relation Stats data, including following counts, for creator benchmarking and audience growth tracking.
  • Return raw JSON only after the short, endpoint-specific summary.
  • If the backend errors, include the backend payload and the exact operation ID.