Bilibili (哔哩哔哩) Scraper - Videos, Comments & Creators avatar

Bilibili (哔哩哔哩) Scraper - Videos, Comments & Creators

Pricing

from $4.99 / 1,000 results

Go to Apify Store
Bilibili (哔哩哔哩) Scraper - Videos, Comments & Creators

Bilibili (哔哩哔哩) Scraper - Videos, Comments & Creators

Extract Bilibili (哔哩哔哩) videos by keyword, BV id, or creator UID: views, likes, coins, favorites, danmaku, tags, comments, and creator profiles. Export to JSON, CSV, or Excel.

Pricing

from $4.99 / 1,000 results

Rating

0.0

(0)

Developer

Zen Studio

Zen Studio

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

14 hours ago

Last modified

Share

Bilibili Scraper (哔哩哔哩 / B站) | Video Search, Details, Comments & Creator Data (2026)

Bilibili (哔哩哔哩) video scraper output: views, likes, coins, danmaku, favorites, tags, and 20M-follower creator stats as structured JSON

60+ fields per Bilibili (哔哩哔哩) video, views, likes, coins, danmaku, shares, tags, and creator stats, across five modes in clean structured JSON.
Zen Studio · Chinese-platform suite   •  Bilibili (B站), Douyin (抖音), RedNote (小红书), Xigua (西瓜视频)
▷ Bilibili Video
➤ You are here
 Douyin Search
Keyword video search
 RedNote Search
小红书 note search
 Xigua Video
西瓜视频 search

Copy to your AI assistant

zen-studio/bilibili-video-scraper on Apify. Scrapes Bilibili (哔哩哔哩) videos, comments, and creator catalogues with full engagement metrics. Call ApifyClient("TOKEN").actor("zen-studio/bilibili-video-scraper").call(run_input={...}), then client.dataset(run["defaultDatasetId"]).list_items().items. Set mode (search / video_detail / comments / user_videos / popular), then fill that mode's fields (keywords / videoUrls / userIds). Full spec: GET https://api.apify.com/v2/acts/zen-studio~bilibili-video-scraper/builds/default (Bearer TOKEN) → inputSchema, actorDefinition.storages.dataset, readme. Token: https://console.apify.com/account/integrations

Key Features

  • 28 fields per video: views, likes, coins, favorites, danmaku, shares, replies, duration, tags, category, publish date, and creator name/UID/avatar, all in one row.
  • Five modes in one actor: keyword search, video details, comments with nested replies, a creator's full video catalogue, and trending/popular.
  • Search filters: sort by relevance, views, newest, danmaku, or favorites; filter by video length and publish-date window.
  • Free tier: 10 lifetime preview runs, up to 20 results per run. No credit card required.

How to Scrape Bilibili Videos

Pick a mode, fill in that mode's fields, and run. Each mode reads only its own fields.

Basic: search by keyword

{
"mode": "search",
"keywords": ["原神"],
"maxResults": 50
}

Search with sort and filters

{
"mode": "search",
"keywords": ["美食", "vlog"],
"sortOrder": "views",
"durationFilter": "medium",
"pubtimeBegin": "2026-01-01",
"maxResults": 200
}

Full details for specific videos

{
"mode": "video_detail",
"videoUrls": ["https://www.bilibili.com/video/BV1DYjA6KEJ7", "BV16D7T6AEP7"],
"includeTags": true
}

Comments for a video

{
"mode": "comments",
"videoUrls": ["BV1DYjA6KEJ7"],
"maxComments": 50
}

A creator's full video catalogue

{
"mode": "user_videos",
"userIds": ["546195", "https://space.bilibili.com/178360345"],
"maxResults": 100
}
{
"mode": "popular",
"maxResults": 100
}

Input Parameters

ParameterTypeDefaultDescription
modestringsearchOne of search, video_detail, comments, user_videos, popular.
keywordsstring[]["原神"]Search terms (search mode). Chinese gives the best recall; English works too.
sortOrderstringrelevanceSearch ranking: relevance, views, newest, danmaku, favorites.
durationFilterstringanyLength filter: any, short (<10m), medium (10-30m), long (30-60m), verylong (>60m).
pubtimeBeginstringoptionalOnly videos published on/after this date (YYYY-MM-DD).
pubtimeEndstringoptionalOnly videos published on/before this date (YYYY-MM-DD).
videoUrlsstring[]["BV1DYjA6KEJ7"]Video URLs or BV ids (video_detail and comments modes).
includeTagsbooleantrueInclude each video's tags in the output (video_detail mode).
includeRelatedbooleanfalseAttach Bilibili's related/recommended videos (video_detail mode).
includeHotCommentsbooleanfalseAttach each video's top comments (video_detail mode). For full comment scraping use Comments mode.
creatorProfileDetailstringsubsetCreator info per video: none, subset, or full (video_detail mode).
maxCommentsinteger50Max comments per video (comments mode).
userIdsstring[]["178360345"]Creator UIDs or space.bilibili.com/{uid} URLs (user_videos mode).
maxResultsinteger50Per keyword (search), per creator (user_videos), or total (popular). 0 = all available.

What Data Can You Extract from Bilibili?

Every video row includes:

  • Identity: BV id, AV id (aid), CID, title, description, post text, canonical URL, short link, thumbnail.
  • Engagement: view count, danmaku (bullet comment) count, likes, coins, favorites, shares, replies.
  • Creator: name, UID, avatar, and (in video-detail mode) follower count, total likes, and video/article counts.
  • Media: duration (seconds and formatted), resolution (width/height), part count, subtitles flag.
  • Classification: category and subcategory (plus their IDs), tags, copyright/original flag, paid and collab flags, uploader location.
  • Timing: publish and upload timestamps (ISO and epoch). In popular mode, the trending reason.

Comment rows add the comment text, custom emotes, pinned flag, like/reply/total-reply counts, posted-time description, commenter location and VIP/verification, whether the creator liked or replied, author name/UID/level, and one level of nested replies. Creator rows add the bio, level, rank, coins, VIP tier and expiry, verification title and role, profile banner, live-room (id/url/status/title), charging status, school/profession, total video count, and profile URL.

In video_detail mode you can also attach each video's hot comments (on by default), related videos (includeRelated), and a creator profile (creatorProfileDetail: counts only, a flat subset, or a full nested object).

Output Example

A full video_detail row (every field shown; includeRelated and creatorProfileDetail: full on):

{
"type": "video",
"bvid": "BV1DYjA6KEJ7",
"aid": 116770799295304,
"cid": 39216154197,
"title": "《原神》「『空月之歌·谐谑』映夏!归乡?千灵节!」前瞻特别节目",
"description": "《原神》「『空月之歌·谐谑』映夏!归乡?千灵节!」将于...",
"url": "https://www.bilibili.com/video/BV1DYjA6KEJ7",
"thumbnailUrl": "https://i0.hdslb.com/bfs/archive/9839aee8582b365528c3e9f364748e4acb4c2401.jpg",
"duration": 2583,
"durationFormatted": "43:03",
"width": 2560,
"height": 1440,
"viewCount": 1413968,
"danmakuCount": 23909,
"likeCount": 101132,
"coinCount": 34937,
"favoriteCount": 22423,
"shareCount": 6056,
"replyCount": 8402,
"authorName": "原神",
"authorMid": 401742377,
"authorAvatar": "https://i2.hdslb.com/bfs/face/853c4a846793dfbdafd8f16a40d6d8065bdb7c6f.jpg",
"authorFollowerCount": 20560393,
"authorTotalLikes": 275226666,
"authorVideoCount": 710,
"authorArticleCount": 0,
"publishTimestamp": 1781787600,
"publishDate": "2026-06-18T13:00:00+00:00",
"uploadTimestamp": 1781781127,
"uploadDate": "2026-06-18T11:12:07+00:00",
"category": "资讯",
"categoryId": 172,
"categoryV2": "单机游戏",
"categoryIdV2": 2064,
"parentCategory": "游戏",
"parentCategoryId": 1008,
"tags": ["月之八", "映夏归乡千灵节", "米哈游", "// ...more"],
"dynamicText": "#原神# #月之八# #映夏归乡千灵节#",
"copyright": 1,
"isOriginal": true,
"partCount": 1,
"hasSubtitles": false,
"downloadable": true,
"isPaidVideo": false,
"isUnionVideo": null,
"argueMsg": "",
"location": null,
"trendingReason": null,
"shortLink": "",
"firstFrameUrl": "",
"cover43Url": "",
"matchedFields": null,
"creatorBio": "原神官方账号",
"creatorLevel": 6,
"creatorVerifyTitle": "原神官方账号",
"creatorVipType": 2,
"creatorProfile": {
"mid": 401742377, "name": "原神", "sign": "原神官方账号", "sex": "保密",
"level": 6, "rank": 10000, "fans": 20560393, "friend": 60, "attention": 60,
"isOfficial": true, "officialRole": 3, "officialTitle": "原神官方账号",
"vipType": 2, "isVip": true, "isSeniorMember": false,
"profileUrl": "https://space.bilibili.com/401742377"
},
"hotComments": [
{
"type": "comment", "isPinned": false, "commentId": 306166465616,
"text": "当至冬海关检查我的背包时:", "emotes": null, "likeCount": 7857,
"replyCount": 161, "totalReplyCount": 176, "createdAt": "2026-06-18T13:00:49+00:00",
"timeDescription": "5天前发布", "location": null, "authorName": "Flame-Unicorn",
"authorMid": 3493292303977221, "authorLevel": 5, "authorVipType": 0,
"authorVerified": false, "upLiked": false, "upReplied": false,
"videoBvid": "BV1DYjA6KEJ7", "videoAid": 116770799295304, "replies": []
}
// ... more
],
"relatedVideos": [
{
"bvid": "BV1B4hizbEMK", "aid": 115117958104497, "title": "劝人换常驻?那确实得换换!",
"url": "https://www.bilibili.com/video/BV1B4hizbEMK", "duration": 77,
"viewCount": 207888, "likeCount": 2531, "authorName": "勿威勿微",
"authorMid": 2144543, "publishDate": "2025-08-30T13:34:20+00:00"
}
// ... more
],
"rankIndex": null,
"keyword": null,
"sortSource": null,
"scrapedAt": "2026-06-24T07:00:00+00:00"
}

A standalone comment row (comments mode), including the creator-pinned comment and custom emotes:

{
"type": "comment",
"isPinned": false,
"commentId": 306166465616,
"text": "当至冬海关检查我的背包时:[脸红]",
"emotes": [
{ "text": "[脸红]", "url": "https://i0.hdslb.com/bfs/emote/0922c375da40e6b69002bd89b858572f424dcfca.png" }
],
"likeCount": 7798,
"replyCount": 160,
"totalReplyCount": 176,
"createdTimestamp": 1781787649,
"createdAt": "2026-06-18T13:00:49+00:00",
"timeDescription": "5天前发布",
"location": "上海",
"authorName": "Flame-Unicorn",
"authorMid": 3493292303977221,
"authorAvatar": "https://i0.hdslb.com/bfs/face/8b2142f8a9b61f0abd9e400235f8cc714c54e12e.jpg",
"authorLevel": 5,
"authorSex": "保密",
"authorVipType": 0,
"authorIsVip": false,
"authorVerified": false,
"mentions": null,
"upLiked": false,
"upReplied": false,
"videoBvid": "BV1DYjA6KEJ7",
"videoAid": 116770799295304,
"replies": [
{
"type": "comment",
"commentId": 303074770225,
"text": "没这么冷静[傲娇]",
"likeCount": 998,
"authorName": "云芷白摆摆",
"authorMid": 327087795,
"authorLevel": 6,
"videoBvid": "BV1DYjA6KEJ7"
}
// ... more replies
],
"scrapedAt": "2026-06-23T16:58:51+00:00"
}

A creator row (first row in user_videos mode):

{
"type": "user",
"mid": 546195,
"name": "老番茄",
"face": "https://i0.hdslb.com/bfs/face/bc5ca101313d4db223c395d64779e76eb3482d60.jpg",
"sign": "新浪微博:_老番茄_",
"sex": "保密",
"level": 6,
"rank": 10000,
"coins": 0,
"birthday": null,
"school": null,
"profession": null,
"topPhotoUrl": "https://i0.hdslb.com/bfs/space/3ab888c1d149e864ab44802dea8c1443e940fa0d.png",
"isOfficial": true,
"officialRole": 1,
"officialTitle": "2025百大UP主、2025年度商业影响力奖UP主、2022年度联合创作奖UP主",
"isVip": true,
"vipType": 2,
"vipLabel": "年度大会员",
"vipDueDate": "2026-10-07T16:00:00+00:00",
"isSeniorMember": false,
"isTop100Honour": false,
"hasMcn": false,
"chargingEnabled": true,
"liveRoomId": 21852,
"liveStatus": 0,
"liveTitle": "最折磨的一集",
"liveRoomUrl": "https://live.bilibili.com/21852",
"archiveCount": 662,
"profileUrl": "https://space.bilibili.com/546195",
"scrapedAt": "2026-06-23T17:04:52+00:00"
}

Advanced Usage

Ready-made configurations for trend monitoring, competitor tracking, sentiment research, and creator analytics.

Track a topic's top videos by views

{
"mode": "search",
"keywords": ["新能源汽车"],
"sortOrder": "views",
"pubtimeBegin": "2026-01-01",
"maxResults": 500
}

Pull a creator's entire catalogue (newest first)

{
"mode": "user_videos",
"userIds": ["546195"],
"maxResults": 0
}

Harvest comments across several videos

{
"mode": "comments",
"videoUrls": ["BV1DYjA6KEJ7", "BV16D7T6AEP7"],
"maxComments": 100
}
{
"mode": "popular",
"maxResults": 200
}

Pricing: Pay Per Event (PPE)

You pay per result returned, plus a small fixed fee when a run starts. Volume discounts apply automatically at higher Apify plans.

EventPer resultPer 1,000 results
Result (video or creator profile)$0.006$6
Comment$0.006$6

Free tier: 10 lifetime runs, up to 20 results per run. No credit card required.

FAQ

What is Bilibili (哔哩哔哩 / B站 / Bili Bili)? Bilibili, written 哔哩哔哩 and nicknamed B站 ("B-site"), is one of China's largest long-form video communities, known for its danmaku (弹幕) scrolling bullet comments. Creators ("UP主") post everything from gaming and anime to study-with-me and food vlogs. This actor extracts video, comment, and creator data across search, detail, and trending views.

How many results can I extract? Set maxResults to any number, or 0 for everything available. Search returns up to its budget per keyword, user_videos returns a creator's full catalogue, and popular returns the trending list. The free tier is limited to 20 results per run.

How fresh is the data? Live. Every run fetches current data from Bilibili at request time, including up-to-the-minute view, like, coin, and danmaku counts.

Do I need a Bilibili account or cookies? No. Provide keywords, video ids, or creator UIDs and run. No account, cookie export, or QR login is involved.

How do I export the data? JSON, CSV, Excel, XML, or HTML from the run's Storage tab, or via the Apify API. JSON preserves nested fields best (comment replies, tag arrays).

What is a BV id, and where do I find it? The BV id is the unique code in a video's URL, for example BV1DYjA6KEJ7 in bilibili.com/video/BV1DYjA6KEJ7. Paste either the full URL or just the BV id into videoUrls.

What is danmaku? Danmaku (弹幕) are the user comments that scroll across the video as it plays. This actor returns the danmaku count per video as an engagement signal; it does not export the individual danmaku messages.

Can I also get a creator's followers or fan count? The creator row returns the profile bio, level, total video count, and profile URL. For other Chinese platforms' creator metrics, see the RedNote User Profile Scraper or Douyin Profile Scraper.

Why do some numeric fields show null? Search results expose fewer fields than a full video page. Fields a given view cannot provide (such as coins or shares in search mode) are returned as null rather than dropped, so the column set stays stable. Use video_detail mode for the complete engagement set.

What's the free tier? 10 runs total per account, up to 20 results each. No credit card required.

Is it legal to scrape Bilibili data? This actor extracts only publicly available data, nothing behind a login. You are responsible for complying with Bilibili's terms of service and applicable data-protection law (GDPR, CCPA, and China's PIPL). Comment authors and creator names are personal data; handle them accordingly.

Support

  • Bugs: Issues tab
  • Features: Issues tab

Extracts publicly available data. Users must comply with Bilibili terms and data protection regulations (GDPR, CCPA, PIPL).

More Zen Studio scrapers for Chinese platforms

🎬 Short-video & social

🛒 E-commerce

🏠 Real estate & autos


Scrape Bilibili (哔哩哔哩) videos, comments, and creator catalogues by keyword, BV id, or UID, with full engagement metrics in structured JSON.