Bilibili 哔哩哔哩 Scraper: Videos, Danmaku, Comments & UP主 avatar

Bilibili 哔哩哔哩 Scraper: Videos, Danmaku, Comments & UP主

Pricing

from $1.75 / 1,000 videos

Go to Apify Store
Bilibili 哔哩哔哩 Scraper: Videos, Danmaku, Comments & UP主

Bilibili 哔哩哔哩 Scraper: Videos, Danmaku, Comments & UP主

Scrape Bilibili (哔哩哔哩, B站) without login: search, video stats, creator (UP主) profiles and uploads, popular and ranking lists, comments and danmaku reaction profiles. Mix keywords, videos and creators in one run. Fast HTTP, no browser.

Pricing

from $1.75 / 1,000 videos

Rating

0.0

(0)

Developer

ragequit.wtf

ragequit.wtf

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Share

What does Bilibili Scraper do?

Bilibili Scraper extracts public data from Bilibili (哔哩哔哩, B站), China's largest video community for Gen Z: video search results, video stats (views, likes, coins, favorites, shares, comments, danmaku), creator (UP主) profiles and latest uploads, the popular feed and ranking boards, top comments with their reply threads, and danmaku reaction profiles that show how the audience reacted minute by minute.

It works as a Bilibili API: no Bilibili account, login, cookie or API key needed. Run it from Apify Console, schedule it, or call it through the Apify API.

Why use this Bilibili scraper?

  • 🧩 Everything in one run. Mix keywords, video links, creators and trending lists in a single input; there is no "one mode per run".
  • 📈 Full video stats. Views, likes, coins, favorites, shares, comment and danmaku counts, duration, category and publish time.
  • 💬 Danmaku reaction profiles. Danmaku (弹幕) are the comments that scroll over a video at a specific second. One row per video gives you the total, unique senders, danmaku per minute, the peak minute, and a sample of texts spread across the whole video, so you see which moments got the strongest reaction.
  • 👤 Creator intelligence. Followers, total likes, video count, level and verification for any UP主, plus their latest videos.
  • 🔔 Monitoring. Switch on Only new videos and schedule the Actor to get just the new videos for a keyword, creator or ranking.
  • 💸 Low, transparent pricing. Full video stats from $2.50 per 1,000, and each kind of row is priced separately, so you only pay for what you ask for.

Typical uses: China market research and brand monitoring, KOL / influencer discovery and vetting, gaming, anime and entertainment analytics, trend spotting, competitor content tracking, and Chinese-language NLP and sentiment datasets.

What data can I extract from Bilibili?

Row typeMain fields
videotitle, bvid, url, views, likes, coins, favorites, shares, comments, danmakuCount, durationSeconds, publishedAt, category, creatorName, creatorId, thumbnailUrl, source
danmakutotalDanmaku, uniqueSenders, perMinute, peakMinute, peakCount, sample (second + text)
commenttext, likes, replyCount, authorName, publishedAt, parentCommentId
creatorname, followers, following, videoCount, totalLikes, level, verified, bio, url

Every row has resultType, so you can filter by kind. The Output tab has separate views for videos, comments, danmaku profiles and creators.

How to scrape Bilibili

  1. Click Try for free to open the Actor in Apify Console.
  2. Add search keywords (Chinese works best, for example 原神 or 人工智能), video links, creator links (space.bilibili.com/...), or pick a trending list.
  3. Choose the extra data you want: full stats, danmaku profiles, comments, creator profiles.
  4. Click Start, then download the results as JSON, CSV, Excel or HTML, or fetch them through the API.

How much does it cost to scrape Bilibili?

Pay-per-event pricing, with platform usage and proxies included. You pay per row, by type, and higher Apify plans pay less:

Row typeFree planBronzeSilverGold
Video (with full stats)$2.50 / 1,000$2.25$2.00$1.75
Creator profile$3.00 / 1,000$2.70$2.40$2.10
Comment$1.00 / 1,000$0.90$0.80$0.70
Danmaku reaction profile$10.00 / 1,000 videos$9.00$8.00$7.00

For example, 1,000 search results with full stats cost $2.50 on the Free plan. Adding a danmaku profile for each video adds $10, and one profile row summarizes thousands of danmaku.

Input

See the Input tab for all options. Example:

{
"searchQueries": ["原神", "人工智能"],
"creators": ["https://space.bilibili.com/946974"],
"trendingLists": ["ranking"],
"rankingCategory": "tech",
"maxVideosPerSearch": 100,
"includeDanmaku": true,
"includeComments": true
}
  • Creators need the numeric ID or profile link; channel names are not supported.
  • Search order: most relevant, most viewed, newest, most danmaku or most favorited; you can also filter by video length.
  • Ranking boards are available for all categories (gaming, tech, knowledge, music, anime and more).

Output

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

Video:

{
"resultType": "video",
"bvid": "BV1xx411c7mD",
"url": "https://www.bilibili.com/video/BV1xx411c7mD",
"title": "Example video title",
"publishedAt": "2026-10-19T09:06:21.000Z",
"durationSeconds": 90,
"category": "单机游戏",
"creatorId": 123456,
"creatorName": "ExampleCreator",
"views": 38540,
"likes": 274,
"coins": 4,
"favorites": 31,
"shares": 17,
"comments": 235,
"danmakuCount": 20,
"source": "search",
"sourceValue": "原神",
"position": 1
}

Danmaku reaction profile:

{
"resultType": "danmaku",
"bvid": "BV1xx411c7mD",
"title": "Example video title",
"totalDanmaku": 7200,
"uniqueSenders": 4100,
"perMinute": [120, 340, 95],
"peakMinute": 1,
"peakCount": 340,
"sample": [{ "second": 4.9, "text": "example danmaku" }]
}

Tips

Why do I only get 3 top comments per video?

Bilibili shows logged-out visitors the top 3 comments of each video. The Actor collects those plus the full reply threads under them (set Replies per top comment). For the broad audience reaction, use danmaku profiles: they cover the video's whole danmaku pool, often thousands of messages.

Can I track a creator or keyword over time?

Yes. Turn on Only new videos (monitoring) and create a schedule in Apify Console. The first run returns everything; later runs return only videos that are new for each keyword, creator or list. Use a different Monitoring store name for each monitor.

How do I keep runs cheap?

Set the max videos limits to what you need, and only enable comments, danmaku profiles and creator profiles when you need them, since each is a separately priced row. You can also set a maximum cost per run in the run options; the Actor stops cleanly when it is reached. Turning off Full video stats makes runs faster when search-level numbers are enough (views, likes, comments, danmaku and favorites are already in search results).

FAQ, disclaimers and support

This Actor collects publicly visible data that Bilibili shows to logged-out visitors. Comments and creator profiles include public user names and IDs. Our Actors are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. We therefore believe that our Actors, when used for ethical purposes by Apify users, are safe. However, you should be aware that your results could contain personal data. Personal data is protected by the GDPR in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers.

This Actor is an independent tool and is not affiliated with or endorsed by Bilibili.

How do I use it through the API?

Open the API tab for ready-to-use code in Python, JavaScript and cURL, or call it through the Apify API. It also works as a tool for AI agents through the Apify MCP server.

Something does not work. Where can I get help?

Open an issue in the Issues tab with a link to your run. Issues are usually answered within a day, and feature requests are welcome.