# What are Bilibili BV ids, aids and mids? (2026)

A BV id names a video: 12 characters starting with BV1, right after bilibili.com/video/ in its link; an aid is the same video's older number; a mid is a user's number, the digits after space.bilibili.com/. DataXAPI reads a video by BV id (or its link or b23.tv short link pasted as it is) and an uploader by mid, at $0.0020 a call. DataXAPI reads Bilibili with 9 endpoints, from $0.0020 a call; a failed call is not charged, and the free trial covers up to 333 calls.

Updated 2026-11-06

## How do I read them off a link?

The app shares a b23.tv short link; give it to the endpoint as it is, and it is opened once to see which video it leads to.

| ID | Looks like | Where |
| --- | --- | --- |
| BV id | `BV1ECeJ65EZS` | `bilibili.com/video/BV…` |
| aid | Digits | Old links, `bilibili.com/video/av…` |
| mid (user number) | `8047632` | `space.bilibili.com/8047632` |
| Comment ID | Digits | The `id` the comment endpoint returns, passed with the BV id for replies |

## Which endpoint takes which ID?

`bilibili.videos.get` and `bilibili.videos.comments.list` take a BV id; `bilibili.users.get` and `bilibili.users.videos.list` a mid; `bilibili.comments.replies.list` a comment ID with the BV id. In video details and search results, `author.id` is the uploader's mid.

## 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 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 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 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 comment replies](https://dataxapi.com/apis/bilibili/comments/replies/list/) ($0.0020 / a call): Get a page of replies to a Bilibili comment, by the comment's ID and its video's BV number: text, replier, likes, what it answers, time posted.

## How-to guides

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

## 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 API: videos, comments and uploader data (2026)](https://dataxapi.com/answers/bilibili-data-apis/)
- [Bilibili MCP server for Claude and Cursor (2026)](https://dataxapi.com/answers/bilibili-mcp/)
- [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-bv-aid-mid/)
