Bilibili Scraper — Videos, Comments, Danmaku & Creator Uploads avatar

Bilibili Scraper — Videos, Comments, Danmaku & Creator Uploads

Pricing

from $10.00 / 1,000 results

Go to Apify Store
Bilibili Scraper — Videos, Comments, Danmaku & Creator Uploads

Bilibili Scraper — Videos, Comments, Danmaku & Creator Uploads

Scrape Bilibili videos, comments with replies, danmaku (bullet comments), creator uploads, profiles, rankings and trending searches. Search in Chinese or English, get danmaku analytics and creator engagement stats as clean JSON. No account or cookie needed.

Pricing

from $10.00 / 1,000 results

Rating

0.0

(0)

Developer

Insights Data

Insights Data

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

15 hours ago

Last modified

Categories

Share

What is Bilibili Scraper?

Bilibili Scraper — Videos, Comments, Danmaku & Creator Uploads collects public data from Bilibili (哔哩哔哩, B站) for market researchers, brand and influencer marketers, and data scientists: video stats, comments and replies, danmaku, creator uploads and profiles, creator posts, charts and trending searches. Paste Bilibili links in bulk or type keywords in Chinese or English, click Start, and get clean rows you can export to Excel or CSV, with no coding and no login (a login cookie is needed only for subtitles and commenter IP location). On the Apify Free plan, each run returns up to 10 results, paid from your monthly free credit, so you can test it on a few videos first.

Danmaku (弹幕, "bullet comments") are comments that viewers post at a specific second of a video, and they scroll across the video at that moment. Because each one is tied to a scene, they show exactly where viewers reacted.

It is a no-code bilibili video scraper, bilibili comment scraper and bilibili creator scraper in one tool, with a JSON API for developers.

  • 🎯 Audience and brand research: see how games, anime, tech and consumer brands perform with Chinese Gen-Z viewers, using real view, like, coin and favorite counts.
  • 👤 Bilibili influencer vetting: find UP主 / KOL creators by keyword and compare their followers, average and median views, engagement rate and upload frequency.
  • 📈 Launch and brand monitoring: schedule runs that return only new videos and show how views and likes grew since the last run.
  • 🌊 Reaction analysis: use danmaku timelines to see the exact minute where viewers reacted most.
  • 📝 NLP and sentiment datasets: build a Chinese comment and danmaku corpus for sentiment models.
  • 🏆 Chart tracking: follow what climbs the popular, weekly, must-watch and ranking boards.

Bilibili offers no official public API for this data (its open platform is partner-only), so this Actor gives you a ready-made way to get it without writing and maintaining your own scripts.

What can Bilibili Scraper do?

  • 🔗 Take everything in one box: video links, BV or av IDs, b23.tv short links, creator space links or UID:<n>, search pages, chart pages, chart names and plain keywords.
  • 🔍 Search videos by keyword with sort order, video length, category and publish-date filters. Deep search goes past Bilibili's limit of about 1,000 results per search.
  • 👤 Find creators by keyword (KOL discovery), then collect their uploads, profile and recent-upload averages.
  • 💬 Collect comments and nested replies, hot or newest first.
  • 🌊 Profile the danmaku of each video, or return every danmaku as its own row.
  • 📜 Add subtitles (creator CC first, AI subtitles otherwise) when you add your own login cookie.
  • 📡 Monitor over time: only-new-videos mode, growth since the last run, and new comments under videos you already collected.
  • 📦 Export and automate with JSON, CSV, Excel, XML or HTML downloads, the Apify API, schedules, webhooks and integrations.

Bilibili terms used on this page

TermMeaning
UP主A Bilibili uploader or creator (KOL = key opinion leader, an influential creator)
CoinsCoins viewers give to a video to support it (coinCount)
BV ID / av IDBilibili's two video IDs, for example BV1rgap62Ez5 (bvid) or the av number (aid)
b23.tvBilibili's short-link domain
UID / midA creator's user ID (mid on creator rows, authorMid on video and comment rows)
cidThe ID of one part of a video (multi-part videos have several)

What data can Bilibili Scraper extract?

Every row has a type, so one run can return bilibili data of seven kinds: video, comment, reply, danmaku, creator, post and trending. Field names below match the dataset schema.

🎬 Video rows: Bilibili statistics and details

🔗 bvid, aid, cid, url📝 title, description, thumbnailUrl
🔖 category, categoryV2, tags, topic⌛ duration, durationFormatted, partCount, parts
📅 publishDate, publishTimestamp, publishLocation, isReprint👤 authorMid, authorName, authorFace, authorFollowers
👁️ viewCount, likeCount, coinCount, favoriteCount🔁 shareCount, replyCount, danmakuCount
⭐ engagementRate, likeToViewRatio🏆 highestRank, honors, collection, rank
🧩 relatedVideos📜 subtitleLanguage, subtitleIsAI, subtitles
📈 changes (growth since the last run)🌐 source, scrapedAt

These bilibili statistics come straight from each video page. engagementRate = (likes + coins + favorites + shares + comments + danmaku) / views, written as a fraction: 0.177 means 17.7%.

💬 Bilibili comments and replies

commentId, videoBvid, rootId, parentId, text, likeCount, replyCount, createdAt, authorMid, authorName, authorLevel, authorIsVip, authorOfficialTitle, ipLocation, upLiked, upReplied, isPinned, pictures, mentions and isFollowUp. Replies use type: reply and link to their comment through rootId.

🌊 Bilibili danmaku (bullet comments)

With danmakuMode: stats, the video row gets a danmaku profile: danmakuFetched, danmakuUniqueSenders, danmakuPerMinute, danmakuPeakMinute, danmakuPeakMinuteCount, danmakuFirstAt, danmakuLastAt, danmakuTimeline (count per minute), danmakuTopPhrases (top 10 repeated phrases), danmakuSample and danmakuPoolCapped. With danmakuMode: full, you also get one row per danmaku: videoTime, text, mode, fontSize, color, senderHash, sentAt and pool.

How the three danmaku numbers relate:

  • danmakuCount is the total Bilibili reports for the video.
  • danmakuFetched is how many danmaku were collected for the profiled part.
  • danmakuPoolCapped is true when fewer danmaku were collected than Bilibili reports (single-part videos only: below 95% of the count, or none collected while a count is reported). Usually Bilibili does not keep every danmaku available; a partly failed load can also set it. The profile then describes the danmaku that were collected.

👤 Creator, post and trending rows

  • Creator rows: mid, name, followers, following, videoCount, totalLikes, level, officialTitle, verification, live-room fields (liveRoomId, liveStatus, liveTitle), and recent-upload KPIs: avgViews, medianViews, avgLikes, avgComments, avgDanmaku, avgEngagementRate, uploadsPerWeek and lastUploadAt.
  • Post rows: postId, postType, text, title, imageUrls, linkedVideoBvid, likeCount, commentCount, repostCount and publishDate.
  • Trending rows: rank, keyword, showName, heatScore, isHot and searchUrl.

Note: some fields are filled only in certain cases. ipLocation and subtitles need your login cookie. changes is null the first time a video is seen and filled from the second run on. relatedVideos is filled when includeRelated is on and full details were loaded. The creator KPIs (avgViews, uploadsPerWeek and the others) are filled for creator links and creator-search results, not for the extra author rows added by includeCreatorProfile. Search and chart rows without full details have no engagementRate.

What data can't Bilibili Scraper extract?

  • Video or audio files. This is a data tool: no MP4 or MP3 downloads.
  • Live-stream danmaku (only danmaku on uploaded videos).
  • Anime and bangumi episode pages, private or deleted content.
  • Subtitles and commenter IP location without your login cookie.

How to scrape Bilibili videos, comments and danmaku

Here is how to scrape Bilibili step by step. It is designed for an easy start, even if you have never extracted data from the web before.

  1. Create a free Apify account using your email.
  2. Open Bilibili Scraper — Videos, Comments, Danmaku & Creator Uploads.
  3. Paste Bilibili links into 🔗 Bilibili links & IDs, or add 🔍 Search keywords or 🏆 Charts & trending boards.
  4. Choose what to add to each video. Danmaku is off by default: set 🌊 Danmaku (bullet comments) to stats to see the danmaku profile on each video row, which adds no extra charged rows. Turn on 💬 Include comments for comment rows. 📜 Include subtitles needs your login cookie (see Login cookie). Then click Start.
  5. When the run finishes, open the Output tab, click Export and download your data in JSON, CSV, Excel, XML or HTML.

Rows appear in the Output tab while the run is still going, so you can check the first results right away.


How much does it cost to scrape Bilibili?

Bilibili Scraper uses pay-per-event pricing. Your bill has three parts:

PartPriceWhen it is charged
💲 Results$15.00 per 1,000 results ($0.015 each) on the Free plan (lower on paid plans, see below)For every saved row of any type: video, comment, reply, danmaku, creator, post or trending
🚀 Actor start$0.00005 per GB of memoryOnce per run. At the default 1 GB that is $0.00005 per run
⚙️ Platform usageApify platform ratesCompute and, if used, proxy traffic. You pay this on top of the two events above
Apify planPrice per resultPrice per 1,000 results
Free$0.015$15.00
Starter$0.0135$13.50
Scale$0.012$12.00
Business and higher$0.01$10.00

Paid Apify plans get a lower result price. The plan discount applies to that price only. The start fee is the same on every plan, and platform usage is billed at your Apify plan's own rates.

Example costs for the result and start events at the Free plan price (platform usage comes on top):

ResultsResults cost+ start (1 GB)Total before platform usage
10$0.15$0.00005about $0.15
100$1.50$0.00005about $1.50
1,000$15.00$0.00005about $15.00

How many results does one video create?

Every comment, reply and danmaku row is a result of its own. With 💬 Include comments on, 📊 Max comments per video = 5, 🧵 Include replies on and 💭 Max replies per comment = 2, one video can create up to 1 video row + 5 comments + 10 replies = 16 results, which is 16 × $0.015 = $0.24 at the Free plan price (plus the start fee and platform usage). Danmaku in stats mode adds no rows. In full mode, every danmaku is one more result.

What about platform usage?

To learn your platform usage cost, do a small test run (for example the default input), open the run page, read the usage cost there, and scale it up to the size you plan. It depends on how many videos you load and whether a proxy is used. The run starts without a proxy. If Bilibili blocks requests, it switches to Apify Proxy automatically (when available on your account), and that proxy traffic is added to your platform usage.

How do I cap my spend?

Set a maximum charge limit when you start a run. When that amount is reached, the run stops cleanly and keeps what it already saved. Rows that are not saved are not charged. See the Pricing tab for the current event list.

Is scraping Bilibili free?

You can start for free. The Apify Free plan includes $5 of platform credit every month. Result charges, the start fee and platform usage are all paid from that credit, so small test runs cost you nothing out of pocket. A 10-result run costs about $0.15 plus platform usage.

On the Free plan, each run returns at most 10 results in total, across all row types (not 10 per source). Comments, replies and danmaku rows use up the same 10, so a run with comments on returns fewer videos. There is no limit on how many runs you start, as long as your credit lasts. Free-plan runs also cap 🔢 Max results per source, 📼 Max uploads per creator, 🧾 Max posts per creator, 🎯 Max follow-up videos, 📊 Max comments per video and 💭 Max replies per comment at 10. When a run reaches 10 results, it stops and the status message says so. To get more than 10 results per run, switch to a paid Apify plan. Paid plans have no per-run row cap, so your inputs set the limits.


⬇️ Input

You need at least one source: a link, a keyword or a chart. Everything else is optional and has a sensible default. Set the input in the form, or send it as JSON through the API.

Here is the default (prefilled) input. It reads one Genshin Impact cutscene video by link and searches the keyword 原神 for up to 10 videos:

{
"urls": ["https://www.bilibili.com/video/BV1rgap62Ez5"],
"searchQueries": ["原神"],
"maxResults": 10,
"proxyConfiguration": { "useApifyProxy": false }
}

This can find up to 11 videos. On the Free plan the run stops at 10 results. See the input tab for every field.

Settings most people change

Form label (field)What it doesDefault
🔗 Bilibili links & IDs (urls)Bulk list of links, IDs, chart names and plain keywordsprefill: one video
🔍 Search keywords (searchQueries)Keywords in Chinese or Englishprefill: 原神
🧭 Search for (searchType)Videos or CreatorsVideos
🏆 Charts & trending boards (charts)popular, weekly, weekly:<issue>, precious, ranking, ranking:<category>, trendingnone
🔢 Max results per source (maxResults)Videos per keyword and per chart, creators per creator search10
💬 Include comments / 📊 Max comments per video (includeComments, maxComments)Comment rows per video (0 = no per-video cap)off / 5
🧵 Include replies / 💭 Max replies per comment (includeReplies, maxRepliesPerComment)Reply rows per comment (turning replies on also turns comments on)off / 2
🌊 Danmaku (bullet comments) (danmakuMode)off, stats (profile on the video row) or full (profile + one row per danmaku)off
📼 Max uploads per creator (maxVideosPerCreator)Uploads per creator link or found creator10

Advanced settings

Form label (field)What it doesDefault
🔃 Sort search results by, ⌛ Video length, 🔖 Category ID, 📅 Published after, 📆 Published before (sortOrder, durationFilter, categoryId, publishedAfter, publishedBefore)Filters for keyword video search onlyrelevance, any length, all categories
🔬 Deep search (deepSearch)Go past Bilibili's ~1,000 results per search, newest firston
🔎 Max results examined per source (maxScanned)Stop a filtered search after examining this many results (0 = no limit)5,000
📶 Creator uploads order (creatorVideosSort)Newest, most views or most favoritesnewest
🪪 Add a profile row for every video author (includeCreatorProfile)One creator row for the author of each videooff
📝 Include creator posts / 🧾 Max posts per creator (includeCreatorPosts, maxPostsPerCreator)Creator posts as rowsoff / 50
📺 Fetch full video details (fetchVideoDetails)Full stats, tags, parts, honors and author followers on search and chart rowson
🧩 Include related videos (includeRelated)Related video IDs on each video rowoff
📜 Include subtitles / 🔤 Subtitle format / 🍪 Bilibili login cookie (includeSubtitles, subtitleFormat, cookie)Subtitles as text or timed segments (needs your cookie)off / text / empty
🔥 Sort comments by (commentSort)Hot or newest comments firsthot
🧪 Danmaku sample size, 🎼 Every part of multi-part videos, 🕒 Danmaku time limit (danmakuSampleSize, danmakuAllParts, danmakuMaxSegments)Sample size, every part of multi-part videos, and how deeply long videos are read in 6-minute blocks10 / off / 10
📈 Track changes since the last run, 🆕 Only new videos, 🔔 Follow-up comments on earlier videos, 📆 Follow-up window (days), 🎯 Max follow-up videos, 🔑 Monitoring key (trackChanges, deltaMode, followUpComments, followUpDays, followUpMaxVideos, stateKey)Monitoring between runson / off / off / 7 / 10 / default
⚡ Videos in parallel, 🐢 Delay between requests, 🔄 Retries per request (concurrency, requestDelay, maxRetries)Speed and reliability3 / 0.35 s / 3
🌐 Proxy (proxyConfiguration)No proxy by default. If Bilibili blocks requests, the run switches to Apify Proxy automatically (when available on your account), which adds platform usageno proxy

One box takes videos, creators, search pages, charts and keywords. Plain text that is not a link is searched as a keyword. Duplicates are removed, and a link the Actor does not recognize is skipped with a warning in the log. Use ?p=N to pick one part of a multi-part video. A creator's bilibili user id (UID) works as UID:401742377 or as a space link.

  • ✅ Good: https://www.bilibili.com/video/BV1rgap62Ez5, https://space.bilibili.com/401742377, UID:401742377, ranking:game, 原神
  • ❌ Bad: https://www.bilibili.com/bangumi/play/ep123 (anime episode pages are not supported and are skipped)

⚠️ Every row counts as a result: videos, comments, replies, danmaku, creators, posts and trending keywords.

Danmaku (bullet comments) (danmakuMode)

stats adds the danmaku profile to the video row and adds no extra charged rows. full adds one row per danmaku, and each row is a charged result. 🕒 Danmaku time limit (danmakuMaxSegments) controls how deeply long videos are read, in 6-minute blocks: the default 10 blocks = 60 minutes, and more blocks give more complete danmaku for long videos. Raise it for videos longer than an hour.

  • ✅ Good: "danmakuMode": "stats" on many videos, or "full" on a few
  • ❌ Bad: "full" on many popular videos with no budget in mind

⚠️ A busy video can have thousands of danmaku. Each one costs $0.015 in full mode at the Free plan price.

Comments and replies (maxComments, maxRepliesPerComment)

📊 Max comments per video limits top-level comments per video. Replies are counted separately with 💭 Max replies per comment. 0 means no per-video or per-comment cap (on the Free plan, 0 becomes 10). Pinned comments on the first page are included and flagged isPinned.

  • ✅ Good: "maxComments": 5, "maxRepliesPerComment": 2
  • ❌ Bad: "maxComments": 0 with "maxRepliesPerComment": 0 on popular videos

Follow-up comments (followUpComments)

🔔 Follow-up comments on earlier videos re-reads the comments of videos delivered in the last 📆 Follow-up window (days) and returns only comments newer than the last check (isFollowUp: true). It needs both 🆕 Only new videos (deltaMode) and 💬 Include comments. Without Only new videos, it is turned off with a warning. Without Include comments, it does not run.

  • ✅ Good: Only new videos + Include comments + Follow-up comments, on a schedule
  • ❌ Bad: Follow-up comments alone

Category ID (categoryId)

Use classic Bilibili category ids, for example 172 (mobile games), 17 (single-player games) or 36 (knowledge). 0 means all categories. Ids of 1000 or more are not supported: the log warns and the search returns nothing.

You need it only for subtitles and commenter IP location. Everything else works without it. To get it:

  1. Log in at bilibili.com in your browser, with your own account.
  2. Open the browser's developer tools (F12), go to the cookies list for https://www.bilibili.com (Application tab in Chrome and Edge, Storage tab in Firefox), and copy the value of SESSDATA.
  3. Paste it into 🍪 Bilibili login cookie (optional). You can also paste the full cookie string.

⚠️ Privacy: your cookie gives access to your Bilibili session, so use your own account and never share the value. The field is stored as a secret input and masked in the run log. With a cookie, comments are read with your logged-in session.


⬆️ Output

Results are saved live while the run is going. Open the Output tab to see them as a table or JSON. Each row type also has its own view: Videos, Comments & replies, Danmaku, Creators, Creator posts and Trending searches, plus All results. Click Export in the Output tab to download JSON, CSV, Excel, XML or HTML, and pick only the fields you need.

Each run also saves a Run summary record (run-summary) in its key-value store: rows per type, the stop reason, whether the Free plan applied, requests made, the connection used and the duration. stopReason is freePlanLimit when the free cap was reached and spendLimit when your maximum charge limit was reached. completed means the run ended for another reason: usually every source was processed, but it is also used when Bilibili could not be reached, so check the log and the row counts too.

JSON example

A video row from the input example above (real output, shortened). The source field, not shown here, records which input found the video, for example url or search:原神:

{
"type": "video",
"bvid": "BV1rgap62Ez5",
"aid": 117353555760681,
"url": "https://www.bilibili.com/video/BV1rgap62Ez5",
"title": "《原神》过场动画-「生与死的流速」",
"category": "手机游戏",
"categoryV2": "单人RPG游戏",
"tags": ["过场动画", "米哈游", "miHoYo", "原神"],
"duration": 1134,
"durationFormatted": "18:54",
"partCount": 4,
"publishDate": "2026-10-08T04:00:00+00:00",
"authorMid": 401742377,
"authorName": "原神",
"authorFollowers": 20899784,
"viewCount": 673306,
"likeCount": 76647,
"coinCount": 18249,
"favoriteCount": 10792,
"shareCount": 2967,
"replyCount": 7798,
"danmakuCount": 2715,
"engagementRate": 0.177,
"likeToViewRatio": 0.1138,
"highestRank": 27,
"honors": ["全站排行榜最高第27名", "热门收录"],
"changes": null,
"scrapedAt": "2026-10-09T11:36:02.914195+00:00"
}

engagementRate 0.177 means the likes, coins, favorites, shares, comments and danmaku add up to 17.7% of the views. changes is null because this was the first time the video was seen. On the next run with the same 🔑 Monitoring key, it holds the view, like, coin, favorite, share, reply and danmaku growth plus views per hour.

Comment and danmaku rows

These rows come from other videos and other settings (Include comments on, and Danmaku set to full). They show the shape of each row type. A comment row (real output, shortened, author removed):

{
"type": "comment",
"commentId": 316516529233,
"videoBvid": "BV1BWpW6WEv4",
"text": "卧艹,三个眼被抬出去了",
"likeCount": 10,
"replyCount": 1,
"createdAt": "2026-10-09T03:18:11+00:00",
"authorLevel": 5,
"isPinned": false,
"upLiked": false,
"ipLocation": null
}

ipLocation is null here because the run had no login cookie. A danmaku row (real output, shortened):

{
"type": "danmaku",
"videoBvid": "BV1qMp46wE1n",
"part": 1,
"videoTime": 0.0,
"text": "还有第二关?",
"color": "#ffffff",
"mode": 5,
"sentAt": "2026-10-09T10:09:05+00:00"
}

videoTime is the second in the video where the danmaku appears. The Danmaku view works as a bilibili danmaku downloader for your own analysis, and the Comments & replies view as a bilibili comment exporter to Excel.


Bilibili Scraper tips and advanced usage

How many results can you get?

Each search keyword and chart returns up to 🔢 Max results per source videos (1 to 100,000). Creator links return up to 📼 Max uploads per creator uploads each. The real number also depends on Bilibili rate limits, your filters, whether you use a login cookie, the Free-plan cap and how much danmaku Bilibili keeps for each video. Weekly picks (one issue), must-watch and ranking return the single list Bilibili serves, cut to Max results per source. Trending returns the hot-search list Bilibili serves. A quick test run is the best way to check your use case.

How to get cheaper results

  • Set Danmaku to stats instead of full when you only need the profile.
  • Keep Max comments per video and Max replies per comment small.
  • Turn on 🆕 Only new videos for scheduled runs so you do not pay for the same video twice.
  • Use the search filters (Published after, Video length, Category ID) so fewer unwanted videos are saved.

Bilibili views growth and monitoring

With 📈 Track changes since the last run on (the default), every video row gets a changes object with growth since the last run, including viewsPerHour. This makes it easy to track bilibili views over time. Add 🆕 Only new videos for an only-new-videos feed, and 🔔 Follow-up comments on earlier videos to collect new comments under earlier videos. History is kept per 🔑 Monitoring key (stateKey) in a named key-value store in your own account, bilibili-monitor-state. It remembers up to 200,000 videos per key.

Known issues

  • Without a login, Bilibili may serve only a few comments on some videos. The log says so. Add your cookie for those threads.
  • Comments can be rate-limited for a few minutes when read heavily. Lower ⚡ Videos in parallel or raise 🐢 Delay between requests.
  • A search can return 0 results while Bilibili is limiting requests. The run retries once, then asks you to retry later or use a proxy.
  • Sometimes Bilibili limits a creator's full upload list. Uploads then come newest first, the sort is ignored, the total video count is unknown, and view counts may be rounded unless 📺 Fetch full video details is on.
  • Creator posts can stay empty for a while. The log warns when this happens.
  • An unknown ranking category falls back to the all-site ranking, with a warning.

Integrations and API for Bilibili Scraper

Can I use Bilibili Scraper as a Bilibili API?

Yes. This is not the official bilibili api: you run the Actor through the Apify API, which lets you start runs, schedule them and fetch results. Use the apify-client NPM package for Node.js or the apify-client PyPI package for Python. The API tab has ready-to-use code.

How to scrape Bilibili with Python

If you searched for a bilibili api python client, this is the shortest route. The example uses the input from above:

from apify_client import ApifyClient
client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("insights_data/bilibili-scraper-videos-comments-danmaku-creator-uploads").call(
run_input={
"urls": ["https://www.bilibili.com/video/BV1rgap62Ez5"],
"searchQueries": ["原神"],
"maxResults": 10,
"proxyConfiguration": {"useApifyProxy": False},
}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["type"], item.get("bvid"), item.get("title"))

Can I integrate Bilibili Scraper with other apps?

Yes. Connect it to almost any cloud service with Apify integrations: Make, Zapier, Slack, Google Sheets, Google Drive, Airbyte, GitHub, LangChain and more. Use webhooks to act when a run finishes. For example, schedule a daily run with Only new videos on for your brand keyword and send the new videos to a Google Sheet for your bilibili marketing team.

Can I use Bilibili Scraper with AI agents (MCP)?

Yes. Connect it to Claude and other AI assistants through the Apify MCP server. Open the MCP tab for setup steps.


Other social media and video scrapers

These Actors from the same author cover comments, creators, sentiment and keyword research on other platforms:

💬 TikTok Comments & Replies Scraper: TikTok comments and replies with likes, reply counts and commenter details👤 TikTok Profile Scraper: TikTok profile videos with views, likes, comments, shares and author stats
📊 Stocktwits Scraper: stock and crypto messages with bullish/bearish sentiment🔍 Keyword Search Volume — Bulk Google Metrics (CPC & Trend): Google search volume, CPC and 12-month trends for keywords

❓ FAQ

Scraping publicly available data is generally legal, but you must follow the laws that apply to you and Bilibili's terms. This Actor collects only public data. Comments and creator profiles can contain personal data, which is protected by laws such as GDPR and China's PIPL. Collect it only with a legitimate reason, and store it safely. This is not legal advice. Ask a lawyer if you are unsure.

How does Bilibili Scraper work?

It works like a person browsing public Bilibili pages, only faster. Like a bilibili crawler, it sorts each input entry (video, creator, search or chart), collects the videos from every source and removes duplicates. Then it loads each video's details, plus comments, danmaku and subtitles if you asked for them, several videos at a time. Rows are saved live, and creator profile rows are added at the end. If Bilibili blocks requests, it switches to Apify Proxy automatically when available on your account.

How is Bilibili Scraper different from copying data by hand?

It does in one run what would take hours of clicking, and it returns structured rows instead of screenshots or notes.

FeatureBilibili ScraperCopying by hand
Many videos, creators and keywords at once✅ bulk input❌ one page at a time
Comments and replies linked in one table✅ rootId links each reply❌
Danmaku timeline and top phrases✅ computed per video❌
Only new videos and growth since the last run✅ Only new videos, Track changes❌
Export to JSON, CSV or Excel✅❌
Price$15.00 per 1,000 results on the Free plan, down to $10.00 on Business, + start fee + platform usageyour time

Is it a bilibili extractor or a downloader?

It is a bilibili extractor for data, not files. Used as a bilibili video extractor, it returns metadata, stats, danmaku and subtitles as rows. Used as a bilibili comment extractor, it adds every comment with likes, author level and the pinned flag. It does not download MP4 or MP3 files.

Bilibili danmaku meaning: what are bullet comments?

Danmaku (弹幕) are comments that viewers post at a specific second of a video, and they scroll across the screen at that moment. They are also called bilibili bullet comments or bilibili danmu. Because each danmaku has a video time, they show exactly which scene viewers reacted to. The bilibili danmaku profile turns this into a per-minute timeline, the peak minute and the top phrases. Comments alone don't show this, which is why people look for a bilibili danmaku scraper.

Can I scrape Bilibili comments without login?

Yes. Videos, comments, replies, danmaku, creators, posts, charts and trending searches all work without a login. Your login cookie only adds subtitles and commenter IP location. On some videos, Bilibili serves only a few comments to visitors who are not logged in, and the log tells you when that happens. Adding your cookie helps there.

Can I download Bilibili subtitles?

Yes, with your own login cookie. For a bilibili subtitles download, turn on 📜 Include subtitles, add your cookie, and pick text or segments (with start and end times) in 🔤 Subtitle format. It works as a bilibili subtitle extractor for creator CC subtitles, and AI subtitles when no CC exists. Without the cookie, the subtitle fields stay empty and the log warns.

Use 🏆 Charts & trending boards. For bilibili trending videos, pick popular (Popular now), weekly (Weekly picks), precious (Must-watch) or ranking. These are the bilibili popularity ranking boards. For a category bilibili ranking, use ranking:game, ranking:music, ranking:knowledge or another category. The trending chart is different: bilibili trending returns the hot search keywords, one row each, with rank and heat score.

How do I run a Bilibili search video query with filters?

Add your keywords to 🔍 Search keywords. Every bilibili search video query can use Sort search results by (relevance, most views, newest, most danmaku, most favorites, most comments), Video length, Category ID, and Published after / Published before. These filters apply to keyword video search only, not to links, creators or charts.

Can I use it for Bilibili influencer and uploader research?

Yes. Set 🧭 Search for to Creators to find each bilibili uploader (UP主) by keyword, or paste creator space links. Every creator row includes followers and recent-upload KPIs: average and median views, average engagement rate and uploads per week. That makes it a practical tool for bilibili analytics and bilibili data analysis on creators. It does not return audience demographics.

Why scrape Bilibili data?

  • Datasets for AI: build a bilibili dataset of comments and danmaku for Chinese NLP and sentiment models, or a bilibili video dataset with stats and tags.
  • Market research: Bilibili is popular with young Chinese audiences, especially for games, anime and tech, so its stats and comments show what they care about.
  • Brand monitoring: see new videos and comments about your brand every day.
  • Creator vetting: compare engagement before you pay for a campaign.
  • Cross-platform research: use it next to your other social media tools as a chinese social media scraper for Bilibili. Chinese-speaking teams often search for it as a b站 scraper.

Why am I getting fewer results than expected?

  1. Free plan: each run stops at 10 results in total, and comments, replies and danmaku rows count toward them.
  2. Filters: date, length and category filters drop videos that don't match. A filtered search also stops after Max results examined per source.
  3. Deep search off: a search then stops at about 1,000 results.
  4. Video links: a video whose details cannot be loaded is skipped (and not charged).
  5. Login: some comment threads need your cookie.
  6. Rate limits: if Bilibili limits requests, lower Videos in parallel, raise Delay between requests, or start with a proxy.
  7. Maximum charge limit: the run stops when the limit you set is reached.

Support and feedback

Found a bug or need a missing field? Please create an issue on the Issues tab with the run link and what you expected.

Need a custom solution or a different data source? Contact us at hello.insights.data@gmail.com.

Built and maintained by insights_data.