# Bilibili MCP server for AI agents

> Give Claude, Cursor or any MCP client Bilibili data: 15 endpoints from $0.002 a call, no Bilibili login. Your AI finds the endpoint, says the price and fetches.

Canonical page: https://okdata.online/vi/mcp/bilibili/

## Connect your AI in one sentence

```text
Set up okdata for me by following https://okdata.online/agents.md. Here is my okdata API key: okd_…. Keep it safe and use it for all okdata calls.
```

## What it answers

| Question | Endpoint | Price |
|---|---|---|
| Tìm video Bilibili: Video khớp từ khóa, kèm lượt xem, danmaku, lượt thích và xu. | [bilibili.videos.search](https://okdata.online/apis/bilibili/videos/search/) | $0.002 per call · about 20 videos per page |
| Chi tiết video Bilibili: Một video theo BV ID hoặc link. | [bilibili.videos.get](https://okdata.online/apis/bilibili/videos/get/) | $0.002 per call |
| Bình luận video Bilibili: Bình luận của một video, hot nhất hoặc mới nhất trước. | [bilibili.videos.comments.list](https://okdata.online/apis/bilibili/videos/comments/list/) | $0.002 per call · about 20 comments per page |
| Tìm kiếm nổi bật Bilibili: Các từ khóa tìm kiếm nổi bật của Bilibili lúc này, tối đa 50, kèm thứ hạng và độ hot. | [bilibili.trends.list](https://okdata.online/apis/bilibili/trends/list/) | $0.002 per call · about 50 board entries per page |
| Hồ sơ tài khoản Bilibili: Một tài khoản theo user ID: tên, tiểu sử, avatar, xác minh và nội dung xác minh, số người theo dõi, đang theo dõi, số video, tổng lượt thích, cấp độ và liên kết phòng live. | [bilibili.users.get](https://okdata.online/apis/bilibili/users/get/) | $0.002 per call |
| Video của tài khoản Bilibili: Các video tải lên của một tài khoản, mới nhất trước, 30 mỗi trang: tiêu đề, mô tả, lượt xem, bình luận, danmaku, thời lượng và thời điểm đăng. | [bilibili.users.videos.list](https://okdata.online/apis/bilibili/users/videos/list/) | $0.002 per call · about 30 videos per page |
| Trả lời bình luận Bilibili: Các phản hồi cho một bình luận, theo ID bình luận và BV ID của video: nội dung, người phản hồi, lượt thích, phản hồi mà mỗi mục trả lời (parent_id), thời gian đăng và vị trí IP. | [bilibili.comments.replies.list](https://okdata.online/apis/bilibili/comments/replies/list/) | $0.002 per call · about 20 comments per page |
| Video phổ biến Bilibili: Video phổ biến của Bilibili, 20 mỗi trang: tiêu đề, mô tả, người đăng, lượt xem, lượt thích, xu, lưu, danmaku, thời lượng, phân khu, vị trí IP và lý do được đề xuất. | [bilibili.videos.trending](https://okdata.online/apis/bilibili/videos/trending/) | $0.002 per call · about 20 videos per page |
| Phòng live Bilibili: Một phòng live Bilibili theo số phòng hoặc liên kết live.bilibili.com: đang live hay không, tiêu đề, user ID và số người theo dõi của host, thời gian bắt đầu, điểm độ hot của phòng, khu vực, thẻ và ảnh bìa. Phòng phát lại bản ghi giữa các buổi được tính là offline. | [bilibili.live.rooms.get](https://okdata.online/apis/bilibili/live/rooms/get/) | $0.002 per call |
| Trạng thái live của tài khoản Bilibili: Một tài khoản Bilibili có đang live hay không, theo ID người dùng: số phòng và liên kết, tiêu đề, ảnh bìa và điểm phổ biến của phòng, cùng host và người theo dõi. bilibili.live.rooms.get có thời gian bắt đầu, khu vực và thẻ. | [bilibili.live.users.get](https://okdata.online/apis/bilibili/live/users/get/) | $0.002 per call |
| Danmaku Bilibili: Danmaku (bình luận chạy chữ) của một video Bilibili theo BV ID, mỗi trang là một đoạn 6 phút của video, theo thứ tự phát: nội dung, giây hiển thị và thời điểm gửi. Không có người gửi. | [bilibili.videos.danmaku.list](https://okdata.online/apis/bilibili/videos/danmaku/list/) | $0.043 per call · about 20 results per page |
| Phụ đề video Bilibili: Lời nói trong một video Bilibili, theo BV ID: toàn văn và các đoạn có mốc thời gian, lấy từ phụ đề của video (của người đăng hoặc phụ đề AI của Bilibili). Video không có phụ đề trả về not found và bị tính phí như mọi lần tra cứu. | [bilibili.videos.transcript.get](https://okdata.online/apis/bilibili/videos/transcript/get/) | $0.003 per call |
| Chuyển giọng nói video Bilibili thành văn bản: Lời nói trong một video Bilibili, theo BV ID hoặc liên kết chia sẻ (b23.tv), dành cho video không có phụ đề (bilibili.videos.transcript.get đọc phụ đề với giá thấp hơn): toàn văn và các đoạn có mốc thời gian, chép từ âm thanh video bằng nhận dạng giọng nói. Video tối đa 30 phút; video dài hơn bị từ chối trước khi tính bất kỳ phí nhận dạng nào. Yêu cầu lại cùng video sẽ trả về bản chép lời đã có. | [bilibili.videos.asr.get](https://okdata.online/apis/bilibili/videos/asr/get/) | $0.046 per call |
| Bilibili account search: Find Bilibili accounts (UP主) by keyword, about 20 a page: user ID (mid), name, avatar and followers. The profile has the rest. | [bilibili.users.search](https://okdata.online/apis/bilibili/users/search/) | $0.002 per call · about 20 accounts per page |
| Bilibili video and audio tracks: Where a Bilibili video can be downloaded, by BV ID or share link: its DASH tracks, video (each quality a signed-out viewer gets, in each codec, with its bitrate) and audio separately, to be joined after download, with the cover and length. Bilibili's hosts refuse requests without https://www.bilibili.com/ as Referer (given in referer). The first part of a multi-part video. The links expire, mostly within hours: download soon after asking. | [bilibili.videos.media.get](https://okdata.online/apis/bilibili/videos/media/get/) | $0.004 per call |

## Two calls

1. `find {"query":"bilibili videos"}`: free
2. `call {"capability":"bilibili.videos.search","query":"Claude Code 教程"}`: $0.002 per call · about 20 videos per page

## Skill package

- `okdata-bilibili`: https://okdata.online/.well-known/agent-skills/okdata-bilibili/SKILL.md · https://okdata.online/skills/okdata-bilibili.zip

[Every Bilibili endpoint](https://okdata.online/apis/bilibili/) · [MCP server](https://okdata.online/mcp/) · [Integrations](https://okdata.online/integrations/)
