# 哔哩哔哩数据接口与 API

哔哩哔哩 API 能力一览：可用接口、按次价格、翻页方式和已知限制，供 AI Agent 直接调用。

规范地址: https://socialtoai.com/zh/platforms/bilibili/

## 选择下一个调用

下方每个可用操作都使用同一套核心响应结构。价格和参数支持以当前参考卡为准。

| 平台 | 动作 | Credits | 可用性 |
|---|---|---|---|
| 哔哩哔哩 | [search](https://socialtoai.com/zh/bilibili-search-api/) | 0.2 | 可用 |
| 哔哩哔哩 | [trending](https://socialtoai.com/zh/bilibili-trending-api/) | 0.2 | 可用 |
| 哔哩哔哩 | [detail](https://socialtoai.com/zh/bilibili-detail-api/) | 0.2 | 可用 |
| 哔哩哔哩 | [comments](https://socialtoai.com/zh/bilibili-comments-api/) | 0.2 | 可用 |
| 哔哩哔哩 | [user_profile](https://socialtoai.com/zh/bilibili-user-profile-api/) | 0.2 | 可用 |
| 哔哩哔哩 | [user_posts](https://socialtoai.com/zh/bilibili-user-posts-api/) | 0.2 | 可用 |

## 已知边界

搜索返回视频。不支持的热度排序会回退为综合排序；图文筛选回退为视频，并附带 warning。

每次搜索最多读取 20 条原生记录。默认 count=20 时可以直接翻到下一个原生页；过滤非视频或重复记录后，返回条数可能少于请求数。

count 较小时，翻页会继续读取同一源页面的剩余部分。如果上游条目或顺序发生变化，翻页会以 upstream_error 失败且不扣费。不保证快照稳定；网关不会自动重试或放大 count。

作品请使用 BV 号、标准视频链接或 b23.tv 分享链接；账号请使用数字 UID 或 space.bilibili.com 主页链接。

评论翻页和回复分支请原样传入返回的不透明 cursor。
