Provide one Bilibili video BV ID or av ID and an expected comment count to receive public comments, user details, engagement, and timestamps
30-day success rate 15.2%
Collect Bilibili (bilibili.com) video stats by keyword search or by video link: views, likes, coins, favorites, shares, danmaku, comments, duration, category, uploader and more
Give it a keyword, or a batch of video links, and it pulls the matching Bilibili videos into one performance table: title, views, likes, coins, favorites, shares, danmaku, comments, duration, category, publish date and uploader.
For content operators and topic researchers the slow part is rarely the judgement - it is copying views, likes and favorites off one video page after another into a spreadsheet. This app turns that step into a single run: give it a keyword and it walks the on-site search ranking, give it links and it fetches exactly those.
By keyword: set Collection mode to Keyword search, enter a term (for example 猫咪), and use Max results to control how many rows you get. This is the default mode.
By video link: set Collection mode to Video links, then put a JSON array in the Video links field. Copy this and edit it:
["https://www.bilibili.com/video/BV17x411w7KC", "BV1jFUkBPEZA"]
For more addresses, separate them with commas and quote each one. All of these forms are accepted:
| Format | Example |
|---|---|
| Full link | https://www.bilibili.com/video/BV17x411w7KC |
| Mobile link | https://m.bilibili.com/video/BV17x411w7KC |
| Bare BV ID (any case) | BV1jFUkBPEZA, bv1jFUkBPEZA |
| av number or bare numeric aid | av170001, 170001 |
| Short link | https://b23.tv/BV17x411w7KC |
| Whole pasted share message | 【some video】 https://b23.tv/BV17x411w7KC |
If a run reports start_urls: '...' is not of type 'array', the field holds plain text - add the square brackets and quotes as shown above.
Two things to know: running with nothing filled in searches cat and returns 50 rows by default, so it really does spend money; and asking for 1000 rows usually yields just over 900. The reason is below.
One record per video, deduplicated on the BV ID, so re-running the same input never produces duplicate rows. Both collection modes land in the same table and differ only in the source columns: Matched keyword and Search rank have values only in keyword search, while link collection leaves the first empty and sets the second to -1.
In keyword search the app keeps paging until it has enough rows for Max results rather than stopping after a fixed number of pages, because adjacent search pages frequently repeat the same video and a fixed page count would come up short after dedupe. That dedupe is also why Search rank skips numbers (asking for 100 rows may reach rank 119): those are the videos' real positions in the results, not missed rows. Site search pages out at 50, which is why 1000 usually returns just over 900; a keyword with fewer results than requested also comes up short, and both cases are stated in the log.
Views, likes, coins, favorites, shares, danmaku and comments are all cumulative values as of the scrape and move with a video's popularity. To compare trends, re-run the same input a few days later and use Fetched at to separate batches. Duration is normalised to seconds. Publish date and fetch time are both UTC, so reading them as Beijing time is 8 hours off.
The on-site search endpoint does not return coins or shares, so those columns are filled from the video detail call; when a detail call fails the value is -1, meaning "not retrieved" rather than zero. Likes and comments follow the same convention.
Shares come straight from the raw value in Bilibili's detail endpoint and reflect the platform's own definition (it appears to count off-platform forwards), so some videos show eight-figure numbers. That is the raw data Bilibili returns, not a parsing error - if you reconcile against another tool, a mismatch on this column is expected.
Category is filled in both modes where possible: keyword search takes the category name from site search, while link collection gets only a category ID from the detail endpoint, so the app reverse-looks it up from related videos in the same category. That covers the vast majority; the rare gaps (no related video in that category) stay empty, and Tags can stand in for judging content type. Listing the same video by both BV and av produces a single row.
Follower-only, deleted, removed and paywalled videos cannot be fetched; they are skipped and logged without affecting the rest of the batch. The comment column gives a count only, never the text, and danmaku likewise gives only a count.
Each record is a snapshot of one video's performance at scrape time.
| Video title | Views | Likes | Favorites | Danmaku | Uploader |
|---|---|---|---|---|---|
| 给我家猫咪看的动画 | 1492116 | 11818 | 12902 | 1569 | 猫老大的世界 |
| 【MV】保加利亚妖王AZIS视频合辑 | 45851017 | 943944 | 876717 | 915703 | 冰封.虾子 |
Beyond this table the output carries coins, shares, comments, duration, thumbnail, category, publish date, uploader ID and avatar, video URL, matched keyword, search rank, tags and part count.
Topic research: search a batch of videos by keyword, group views by category, and see which content type takes off under that topic; combine with duration to learn whether short punchy clips or long videos win.
Engagement quality: compute likes, coins and favorites against views. Videos with a high coin and favorite ratio are strongly endorsed by the audience, which is closer to real sentiment than raw views.
Ranking tracking: run the same keyword every few days and watch search rank against views to see which video is climbing; publish date helps you discount the natural accumulation of older videos.
Uploader review: group a batch by uploader name to see how many videos each account produced on the topic and what their average views look like.
Parameters required to call this App.
modeRequiredstring(enum)searchqueryOptionalstringcatstart_urlsOptionalarray<string>["https://www.bilibili.com/video/BV17x411w7KC"]max_resultsOptionalinteger50Field structure of a single record.
bvidstringBV1jFUkBPEZAaidinteger115603541137064titlestringAnimation for my catdescriptionstringCharged by the number of records successfully returned. Failed runs are not charged.
Multiple billing events accumulate independently. See each item for details. Failed runs are not charged.
View creditsRuns once for real with the parameters you enter, billed per Pricing.
With MCP you can call this Data App directly from AI clients such as Claude and Cursor.
No setup needed. Copy this sentence to your AI and continue with what you want to do:
Not connected yet? Set it up once with any method below, and every Data App works from then on.
Replace YOUR_API_KEY with your own API key; works with all clients, CI and headless environments.Get API key →
{
"mcpServers": {
"octoparse_datahub": {
"type": "http",
"url": "https://mcp-v2.octoparse.com",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}Don't want to edit configs by hand? Copy the install prompt and paste it into any AI client. It will complete the setup its own way. (By default it guides you through signing in, and never asks you to send your API key in the chat.)
Only public Bilibili video display and engagement data; no user privacy data, no video file downloads, no comment text
This App runs asynchronously and can be canceled midway; results returned before you cancel are kept and billed as usual.
When connected via MCP, the AI reads these notes automatically; when using the API or SDK, handle them in your code.
Per record: $0.00015 / record; failed runs are not billed.See Pricing →
Only public Bilibili video display and engagement data; no user privacy data, no video file downloads, no comment textSee Notes →
Yes. Connect Octoparse Data Hub once and you can call every Data App by name in your chat, including llx/bilibili-video-scraper.See Integration →