Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

B站数据 API · Bilibili data API · DataXAPI

БесплатноБез исполняемых скриптовНе проверен

Public Bilibili data through DataXAPI: videos, users, comments, trends. 13 endpoints, $0.0020 to $0.0300 a call, a failed call is free. Use when the user asks…

data-x-apiот data-x-api457 установок в других каталогах

Об этом скилле

B站数据 API · Bilibili data API · DataXAPI

Pay per call, no subscription. A call that ends in an error is not charged. 按次付费,不用订阅;出错不收费。 13 Bilibili endpoints, $0.0020 to $0.0300 a call, each at its own price (listed below). No Bilibili account, cookie or login: one DataXAPI key.

DataXAPI returns public Bilibili data (B站的公开数据) in one response shape, paid per call from a prepaid balance. This skill lists all 13 Bilibili endpoints with their prices and the questions each one answers. It was generated from catalog revision 69ca01375924c99b.

What one call returns: bilibili.videos.search with query=机械键盘, a recorded answer (20 items came back, the first shown; names, text, IDs and links are stand-ins, the figures are as recorded).

{
  "data": {
    "items": [
      {
        "id": "BV1M05Rhoe4r",
        "url": "https://www.bilibili.com/video/BV1M05Rhoe4r",
        "type": "video",
        "title": "实测一个月机械键盘,结论有点意外",
        "published_at": "2026-09-30T08:55:00.000Z",
        "author": {
          "id": "585724901",
          "name": "阿杰爱折腾",
          "avatar_url": "https://i0.hdslb.com/bfs/face/17a7658e63c84808ef09bb48.jpg"
        },
        "metrics": {
          "likes": 237,
          "comments": 64,
          "favorites": 169,
          "views": 35706
        },
        "hashtags": [
          "户外生活",
          "好物分享"
        ]
      }
    ]
  },
  "page": {
    "returned": 20,
    "has_more": true,
    "next_cursor": "c1.72NAeDsxx6zMLTUXCjX2T5Su39puxExBbLOvdWBm"
  },
  "meta": {
    "billing": {
      "amount": "0.002",
      "currency": "USD",
      "balance_after": "9.998"
    }
  }
}

What to call for which question

  • Find B站 (Bilibili) videos that review the new phone. / 在 B站搜测评新手机的视频。 → bilibili.videos.search ($0.0020)
  • What is on Bilibili's hot search right now? / B站热搜现在有什么? → bilibili.trends.list ($0.0020)
  • What do the comments on this Bilibili video say? / 这个 B站视频的评论区在聊什么? → bilibili.videos.comments.list ($0.0020)

Skills for one job here, each with its parameters and calls: bilibili-video-search (B站视频搜索).

When the question is not one of these, run find (or dataxapi find) with the user's words and bilibili; if nothing fits, say so instead of calling another platform.

Call it three ways

Command line (npm install -g dataxapi, or npx dataxapi), with the key in $DATAXAPI_API_KEY (never print it, log it or put it in an address):

dataxapi call bilibili.videos.search 'query=机械键盘' --max-price 0.002

MCP. Server https://api.dataxapi.com/mcp, header Authorization: Bearer <key>. Tools: find (with platform: "bilibili" it lists this platform's endpoints), describe (parameters and price), call, read_more (free), account (balance). Setting the server up: https://dataxapi.com/agents.md

{"capability":"bilibili.videos.search","query":"机械键盘","max_price":"0.002"}

REST:

curl -G "https://api.dataxapi.com/v1/bilibili/videos/search" \
  --data-urlencode "query=机械键盘" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"

bilibili.videos.search costs $0.002 per call. Every capability ID maps to its path: dots become slashes under /v1. Finding endpoints, reading their parameters and their prices is free and needs no key.

Before you call

  • The BV number. A video is named by its BV number, 12 characters starting with BV1, or by its page link (bilibili.com/video/BV…); a b23.tv short link from the app is taken too.
  • The user number (mid). A user is named by the digits after space.bilibili.com/ in a space link.
  • Replies need two IDs. Replies take the comment's ID and its video's BV number, both as the comment list returns them (id and post_id).
  • Fewer counts in an upload list. A user's video list gives views, comments and danmaku, but no likes, coins, saves or shares; read a video's detail for those.
  • Empty is not “not found”. A user number nobody has returns an empty video list.

Every Bilibili endpoint

Capability ID Name Returns Price A page
bilibili.comments.replies.list Bilibili comment replies (B站评论回复) Get a page of replies to a Bilibili comment, by the comment's ID and its video's BV number: text, replier, likes, what it answers, time posted. $0.002 per call up to 20
bilibili.trends.list Bilibili hot searches (B站热搜榜) Get Bilibili's current hot search terms, up to 50, with rank, heat and the words the list shows for each. $0.002 per call up to 50
bilibili.users.get Bilibili user profile (B站用户资料) Get a Bilibili user's profile by user number: name, bio, avatar, verification and what it says, follower and following counts, number of videos, likes received in all, account level, live room link. $0.002 per call one object
bilibili.users.videos.list Bilibili user videos (B站用户投稿) Get a page of the videos a Bilibili user uploaded, newest first: title, description, views, comments, da
Полный SKILL.md на ClawHub

Установить B站数据 API · Bilibili data API · DataXAPI в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл B站数据 API · Bilibili data API · DataXAPI?

Public Bilibili data through DataXAPI: videos, users, comments, trends. 13 endpoints, $0.0020 to $0.0300 a call, a failed call is free. Use when the user asks about Bilibili content, accounts, comments or trends, or gives a Bilibili link, ID or account name. 通过 DataXAPI 取B站的公开数据:视频、用户、评论、热榜。13 个接口,一次 $0.0020 到 $0.0300,失败不收费。用户问到B站的内容、账号、评论或热点,或给出B站的链接、编号、账号名时使用。

Как установить скилл B站数据 API · Bilibili data API · DataXAPI?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл B站数据 API · Bilibili data API · DataXAPI запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить B站数据 API · Bilibili data API · DataXAPI с