Bilibili Scraper 哔哩哔哩 [From $1] Videos, Comments & Danmaku avatar

Bilibili Scraper 哔哩哔哩 [From $1] Videos, Comments & Danmaku

Pricing

from $5.00 / 1,000 videos

Go to Apify Store
Bilibili Scraper 哔哩哔哩 [From $1] Videos, Comments & Danmaku

Bilibili Scraper 哔哩哔哩 [From $1] Videos, Comments & Danmaku

[From $1 per 1000 results] Bilibili (哔哩哔哩, B站) scraper with no login: search videos, list a creator's uploads, views, likes, coins and shares, comments with replies, danmaku, creator followers, trending and hot searches. Videos $5, comments $2, danmaku $1 per 1,000.

Pricing

from $5.00 / 1,000 videos

Rating

0.0

(0)

Developer

Muhamed Didovic

Muhamed Didovic

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

2

Monthly active users

15 hours ago

Last modified

Share

Bilibili Scraper 哔哩哔哩 — Videos, Comments, Danmaku, Subtitles & Creators

Scrape Bilibili (哔哩哔哩, B站): search videos by keyword, list any creator's uploads, and get views, likes, coins, favorites and shares, comments with replies, danmaku (bullet comments), subtitles and AI transcripts (字幕), creator followers, the trending list and hot search terms. No login, no cookies.

InputRow(s) emitted
Search keyword50 videos per page, with sort, length and date filters
Creator (UID or space.bilibili.com link)Their uploads, 50 per page, newest or most played
Creator-search keywordCreators (UP主) matching a name or topic, 20 per page, with followers
creatorSearchKeywordsVideos inside a creator matching a keyword
includePostsThe creator's feed posts (动态): text, images, linked video, likes
includeFavoritesVideos in the creator's public favorite folders
Live room id or linkThe room's title, status, area, followers; with includeStreamUrl, the stream address of a room that is on air
Post id or linkOne feed post (动态): text, images, linked video, likes, comments, reposts
Video link, BV id, av id or b23.tv linkThe full video record
includeTrendingBilibili's site-wide popular list, 20 per page
includeHotSearchThe 50 terms trending in search right now, with heat scores
includeComments / includeRepliesOne row per comment and reply, hottest first
includeDanmakuOne row per bullet comment: text, position in the video, colour, time
includeSubtitlesThe video's transcript on its own row: plain text plus timed segments, from the uploader's subtitles or Bilibili's AI transcript
includeCreatorProfileOne creator row: followers, level, verification, video count

Why Use This Scraper?

  • The full engagement set. Views, likes, coins (投币), favorites, shares, comment count and danmaku count, e.g. views: 2399401, likes: 90821, coins: 19574.
  • Comments with every reply. Author, level, likes and time for each comment, and the whole reply thread under it, not just the first two.
  • Transcripts without a second actor. includeSubtitles puts the subtitle track (or Bilibili's AI transcript, ai-zh) on the video row as subtitleText and timed subtitleSegments. Free until 3 Nov 2026, then $0.003 per transcript found; videos without one are not charged.
  • Danmaku as data. Each bullet comment with its second in the video, colour, display mode and send time, ready for timeline and sentiment analysis.
  • Search that filters. Relevance, most played, newest, most danmaku or most favorited; by length; by publish window.
  • Creator intelligence. Followers, following, level, verification title and upload count, plus the whole upload history page by page.
  • Creator discovery. Find creators by keyword with follower counts, then pull their full profile, uploads and posts in the same run.
  • Posts and favorites. A creator's feed posts (text, images, reposts, linked videos, likes) and the videos they saved to public favorite folders.
  • Trending and hot search. What Bilibili is watching and searching right now.
  • Only-new monitoring. Watch creators or keywords on a schedule; videos already delivered are skipped and not billed.
  • Pay only for what comes back. Each row type is its own event, and the run stops at your spending limit.

Overview

This actor is for brand and marketing teams, game and anime publishers, researchers and data teams who need Bilibili data without an account, cookies or a China-based proxy.

Rows are told apart by type:

  • video: from search (source: "search"), a creator's uploads ("creator"), a search inside a creator ("creator-search"), a creator's favorites ("favorites"), the trending list ("trending") or a pasted link ("url").
  • creator: profile for an entry in Creators, or a creator found by keyword (source: "search").
  • post: one feed post (动态), from a creator's feed or a pasted post link; kind is video, image, text, repost, article or live.
  • live-room: one live room.
  • comment and reply: linked to their video by bvid; replies to their comment by parentCommentId.
  • danmaku: linked by bvid and cid.
  • hot-search: one trending search term.

List rows (search, creator) already carry views, comments and danmaku count. Turn on Full details to add coins, shares, likes, parts and resolution to each, at the same price per video.

Supported Inputs

InputPatternExample
Keywordany topic人工智能, 原神
Creatornumeric UID or space link546195, https://space.bilibili.com/546195
Video linkbilibili.com/video/BV…https://www.bilibili.com/video/BV1PTHS6MEC5
BV id / av idBV… or av…BV17x411w7KC, av170001
Short linkb23.tv/…resolved to its video automatically
Creator-search keywordany name or topic美食
Live roomroom id or live.bilibili.com link22816111, https://live.bilibili.com/22816111
Postpost id, t.bilibili.com or bilibili.com/opus linkhttps://t.bilibili.com/1232186887046692873

Limits to know: comments come hottest first (Bilibili does not serve a time-ordered list here). Danmaku covers the first part of a multi-part video and Bilibili serves up to about 600 per part. Video file download and subtitles are not included.

Use Cases

WhoWhat they do with the rows
Game / anime / consumer brandsTrack videos and comments about a title or product
KOL / influencer agenciesCompare creators by followers, upload cadence and engagement
Market and trend researchTrending list and hot searches on a schedule
Community and sentiment teamsComments, replies and danmaku around a launch
Content strategistsSee what performs for a keyword: views, coins, favorites
LLM / RAG pipelinesTitles, descriptions, tags, comments and danmaku as text

How It Works

How the Bilibili scraper works

  1. Keywords are searched 50 per page; creators are listed 50 per page; links, BV ids and av ids are looked up directly.
  2. Optional: each listed video is looked up in full.
  3. Optional: comments are paged in hottest first, with the full reply thread under each.
  4. Optional: danmaku is fetched and split into one row per bullet comment.
  5. Monitoring skips videos already delivered before any data is fetched for them.

Input Configuration

FieldTypeNotes
keywordsstring[]Video search terms.
creatorsstring[]UIDs or space.bilibili.com links.
videoUrlsstring[]Video links, BV ids, av ids, b23.tv links.
creatorKeywordsstring[]Find creators by name or topic (20 per page).
liveRoomsstring[]Live room ids or links.
includeStreamUrlbooleanAdds streamUrl (FLV), streamQuality and streamUrlExpiresAt to rooms that are on air. The address is signed and expires about an hour later. No extra charge.
postUrlsstring[]Post ids or links; one post row each.
includeTrendingbooleanThe site-wide popular list.
includeHotSearchbooleanThe 50 current hot search terms.
searchOrdertotalrank | click | pubdate | dm | stowRelevance, most played, newest, most danmaku, most favorited.
searchDurationall | under10 | 10to30 | 30to60 | over60Length filter.
publishedWithinDaysintegerOnly search results from the last N days.
creatorVideoOrderpubdate | clickNewest or most played uploads first.
maxPagesintegerPages per keyword and creator (50 each) and of the trending list (20 each). Default 3.
includeVideoDetailsbooleanFull record for listed videos, same price.
includeCreatorProfilebooleanFull creator row, for listed creators and for creators found by keyword (billed creator-profile).
includeCreatorVideosbooleanA creator's uploads. Default on.
creatorSearchKeywordsstring[]Single-word keywords searched inside each creator's uploads.
includePosts / maxPostsPerCreatorboolean / integerFeed posts, about 12 per page. Default 24.
includeFavoritesbooleanVideos in the creator's public favorite folders.
includeComments / maxCommentsPerVideoboolean / integerComment rows, 20 per page. Default 20.
includeReplies / maxRepliesPerCommentboolean / integerReply rows. Default 20.
includeDanmaku / maxDanmakuPerVideoboolean / integerDanmaku rows. Default 600.
includeSubtitlesbooleanAdds subtitleText, subtitleSegments, subtitleLanguage, subtitleLanguages, isAiSubtitle to each video row. First part only. From 4 Nov 2026 each transcript found is billed subtitle ($0.003); videos without one cost nothing extra. Default off.
maxItemsintegerCap on video rows. Default 50; free-tier runs cap at 100.
monitorMode, monitorStateName, emitBaseline, includeUnchanged, resetMonitoringStateOnly-new monitoring.

Example input

Most played videos on a topic from the past month, with comments:

{
"keywords": ["人工智能"],
"searchOrder": "click",
"publishedWithinDays": 30,
"includeComments": true,
"maxCommentsPerVideo": 40,
"includeReplies": true,
"maxItems": 50
}

Daily watch of two creators, only new uploads, with full details:

{
"creators": ["546195", "https://space.bilibili.com/3546824512112942"],
"includeCreatorProfile": true,
"includeVideoDetails": true,
"monitorMode": true,
"monitorStateName": "creator-watch",
"maxPages": 1
}

One video with comments and danmaku:

{
"videoUrls": ["https://www.bilibili.com/video/BV1PTHS6MEC5"],
"includeComments": true,
"includeReplies": true,
"includeDanmaku": true
}

Find creators in a niche and profile them:

{ "creatorKeywords": ["美食"], "includeCreatorProfile": true, "maxPages": 2 }

A creator's posts and everything they uploaded about one topic:

{
"creators": ["546195"],
"includeCreatorVideos": false,
"creatorSearchKeywords": ["游戏"],
"includePosts": true,
"maxPostsPerCreator": 50
}

Trending now:

{ "includeTrending": true, "includeHotSearch": true, "maxItems": 40, "maxPages": 2 }

Output Overview

One dataset row per video, creator, post, live room, comment, reply, danmaku or hot search term. The dataset has Videos, Creators, Posts, Live rooms, Comments & replies, Danmaku and Hot search tabs. Monitoring adds changeType (new / unchanged).

Output Samples

Creator video with full details (live run):

{
"type": "video",
"source": "creator",
"bvid": "BV1aZpw6DEKJ",
"aid": "117393435138792",
"cid": "42511303711",
"url": "https://www.bilibili.com/video/BV1aZpw6DEKJ",
"title": "第一次去美国,被吓到了……",
"description": "暴雪嘉年华真好玩!!",
"creatorId": "546195",
"creatorName": "老番茄",
"publishedAt": "2026-10-06T12:28:51.000Z",
"durationSeconds": 689,
"views": 2399401,
"likes": 90821,
"coins": 19574,
"favorites": 15477,
"shares": 2919,
"comments": 1771,
"danmakuCount": 3470,
"isOriginal": true,
"partCount": 1,
"width": 3840,
"height": 2160,
"coverUrl": "https://i0.hdslb.com/bfs/archive/ebc616f717a9c799243e57c2129f095ddec81eab.jpg"
}

Creator:

{
"type": "creator",
"creatorId": "546195",
"name": "老番茄",
"url": "https://space.bilibili.com/546195",
"bio": "新浪微博:_老番茄_",
"followers": 20828979,
"following": 6,
"level": 6,
"videoCount": 679,
"isVerified": true,
"verifiedTitle": "2025百大UP主、2025年度商业影响力奖UP主、2022年度联合创作奖UP主",
"isVip": true,
"vipLabel": "年度大会员"
}

Comment and a reply under it:

{
"type": "comment",
"bvid": "BV1PTHS6MEC5",
"commentId": "320142686144",
"author": "你赢了啊Q",
"authorLevel": 2,
"text": "我觉得你们还是先别研发新游戏了,你们先把运营游戏的理念先搞懂…",
"likes": 446,
"replyCount": 11,
"postedAt": "2026-10-09T05:49:55.000Z"
}
{
"type": "reply",
"bvid": "BV1PTHS6MEC5",
"commentId": "320145135536",
"parentCommentId": "320142686144",
"author": "归问叁秋",
"authorLevel": 4,
"text": "以前玩过猫和老鼠和哈利波特,后来都退游了",
"likes": 2,
"postedAt": "2026-10-09T06:25:49.000Z"
}

Danmaku:

{
"type": "danmaku",
"bvid": "BV1PTHS6MEC5",
"cid": "42560719352",
"danmakuId": "2218327074841268736",
"text": "封面看成三角洲了,还有救吗?",
"videoTimeSeconds": 0.506,
"mode": "top",
"fontSize": 25,
"color": "#e70012",
"sentAt": "2026-10-09T08:59:54.000Z"
}

Post (a repost with text):

{
"type": "post",
"postId": "1248889675504943123",
"url": "https://t.bilibili.com/1248889675504943123",
"kind": "repost",
"creatorId": "546195",
"creatorName": "老番茄",
"publishedAt": "2026-09-17T04:09:47.000Z",
"text": "等了这么久终于上线了!!!游戏里有我的本体,大家来游戏里抓我吧!",
"likes": 5189,
"comments": 101,
"reposts": 4,
"originalPostId": "1248856252131311745",
"originalCreatorName": "闪耀吧噜咪"
}

Creator found by keyword:

{
"type": "creator",
"source": "search",
"keyword": "美食",
"creatorId": "491461718",
"name": "吮指美食研究员",
"url": "https://space.bilibili.com/491461718",
"followers": 213546
}

Live room:

{
"type": "live-room",
"roomId": "22816111",
"url": "https://live.bilibili.com/22816111",
"creatorId": "1437582453",
"title": "云顶新手福利还有吗",
"status": "replay",
"followers": 887536,
"online": 0,
"area": "虚拟Gamer",
"parentArea": "虚拟主播"
}

Hot search term:

{ "type": "hot-search", "rank": 1, "keyword": "Kyxsan称NiKo此前评价并非全貌", "heatScore": 2218961 }

Video row with includeSubtitles (live run 20 Oct 2026, segments shortened):

{
"type": "video",
"source": "search",
"keyword": "HK416",
"bvid": "BV1F4Ja6CER5",
"title": "逃离塔科夫 实验室改枪HK416",
"subtitleLanguage": "ai-zh",
"subtitleLanguages": ["ai-zh"],
"isAiSubtitle": true,
"subtitleText": "这局我们将在实验室改制\n把HK416\n配件和子弹都将在这个高强度的途中找\n…",
"subtitleSegments": [
{ "from": 0.12, "to": 1.92, "text": "这局我们将在实验室改制" },
{ "from": 1.92, "to": 3.02, "text": "把HK416" }
]
}

A video with no subtitle track keeps the row and gets subtitleText: null and empty subtitleSegments.

Key Output Fields

GroupFields
Identitytype, source, bvid, aid, cid, url, keyword, input
Videotitle, description, tags, category, publishedAt, durationSeconds, coverUrl, isOriginal, partCount, parts, width, height
Engagementviews, likes, coins, favorites, shares, comments, danmakuCount
Creator on a videocreatorId, creatorName, creatorAvatar
Creator rowname, bio, followers, following, level, videoCount, isVerified, verifiedTitle, isVip
Comment / replycommentId, parentCommentId, author, authorId, authorLevel, text, likes, replyCount, postedAt, likedByCreator, repliedByCreator
SubtitlessubtitleText, subtitleSegments (from, to, text), subtitleLanguage, subtitleLanguages, isAiSubtitle
DanmakudanmakuId, text, videoTimeSeconds, mode, color, fontSize, sentAt, senderHash
PostpostId, url, kind, text, title, images, video, likes, comments, reposts, originalPostId, originalCreatorName, publishedAt; topic on posts fetched by link
FavoritesfavoritedBy, favoritedAt, folderId, folderName (on video rows)
Live roomroomId, url, title, status, liveSince, followers, online, area, parentArea, tags, coverUrl; with includeStreamUrl: streamUrl, streamQuality, streamUrlExpiresAt
Hot searchrank, keyword, displayName, heatScore, searchUrl
MonitorchangeType, scrapedAt

FAQ

Do I need a Bilibili account, cookies or a proxy? No.

Which fields do list rows have, and which need Full details? Search rows have views, likes, favorites, comments, danmaku count, tags and category. Creator rows have views, comments and danmaku count. coins, shares, parts and resolution come with Full details, and video links always return everything.

Can I get comments newest first? No. Bilibili serves this list hottest first only.

How many danmaku can I get per video? Up to about 600 for the first part, which is what Bilibili serves without a login.

Does monitoring charge for videos I already have? No. Already-delivered videos are skipped before anything is fetched for them.

Can I search live rooms or articles by keyword? Not yet: Bilibili's search returns only bare ids for those, and there is no list of rooms by category. Live rooms work by room id or link.

Can it get subtitles or a transcript? Yes. Turn on includeSubtitles. You get the uploader's subtitles when there are any, otherwise Bilibili's AI transcript. Many short or music videos have neither; those rows keep subtitleText: null.

Can it download the video file? Not in this actor.

What makes this richer than the competition

CapabilityOther Bilibili actorsThis actor
Subtitles / AI transcriptSeparate transcript actorsincludeSubtitles, on the video row, $0.003 per transcript found
Comments with the whole reply threadTop-level comments, or replies cappedEvery reply, includeReplies
DanmakuOften a sample or a premium eventUp to ~600 per video at $1 per 1,000
Creator feed posts (动态), favorites, live roomsRarelyBuilt in
Creator discovery by keywordRarelycreatorKeywords
Hot search terms with heatRarelyincludeHotSearch
Only-new monitoringSomemonitorMode, already-seen videos are not billed
Price per video$3.50 to $20 per 1,000$5 per 1,000, comments $2, danmaku $1

Pricing

EventWhenPrice
Actor startOnce per run (per GB of memory)$0.005
VideoEach video row, with or without full details$0.005
CommentEach comment or reply$0.002
DanmakuEach bullet comment$0.001
SubtitleEach video whose transcript is found with includeSubtitles (from 4 Nov 2026; free before)$0.003
Creator profileEach full creator profile$0.005
Creator search resultEach creator found by keyword (when not upgraded to a full profile)$0.002
PostEach creator feed post$0.002
Live roomEach live room$0.003
Hot search termEach hot search term$0.001

Nothing is charged for rows that do not come back, and the run stops at your maximum charge.

Support

Found a bug or need a field? Open a ticket on the Issues tab.

Additional Services

Need this data delivered somewhere specific, or another China platform covered? Get in touch through the Apify Console.

Explore More Scrapers

China social in this family: WeChat Official Accounts, WeChat Channels, Douyin, Xiaohongshu / RedNote, Weibo, Zhihu. Full list at apify.com/memo23.

🤖 For AI Agents & LLM Apps

Compact reference for agents calling this actor via the Apify MCP server or the Apify API (actor: memo23/bilibili-scraper).

Purpose: Bilibili videos by keyword, creator or link; comments with replies; danmaku; subtitles / AI transcripts; creator profiles; trending list and hot search terms.

Minimal inputs:

{ "keywords": ["人工智能"], "maxItems": 20, "maxPages": 1 }
{ "creators": ["546195"], "includeCreatorProfile": true, "maxItems": 50 }
{ "videoUrls": ["BV1PTHS6MEC5"], "includeComments": true, "includeDanmaku": true }

Output: rows with type = video | creator | post | live-room | comment | reply | danmaku | hot-search. Comments, replies and danmaku link to their video by bvid.

Behaviors an agent should know:

  • Always set maxItems (video rows). Comments, replies and danmaku have their own caps.
  • Danmaku is billed per row; cap it with maxDanmakuPerVideo when you only need a sample.
  • Comments come hottest first only.
  • includeSubtitles: true adds subtitleText (plain transcript) to each video row; check for null, many videos have none.
  • monitorMode skips videos already delivered, unbilled.
  • Billing: $0.005 start + $0.005 per video + $0.002 per comment or reply + $0.001 per danmaku + $0.003 per subtitle transcript found (from 4 Nov 2026) + $0.005 per creator profile + $0.002 per creator found by keyword + $0.002 per post + $0.003 per live room + $0.001 per hot search term.

⚠️ Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Shanghai Bilibili Technology Co., Ltd. (Bilibili / 哔哩哔哩) or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.

Data comes from a third-party Bilibili data API and covers publicly visible content. Users are responsible for complying with Bilibili's terms of service, applicable data-protection law (GDPR, CCPA, and PRC personal-information rules), copyright in the content they collect, and their own organization's obligations.

SEO Keywords

bilibili scraper, 哔哩哔哩 scraper, bilibili subtitles, bilibili transcript, b站 字幕, bilibili ai subtitle, 哔哩哔哩 爬虫, b站 评论 采集, b站 弹幕 采集, b站 数据, bilibili api, bilibili video scraper, bilibili comments scraper, bilibili danmaku, 弹幕 scraper, bilibili search scraper, bilibili creator scraper, bilibili creator search, bilibili dynamics, 动态, bilibili live room, up主 数据, bilibili trending, bilibili hot search, bilibili analytics, china video scraper, bilibili monitoring, bilibili kol research, bilibili data api, anime video data, bilibili video stats