Bilibili Scraper API - Search, Danmaku, Video Stats, Monitor avatar

Bilibili Scraper API - Search, Danmaku, Video Stats, Monitor

Pricing

$2.49 / 1,000 items

Go to Apify Store
Bilibili Scraper API - Search, Danmaku, Video Stats, Monitor

Bilibili Scraper API - Search, Danmaku, Video Stats, Monitor

Bilibili (哔哩哔哩, the Chinese YouTube) scraper API, no login: video search with sort and date filters, video stats (views, likes, coins, favorites, shares), tags, danmaku (弹幕) with timestamps, top comments, uploader profiles and popular videos. Monitor mode returns new videos only. $2.49 per 1,000.

Pricing

$2.49 / 1,000 items

Rating

0.0

(0)

Developer

Quiet Harvest

Quiet Harvest

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

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.

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?

  1. Open the actor on Apify and click Try for free. A free Apify account is enough to start.
  2. Add keywords, video links (BV ids and b23.tv links work) or uploader links. You can mix them in one run.
  3. Turn on extras if you want them: fullDetails, danmakuPerVideo, topComments. Keep danmakuPerVideo small on big searches.
  4. Click Start. No login or cookie is needed.
  5. 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

FieldDefault
searchKeywords[]Chinese or English
maxVideosPerKeyword50Max 1,000
sortrelevancerelevance, views, newest, danmaku, favorites, comments
durationanyany, under10, 10to30, 30to60, over60 (minutes)
publishedAfter, publishedBeforeYYYY-MM-DD, China time
videoUrls[]BV/av URLs, BV ids or b23.tv links
users[]space.bilibili.com/
popularVideos00 = off
fullDetailsfalseCoins, shares, tags, cid for search/popular videos
danmakuPerVideo0Applies to every video returned
topCommentsfalseApplies to every video returned
onlyNewfalseSkip items returned in earlier runs
requestGapSecs1Seconds 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 fullDetails for them (one extra request per video). Video URLs always get full details.
  • Each danmaku line is one item and danmakuPerVideo applies 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 danmakuPerVideo should 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.