Platforms / Social / Bilibili

Social

Bilibili data API

8 Bilibili endpoints are live: videos, danmaku, comments, creators, search and popular. Only successful calls that return data are billed; each endpoint's parameters, price and full response example are in the API reference. Bilibili posts are also covered by the cross-platform search.

Endpoints Open in the API reference →

A real response Full example →

【硬核】国产大模型横评 2026H1

@c4d1…891K followers
1.2MPlays23.8KDanmaku45.2KCoins

一键三连

测试方法很严谨

Sample · native page style
GET /v1/raw/bilibili/videoReal response · excerpt
{
  "id": "soc_bil_9b89815a7ce3",
  "src": "social",
  "platform": "bilibili",
  "lang": "zh-CN",
  "text": "一口气看懂先进封装:H100、B200、CoWoS与HBM如何连接?\nAI芯片为什么离不开先进封装?…",
  "author": {
    "uid_hash": "8fb5730b2ca6",
    "mid": "1517478075",
    "name": "坤元Research",
    "avatar": "https://i0.hdslb.com/bfs/face/8036b7133d5ba1fdc4286353885fd…"
  },
  "metrics": {
    "plays": 220502,
    "likes": 5640,
    "coins": 3550,
    "saves": 7982,
    "comments": 404,
    "shares": 1558,
    "danmaku": 242
  },
  "extra": {
    "source_id": "BV1naKB64Evm",
    "url": "https://www.bilibili.com/video/BV1naKB64Evm",
    "title": "一口气看懂先进封装:H100、B200、CoWoS与HBM如何连接?",
    "aid": "116944493613065",
    "cid": "40089160246",
    "duration_s": 1697,
    "published_at": "2026-07-19T11:23:00+08:00",
    "category": {
      "id": 2103
    },
    "tags": [
      "先进封装"
    ],
    "keywords": [
      "先进封装"
    ],
    "cover": "https://i1.hdslb.com/bfs/archive/bca0873add82bb7e6c8d7cf2b2…"
  },
  "prov": {
    "hash": "0xb5092dfcfd4fa826",
    "ts": "2026-10-20T12:00:00+08:00",
    "source": "live"
  }
}

Make the call

curl -G https://api.qovia.ai/v1/raw/bilibili/video \
  -H "Authorization: Bearer $QOVIA_KEY" \
  --data-urlencode "bvid=BV1naKB64Evm"
import os, requests

resp = requests.get(
    "https://api.qovia.ai/v1/raw/bilibili/video",
    headers={"Authorization": f"Bearer {os.environ['QOVIA_KEY']}"},
    params={"bvid": "BV1naKB64Evm"},
)
print(resp.json()["data"])
// Add to any MCP client, then just ask in plain language
{
  "mcpServers": {
    "qovia": {
      "url": "https://api.qovia.ai/mcp",
      "headers": { "Authorization": "Bearer sk-qovia-…" }
    }
  }
}

FAQ

What Bilibili data can I get?

Video detail (title, description, uploader, category, tags, and play, like, coin, save, comment, share and danmaku counts), keyword video search, top-level comments and nested replies, danmaku, creator profiles and their uploads, and Bilibili's popular videos.

Which ID identifies a Bilibili video?

The video endpoints take the BV id (bvid), not the older av number; creator endpoints take the mid. Search, creator uploads and popular videos return records with the same ids as video detail.

How much danmaku can I get?

The danmaku endpoint returns the current and historical danmaku of the video's first part, de-duplicated and cut at limit; has_more true means it was cut, so raise limit. complete=false means some segments could not be fetched.

Do I need a Bilibili account or cookies?

No. All you need is a Qovia API key: no accounts, cookies, proxies or request signing to maintain.

How is it billed?

Prepaid and per call: only successful calls that return data are charged, and empty results, errors and timeouts are not. Every response says what it cost (meta.charged_usd). Each endpoint's price is in the API reference.

Can I use it from Claude, Cursor or other AI tools?

Yes. Qovia is also an MCP server (https://api.qovia.ai/mcp): add it to Claude Code, Cursor or VS Code with your API key and the AI finds the endpoint, pulls the data and summarises it.

What should I keep in mind when using the data?

Qovia provides a data API service and claims no ownership of the underlying content. Use the data under applicable law and Bilibili's platform rules; see our terms of service.

Ways to connect

More in Social

Your agent only knows what you give it

Give it Douyin, Xiaohongshu (RedNote), WeChat and product reviews: structured, per call, nothing charged for failures.