Bilibili Scraper: Videos, Comments, Danmaku, Trends · $0.07/1K avatar

Bilibili Scraper: Videos, Comments, Danmaku, Trends · $0.07/1K

Pricing

from $0.04 / 1,000 video delivereds

Go to Apify Store
Bilibili Scraper: Videos, Comments, Danmaku, Trends · $0.07/1K

Bilibili Scraper: Videos, Comments, Danmaku, Trends · $0.07/1K

Bilibili without login: search videos and users (date range, Chinese brand names), whole channels, video stats with comments and replies, every danmaku with its second, danmaku reaction profiles, category rankings and Chinese sentiment. From $0.07 per 1,000 videos.

Pricing

from $0.04 / 1,000 video delivereds

Rating

0.0

(0)

Developer

Pom Labs

Pom Labs

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

an hour ago

Last modified

Features

Limited permissions

Share

Get data from Bilibili (哔哩哔哩), China's YouTube, without login and without cookies: search videos and users by keyword (date range, length, sort, Chinese brand names added for you), every video of a channel with its profile, full stats of any video with its comments and replies, every danmaku (弹幕, the bullet comments that fly over the video) with the second it appears at, a danmaku reaction profile of each video, trending now and the top 100 of 18 categories, and Chinese sentiment on titles, comments and danmaku, and transcripts from the subtitles (Chinese and Bilibili's AI English translation).

Every search result shows why it matched your keyword (matchedIn: title, tag, description, author). Titles come clean, without the highlight HTML, and every field has an English name.

Why this one

  • One field for everything: keywords, channel links, video links and popular in the same list. The input names of other Bilibili scrapers work too (searchQueries, searchTerms, videoUrls, userIds, sortOrder, durationFilter, commentsSort, maxCommentsPerVideo).
  • Search past the 1,000 cap: Bilibili stops a keyword at 1,000 results; we re-ask it in date windows to go up to 5,000. Or set onlyPostsAfter / onlyPostsBefore (a date or "7 days", "3 months").
  • Brands in Chinese: Chinese users write 耐克, not "nike". autoLocalize (on by default) also searches the Chinese name of 80+ Latin brands and merges the results; searchAliases adds your own names.
  • Danmaku, two ways: every bullet comment as a row (text, second of the video, color, mode, font size, pool, send time, sender hash, weight; filter by time window or words), or one profile row per video: count, unique senders, per-minute timeline, peak minute, first and last, the phrases repeated most and an even sample.
  • Comments with threads, paged: popular or newest, up to 1,000 a video (36 top comments a page), each with author level, VIP, verified, IP location and likes, plus the replies of each one, paged too (rootId, isThreadReply).
  • Transcripts (new): the video's subtitles as text, with every line's start and end second: the uploader's own and Bilibili's AI ones, usually Chinese speech plus an AI English translation.
  • Chinese sentiment, free: a score from -1 to 1 and positive / neutral / negative on titles, comments and danmaku, by a Chinese model (SnowNLP). No extra charge.
  • Only new videos: deltaMode remembers what this account already got (per deltaStateKey, 30 days), for schedules; followUpComments re-reads each video once a day or more later and returns only the new comments.
  • Category rankings: Bilibili's top 100 of animation, music, dance, games, knowledge, tech, sports, cars, life, food, animals, fashion, entertainment, movies and more, with the ranking score.
  • Engagement rate on every video read in full: (likes + coins + favorites + shares + comments) / views.

What you get

Video (search, channel, video link, trending, ranking): BV id, aid, link, title, description, author, author id, link and avatar, category, tags, views, likes, coins, favorites, shares, comments, danmaku, length in seconds and as text, publish date and timestamp, cover, resolution, parts with their cid and length, upload location, original or repost, engagement rate; for search: rank, total results and matchedIn; for trending: the reason; for rankings: the score.

User (user search): id, link, name, bio, followers, videos, level, verified, live status and room, avatar, 3 latest videos.

Channel (channel query or mode: user_profile): id, link, name, bio, followers, following, videos, total likes, level, verified role and title, VIP, gender, birthday and place when public, avatar.

Comment: id, root and parent ids, pinned, author, author id, link, avatar, level, VIP, gender, verified title, text, likes, replies, date, IP location shown by Bilibili, link, sentiment.

Danmaku row: cid, part index and title, second in the video and as text, mode and its label, font size, color (hex and decimal), pool and its label, send time and date, sender hash, danmaku id, weight, text.

Transcript: bvid, title, link, languages, transcript (full text), transcriptLanguage, isAiGenerated, subtitles (each language with every line and its start and end second).

Danmaku profile: danmakuFetched, danmakuTotal, danmakuPoolCapped, danmakuUniqueSenders, danmakuPerMinute, danmakuRateBasisSecs, danmakuPeakMinute, danmakuPeakMinuteCount, danmakuFirstAt, danmakuLastAt, danmakuPerMinuteTimeline, danmakuTopPhrases, danmakuSample, sentiment.

Use cases

  • Market research in China: what Chinese viewers watch and say about a product, a game or a brand, with sentiment.
  • Moment-by-moment reactions: the danmaku timeline shows the second a video made people react, and what they wrote.
  • Influencer discovery: Bilibili creators by topic, with followers and recent videos.
  • Competitor tracking: every new video of a channel on a schedule (delta mode), with its numbers and new comments.
  • Trend watching: the trending list and the category rankings, every day.
  • AI and datasets: titles, tags, comments and danmaku in Chinese for training and analysis.

Input examples

Search a brand in the last 30 days, with comments and a danmaku profile:

{"queries": ["nike"], "onlyPostsAfter": "30 days", "order": "views", "maxResults": 20, "includeComments": true, "includeReplies": true, "includeDanmaku": true, "sentimentAnalysis": true}

Every danmaku between seconds 30 and 60 of a video:

{"mode": "danmaku", "queries": ["BV1atse6EEfx"], "startSec": 30, "endSec": 60}

Top 100 of the tech category:

{"queries": ["popular"], "category": "tech", "maxResults": 100}
FieldWhat it does
queriesKeywords, channel links (https://space.bilibili.com/546195 or uid:546195), video links or BV ids, or popular
modesearch (default), video_comments, user_profile, danmaku, popular, transcript
maxResultsVideos per query, 1 to 5,000 (default 40)
searchTypevideos (default) or users, for keyword queries
orderrelevance, views, newest, danmaku, favorites, comments
durationany, under10, 10to30, 30to60, over60 (also short, medium, long, verylong)
onlyPostsAfter, onlyPostsBeforeDate (2026-11-01) or period (7 days, 3 months)
autoLocalize, searchAliasesChinese name of the brand, extra names
channelKeywordOnly the channel videos that match this keyword
categoryWith popular: the ranking of this category
includeComments, sortComments, maxComments, includeRepliesComments, order (hot, time, likes, all), how many, replies
includeDanmaku, danmakuSampleSizeDanmaku profile and its sample size
includeDanmakuRows, maxDanmakuPerVideo, startSec, endSec, danmakuKeywordsEvery danmaku as a row, with filters
includeSubtitles, subtitleLanguagesTranscript of each video, and which languages
sentimentAnalysisChinese sentiment
deltaMode, deltaStateKey, followUpCommentsOnly new videos and, later, their new comments

Output

{
"type": "video",
"source": "search",
"query": "原神",
"rank": 1,
"bvid": "BV1izyiztEqo",
"url": "https://www.bilibili.com/video/BV1izyiztEqo",
"title": "一国外网友分享自己初次玩原神时的感受引起外网玩家共鸣~",
"author": "吉祥小草神",
"authorId": 269091503,
"category": "日常",
"tags": ["原神UP主激励计划", "游戏杂谈", "原神"],
"views": 39302,
"likes": 970,
"favorites": 147,
"comments": 246,
"danmaku": 22,
"durationSec": 69,
"durationText": "1:09",
"publishedAt": "2026-11-25T01:53:12Z",
"cover": "https://i0.hdslb.com/bfs/archive/52bcc2ae6ce0435c07ec92d42b69602f274e38c2.jpg",
"matchedIn": ["title", "tag"],
"totalResults": 1000,
"status": "ok"
}

Danmaku profile (measured on a video with 93,146 danmaku):

{"type": "danmaku-profile", "bvid": "BV1atse6EEfx", "danmakuFetched": 3600, "danmakuTotal": 93146, "danmakuPoolCapped": true, "danmakuUniqueSenders": 2499, "danmakuPerMinute": 170.62, "danmakuPeakMinute": 17, "danmakuPeakMinuteCount": 1582, "danmakuTopPhrases": [{"text": "新婚快乐", "count": 1124}, {"text": "合影", "count": 793}]}

Queries that fail (unknown video, bad link, Bilibili refusing) come as a row with type: "error" and the reason, and are not charged.

Pricing

  • $0.07 per 1,000 videos, users and channels
  • $0.60 per 1,000 comments
  • $0.10 per 1,000 danmaku rows
  • $10 per 1,000 danmaku profiles (one per video: $0.01)
  • $3 per 1,000 transcripts (one per video with subtitles: $0.003)

Less on higher Apify plans. Sentiment costs nothing extra. 100 search results: $0.007.

Notes

  • Comments and transcripts are read with our own Bilibili reading account (you need none): it pages the comment list, which a visitor sees only 3 of. If that session is unavailable, the run still returns the pinned comment and the top 3 per list. The total comment count comes in the video row (totalComments).
  • Bilibili keeps a pool of the latest danmaku per video (up to a few thousand on big videos); danmakuTotal is the video's own count and danmakuPoolCapped says when the pool holds fewer.
  • Sentiment comes from SnowNLP, a model trained on Chinese product reviews: read it as a trend over many comments, not as the truth about one.