# Bilibili API: videos, comments and uploader data (2026)

Bilibili's open platform is for uploaders managing their own channel, and its scopes include no search; to find videos by keyword and read any video's details and comments, any uploader's videos and the popular lists, use a third-party data API. DataXAPI has 9 Bilibili endpoints at $0.0020 a call, with no account, cookie or wbi signature of yours. The free trial covers up to 333 calls; a failed call is not charged.

Updated 2026-11-06

## Does Bilibili have an official API?

Yes. Bilibili's open platform lists the scopes `USER_INFO`, `USER_DATA`, `ARC_BASE`, `ARC_DATA`, `ATC_DATA` and `LIVE_ROOM_DATA`: the authorising user's own profile, figures, videos, articles and live room. None is search.

The endpoints the web pages call without a login need a wbi signature and answer 412 or -352 once requests come fast.

## What do DataXAPI's Bilibili endpoints return?

A video is named by its BV number (12 characters starting with BV1), or its link or b23.tv short link pasted as it is; an uploader by the user number (mid), the digits after space.bilibili.com/.

| You want | Endpoint | Returns |
| --- | --- | --- |
| Videos by keyword | `bilibili.videos.search` | Title, uploader, plays, likes, favourites, comments; newest or most played first |
| One video | `bilibili.videos.get` | Plays, likes, coins, favourites, danmaku, length |
| Comments and replies | `bilibili.videos.comments.list`, `bilibili.comments.replies.list` | Most popular first, with likes and replies |
| An uploader and their videos | `bilibili.users.get`, `bilibili.users.videos.list` | Followers and video count; videos newest first, about 30 a page |
| Popular videos and hot searches | `bilibili.videos.trending`, `bilibili.trends.list` | The popular list, up to 50 hot search terms |

## What does a study cost?

Three pages of search, then 2 pages of comments under the first 30 videos: 3 + 60 = 63 calls at $0.0020, $0.126. 100 uploaders checked weekly come to about 400 calls a month, $0.80. A failed call is not charged.

## Why DataXAPI

- Steady: endpoints were available 100% of the last 30 days, on a public status page you can check.
- Fast: a paid call took 1.6 seconds at the median over the last 7 days (counted 2026-11-06).
- Fewer tokens: across 9 endpoints on Bilibili, one recorded real response each, the platform's own JSON comes to 477k tokens and what an AI reads through DataXAPI's MCP server to 21k, 96% fewer; the JSON of a direct API call is 95% fewer too (counted 2026-11-06). Every platform answers in one shape: the author in `author`, counts in `metrics`, the next page in `page.next_cursor`, so another platform needs no new parser.
- See before you pay: every endpoint's page shows a recorded real response, field by field.
- Spending you control: a failed call is not charged; each key can have a limit, `X-Max-Price` caps one call, and the same `Idempotency-Key` within 24 hours is never charged twice.
- Ready for AI: a remote MCP server listed in the official MCP registry as `com.dataxapi/mcp`, usable from Claude, Cursor and ChatGPT.
- Free trial of up to 333 calls, no card.

## Endpoints

- [Bilibili video search](https://dataxapi.com/apis/bilibili/videos/search/) ($0.0020 / a call): Get a page of Bilibili videos for search terms, by relevance, newest or most played: title, uploader, views, likes, saves, comments, length.
- [Bilibili video detail](https://dataxapi.com/apis/bilibili/videos/get/) ($0.0020 / a call): Get one Bilibili video by BV number or link: title, description, uploader, views, likes, coins, saves, danmaku count, length.
- [Bilibili video comments](https://dataxapi.com/apis/bilibili/videos/comments/list/) ($0.0020 / a call): Get a page of comments on a Bilibili video by BV number, most liked first: text, commenter, likes, reply count, time posted.
- [Bilibili user profile](https://dataxapi.com/apis/bilibili/users/get/) ($0.0020 / a call): Get a Bilibili user's profile by user number: name, bio, avatar, verification, follower and following counts, number of videos.
- [Bilibili user videos](https://dataxapi.com/apis/bilibili/users/videos/list/) ($0.0020 / a call): Get a page of the videos a Bilibili user uploaded, newest first: title, description, views, comments, danmaku count, length, time published.
- [Bilibili popular videos](https://dataxapi.com/apis/bilibili/videos/trending/) ($0.0020 / a call): Get a page of Bilibili's popular videos: title, description, uploader, views, likes, coins, saves, danmaku count, length.
- [Bilibili hot searches](https://dataxapi.com/apis/bilibili/trends/list/) ($0.0020 / a call): Get Bilibili's current hot search terms, up to 50, with rank and heat.

## How-to guides

- [Bilibili API in Python: videos and comments (2026)](https://dataxapi.com/guides/bilibili-api-python/)

## Sources

What this page says of other services is from their own pages and documents, read on 2026-10-29.

- [Bilibili open platform: scope list](https://member.bilibili.com/arcopen/user/config/scopetype)

## More about Bilibili

- [Bilibili API](https://dataxapi.com/apis/bilibili/)
- [What are Bilibili's 412 error and wbi? (2026)](https://dataxapi.com/answers/bilibili-412-wbi/)
- [How do I export Bilibili comments in bulk? (2026)](https://dataxapi.com/answers/export-bilibili-comments/)
- [What does Bilibili's -352 error mean? (2026)](https://dataxapi.com/answers/bilibili-352-risk-control/)
- [What does Bilibili's API校验密匙错误 (code -3) mean? (2026)](https://dataxapi.com/answers/bilibili-api-key-error-minus-3/)
- [Bilibili MCP server for Claude and Cursor (2026)](https://dataxapi.com/answers/bilibili-mcp/)
- [What are Bilibili BV ids, aids and mids? (2026)](https://dataxapi.com/answers/bilibili-bv-aid-mid/)
- [Bilibili API for AI agents and LLMs: fewer tokens, called from Claude and Cursor (2026)](https://dataxapi.com/answers/bilibili-api-for-ai-agents/)

---

Catalog revision 9d3b7fa5a896745d. [HTML version](https://dataxapi.com/answers/bilibili-data-apis/)
