Bilibili Scraper API - Search, Danmaku, Video Stats, Monitor
Pricing
$2.49 / 1,000 items
Bilibili Scraper API - Search, Danmaku, Video Stats, Monitor
Research Chinese video trends and audience reactions. Bilibili (哔哩哔哩) scraper API, no login: video search with sort and date filters, stats (views, likes, coins, favorites, shares), tags, danmaku (弹幕) with timestamps, uploader profiles and popular videos. Monitor mode. $2.49 per 1,000.
Pricing
$2.49 / 1,000 items
Rating
0.0
(0)
Developer
Quiet Harvest
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
2
Monthly active users
14 days ago
Last modified
Categories
Share
Bilibili Scraper
A Bilibili scraper (哔哩哔哩, B站) that needs no login: video search, full video stats, danmaku (弹幕) with the second they appear, top comments, uploader profiles and the popular list.
$2.49 per 1,000 items. No cookie needed.
Quick start
Runs as-is with this input (the same input Apify tests daily):
{"searchKeywords": ["露营"]}
Main output fields: type, cover, title, author, views, likes, coins, favorites, danmaku, comments, publishedAt, text, atSec, name, followers, url.
Price: Item: $2.49 per 1,000. Pay only for results delivered.
Run it from code and get the results in one call: POST https://api.apify.com/v2/acts/reportable_broth~bilibili-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN with the input above as the JSON body.
What does Bilibili Scraper do?
- Search. Up to 1,000 videos per keyword. Sort by relevance, views, newest, danmaku, favorites or comments. Filter by length and publish date.
- Video details. Views, likes, coins, favorites, shares, danmaku and comment counts, tags.
- Danmaku. Each bullet comment with its text, the second it shows up, when it was sent, and its color.
- Top comments. The pinned and top ones Bilibili shows to visitors, usually 3.
- Uploaders (UP主). Followers, following, video count, likes received, level, verification.
- Popular. The current 热门 list.
What can I use it for?
- Find the most-viewed or newest videos on a topic, within a date range.
- See which moments of a video got the most danmaku.
- Compare uploaders by followers, likes received and level.
- Check new videos on a keyword every hour.
- Save the 热门 list to see what's trending.
How do I use it?
- Open the actor on Apify and click Try for free. A free Apify account is enough to start.
- Add keywords, video links (BV ids and b23.tv links work) or uploader links. You can mix them in one run.
- Turn on extras if you want them:
fullDetails,danmakuPerVideo,topComments. KeepdanmakuPerVideosmall on big searches. - Click Start. No login or cookie is needed.
- When it finishes, open the Output tab and download JSON, CSV or Excel. Or read the dataset through the API.
Examples
New videos on a keyword since a date, newest first:
{ "searchKeywords": ["露营", "iPhone 17"], "maxVideosPerKeyword": 100, "sort": "newest", "publishedAfter": "2026-09-01" }
Danmaku and top comments for one video:
{ "videoUrls": ["https://www.bilibili.com/video/BV1cXNW6XEeC"], "danmakuPerVideo": 500, "topComments": true }
An uploader's profile and the popular list:
{ "users": ["https://space.bilibili.com/1864674231"], "popularVideos": 50 }
Input
| Field | Default | |
|---|---|---|
searchKeywords | [] | Chinese or English |
maxVideosPerKeyword | 50 | Max 1,000 |
sort | relevance | relevance, views, newest, danmaku, favorites, comments |
duration | any | any, under10, 10to30, 30to60, over60 (minutes) |
publishedAfter, publishedBefore | YYYY-MM-DD, China time | |
videoUrls | [] | BV/av URLs, BV ids or b23.tv links |
users | [] | space.bilibili.com/ |
popularVideos | 0 | 0 = off |
fullDetails | false | Coins, shares, tags, cid for search/popular videos |
danmakuPerVideo | 0 | Applies to every video returned |
topComments | false | Applies to every video returned |
onlyNew | false | Skip items returned in earlier runs |
requestGapSecs | 1 | Seconds between requests |
What data do I get?
Rows have a type: video, danmaku, comment or user.
{"type": "video","id": "BV1cXNW6XEeC","url": "https://www.bilibili.com/video/BV1cXNW6XEeC","title": "...","author": "...","publishedAt": "2026-09-18T07:38:24+00:00","durationSec": 612,"views": 48200, "likes": 3100, "coins": 820, "favorites": 1500,"danmaku": 960, "comments": 210,"tags": ["露营"]}
Also: aid, description, authorId, authorUrl, shares, category, cover, cid. Danmaku rows have text, atSec, sentAt, color.
Text comes back as posted, mostly Simplified Chinese. Nothing is translated.
Limits
- Visitors only see the top ~3 comments per video. That's Bilibili's rule. Danmaku aren't limited, a popular video gives thousands.
- An uploader's full video list and deep comment threads need a login, so they're not in here yet.
- Coins and shares aren't in search results. Turn on
fullDetailsfor them (one extra request per video). Video URLs always get full details. - Each danmaku line is one item and
danmakuPerVideoapplies to every video. Keep it small on big searches. - One IP per run, switched when Bilibili pushes back. If it keeps pushing back the run stops and you only pay for what was delivered.
How much does it cost?
$2.49 per 1,000 items. Videos, danmaku lines, comments and uploader profiles each count as one. There's no separate compute charge.
Some real numbers:
- 1,000 videos from one keyword: 1,000 × $0.00249 = $2.49.
- 100 videos with top comments (about 3 each): about 400 items = about $1.00.
- 100 videos with 200 danmaku each: 100 + 20,000 = 20,100 items = $50.05. This is why
danmakuPerVideoshould stay small on searches.
With onlyNew on and a schedule (hourly, say), each run only returns and charges for new videos, danmaku and comments. Apify's free plan gives you $5 of credit a month. That's about 2,000 items here.
FAQ
Do I need a Bilibili account or cookie? No. Everything here uses what Bilibili shows to logged-out visitors.
Why do I only get about 3 comments per video?
That's all Bilibili shows to visitors. Danmaku don't have this limit, so use danmakuPerVideo if you want audience reactions in bulk.
Why did I get fewer videos than I asked for?
Bilibili search stops at 1,000 videos per keyword, and date or length filters can leave fewer. With onlyNew on, videos from earlier runs are skipped on purpose.
Can I schedule it?
Yes. Save your input as a Task, add a Schedule, and turn on onlyNew so each run only returns new items.
Other scrapers I made
Found a bug or need a field? Open an issue on the Issues tab.
中文说明
不用登录,抓 B 站视频搜索(可按播放、最新、弹幕、收藏排序,可筛时长和发布日期)、视频数据(播放、点赞、投币、收藏、分享)、带出现秒数的弹幕、热门评论、UP 主资料和热门视频。每 1,000 条 $2.49。
Only collects public data. You're responsible for how you use it.