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 inmetrics, the next page inpage.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-Pricecaps one call, and the sameIdempotency-Keywithin 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
Each with its price; every page has the parameters, the fields and a recorded response.
Start with one key.
230 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.