Bilibili Scraper: Videos, Creators, Comments & Danmaku avatar

Bilibili Scraper: Videos, Creators, Comments & Danmaku

Pricing

from $4.00 / 1,000 videos

Go to Apify Store
Bilibili Scraper: Videos, Creators, Comments & Danmaku

Bilibili Scraper: Videos, Creators, Comments & Danmaku

Scrape Bilibili (哔哩哔哩) videos by keyword, URL, creator (UP主) or trending list. Full stats, tags, creator followers, comments and danmaku with timestamps. Clean English fields, monitoring mode, no login needed.

Pricing

from $4.00 / 1,000 videos

Rating

0.0

(0)

Developer

Ahmed Ewis

Ahmed Ewis

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Share

Scrape Bilibili (哔哩哔哩, B站), China's largest video platform, into clean, structured data with English field names. Search by keyword, scrape any video, follow creators (UP主) or grab the trending lists, and get full stats, tags, creator follower counts, comments and danmaku (弹幕) with the exact second each one appears.

No Bilibili account needed. Pay only for what you get.

What you can scrape

InputExampleWhat you get
Keyword search原神, minecraft, cookingUp to 1,000 videos per keyword, sorted by relevance, views, newest, danmaku or favorites; filter by video length
Video URLshttps://www.bilibili.com/video/BV1KiJk67EQ9, b23.tv/..., BV..., av...That video's full data
Creators (UP主)https://space.bilibili.com/431956189The creator's uploads, newest first
TrendingPopular now / Top 100 rankingWhat's hot on Bilibili right now

Every video comes with:

  • Stats: views, likes, coins, favorites, shares, danmaku count, comment count
  • Details: title, description, cover image, publish time, duration, category (分区), tags, number of parts, original vs. repost
  • Creator: name, channel URL, avatar, follower count, bio, level
  • Danmaku (optional): text, playback second, send time, color and position. Great for finding the most-reacted moments in a video.
  • Comments (optional): text, likes, reply count, author and top replies

Why this scraper

  • Clean English output. Consistent field names, real numbers, ISO dates and durations in seconds, so it's ready for spreadsheets, BI tools and AI pipelines.
  • Danmaku with timestamps. See exactly what viewers react to, and when.
  • Monitoring mode. Schedule it daily on keywords, creators or trending lists and get only new videos (you're charged only for new ones).
  • Handles Bilibili's anti-bot checks automatically: visitor cookies, request signing (WBI) and automatic recovery. Optional proxy support if you need it.
  • Fair pricing. Pay per video, plus small per-item fees for comments and danmaku only if you ask for them. Set a maximum cost per run and the scraper stops cleanly at it.

Input example

{
"searchQueries": ["原神", "minecraft"],
"searchSort": "newest",
"maxVideosPerSearch": 100,
"creatorUrls": ["https://space.bilibili.com/431956189"],
"trending": "ranking",
"publishedWithinDays": 7,
"includeDanmaku": true,
"maxDanmakuPerVideo": 1000,
"includeComments": false
}

Output example

A real record (description shortened):

{
"bvid": "BV1KiJk67EQ9",
"aid": 117443632567747,
"url": "https://www.bilibili.com/video/BV1KiJk67EQ9",
"title": "我造了一块会飞的滑板...",
"description": "这次手搓的是一个操控难度有点高,但是超级灵活的个人飞行器—载人飞行滑板!…",
"coverUrl": "https://i1.hdslb.com/bfs/archive/72619f16a4b0703a5aa22c1c0bbcc5b9735f9799.jpg",
"publishedAt": "2026-10-15T09:30:00.000Z",
"durationSeconds": 598,
"category": "极客DIY",
"categoryId": 2104,
"tags": ["DIY", "梦想", "阶跃星辰", "阶跃终端"],
"partsCount": 1,
"isOriginal": true,
"stats": { "views": 5001935, "likes": 240390, "coins": 106203, "favorites": 81701, "shares": 33300, "danmaku": 6876, "comments": 10238 },
"creator": {
"mid": 431956189,
"name": "神奇阿宇Ayu",
"url": "https://space.bilibili.com/431956189",
"avatarUrl": "https://i1.hdslb.com/bfs/face/adce71d5e42b828d50b9f8625c3bded666468b46.jpg",
"followers": 1122901,
"bio": "相信自己",
"level": 6
},
"comments": null,
"danmaku": [
{ "text": "天才威", "timeSeconds": 0, "sentAt": "2026-10-16T01:44:36.000Z", "color": "#00a0ea", "mode": 5, "id": "2223181408041270528" },
{ "text": "麻烦加一下AI标签,谢谢!", "timeSeconds": 0.456, "sentAt": "2026-10-16T09:27:33.000Z", "color": "#ffffff", "mode": 1, "id": "2223414417759583488" }
],
"source": { "type": "video", "value": "https://www.bilibili.com/video/BV1KiJk67EQ9" },
"scrapedAt": "2026-10-17T09:54:23.362Z"
}

Download results as JSON, CSV, Excel or HTML, or use the API. A run summary (SUMMARY in the key-value store) shows every input with how many videos were found and output, and why any failed (e.g. a deleted video).

Good to know

  • Comments: Bilibili shows only a few comments (usually 3 plus their replies) to visitors who aren't logged in, and that's what the scraper returns by default. If you need more, add your own Bilibili login cookie in the Advanced section (see FAQ).
  • Danmaku: you get the danmaku Bilibili shows to viewers, typically 1,000+ per video spread across its whole length. The stats.danmaku count is Bilibili's all-time total, which includes older danmaku that Bilibili no longer shows.
  • Multi-part videos (分P): stats cover the whole video; duration and danmaku are for the first part.

Monitoring new videos

  1. Turn on Only new videos since the last run.
  2. Save as a task and add a schedule (e.g. every 6 hours).
  3. Connect an integration (Slack, email, Google Sheets, Zapier, Make, webhook) to get new videos as they appear.

Use a different Monitoring name for each separate setup to keep their histories apart.

Use cases

  • Brand & market research in China: track what's said about your brand, product or game.
  • Influencer marketing: find creators by topic, compare followers and engagement.
  • Gaming & anime industry: track launches, trailers and community reactions (danmaku shows the exact moments people react to).
  • Trend tracking: watch the popular and top-100 lists over time.
  • AI & research datasets: Chinese-language video metadata, comments and danmaku.

FAQ

Do I need a Bilibili account? No. Everything works without logging in. A login cookie is only useful for getting more than a few comments per video.

How do I add a login cookie? Log in to bilibili.com in your browser, open the developer tools (F12) → Application → Cookies → https://www.bilibili.com, copy the value of SESSDATA, and paste it as SESSDATA=<value>. It's stored encrypted. Use an account you're comfortable using for automation.

Do I need a proxy? Usually not. If Bilibili starts blocking runs (you'll see a clear message in the log), enable Apify Proxy in the Advanced section. Residential proxies work best.

Is it legal? The scraper collects publicly visible video information and doesn't log in unless you provide your own cookie. Make sure your use of the data complies with applicable laws and Bilibili's terms, especially for personal data such as commenter names.

Found a bug or need a field? Open an issue in the Issues tab.

More from the same developer

  • Career Site Jobs Scraper: every open job from company career pages on Greenhouse, Lever, Ashby, Workday, SmartRecruiters, Workable and Recruitee, with a monitor mode for new jobs.
  • Google Hotels Scraper: hotel prices for any city and dates, prices from every booking site, room offers, ratings and reviews.