Data APIs / Bilibili
Bilibili data API
8 Bilibili endpoints: posts, comments, accounts, search and trending, from $0.002 a call. Failures are free. No Bilibili account needed.
The 8 endpoints
Posts (3)
| Endpoint | What you get | Per call |
|---|---|---|
| Bilibili video | One video: title, description, cover, length, uploader, plays, likes, coins, favorites, danmaku and comments | $0.002 |
| Bilibili uploader videos | An uploader's videos, newest first, page by page | $0.002 |
| Bilibili video search | Search videos by keyword, ordered by relevance, most played or newest | $0.003 |
Comments (2)
| Endpoint | What you get | Per call |
|---|---|---|
| Bilibili video comments | Comments under a video: text, time, commenter, likes and reply count, page by page | $0.002 |
| Bilibili comment replies | Replies under one Bilibili comment: text, time, author and likes, page by page | $0.002 |
Accounts (2)
| Endpoint | What you get | Per call |
|---|---|---|
| Bilibili uploader profile | An uploader: name, bio, avatar, verification and level | $0.002 |
| Bilibili account search | Find Bilibili accounts by keyword: UID, name, avatar and followers, 20 a page | $0.002 |
Trending (1)
| Endpoint | What you get | Per call |
|---|---|---|
| Bilibili trending searches | Bilibili trending search terms right now | $0.002 |
A typical use and its bill
One page of comments under a Bilibili post (the platform decides how many, usually 10–40): $0.002 a page, billed per page.
Use it in your AI
With the MCP server installed, you can say:
- "What are people complaining about under this Bilibili post? Top 20 by likes."
- "How did this Bilibili account's last 10 posts do?"
- "What is trending on Bilibili right now?"
Questions
How much does the Bilibili API cost?
From $0.002 a call; each endpoint has its own price, listed above. Failures, timeouts and missing objects are free. New accounts get trial credit, no card needed.
Do I need a Bilibili account?
No. Only public data is read; no platform account, cookie or authorisation is needed.
Where do I find the IDs?
Videos take the BV ID; users take the UID after space.bilibili.com/.
How fresh is the data?
Each call reads the platform at that moment; meta.fetched_at says when.
How do I let Claude or Cursor read Bilibili?
Install the FeedMCP MCP server in your AI and just ask; it picks the endpoint and calls it.
Can this get my account banned?
No. Calls do not go through your account.