Bilibili Scraper - Videos, Creators, Comments & Danmaku avatar

Bilibili Scraper - Videos, Creators, Comments & Danmaku

Pricing

Pay per event

Go to Apify Store
Bilibili Scraper - Videos, Creators, Comments & Danmaku

Bilibili Scraper - Videos, Creators, Comments & Danmaku

Scrape Bilibili (B站) search results, video stats, full creator upload lists, creator profiles, trending videos, comments and danmaku. No login needed. Clean English field names.

Pricing

Pay per event

Rating

0.0

(0)

Developer

CN Data Lab

CN Data Lab

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Share

Get public data from Bilibili (哔哩哔哩, B站), the largest video community in China. Use it for market research, influencer discovery, trend tracking, brand monitoring and AI datasets.

No Bilibili account is needed. Field names are in English. Text content stays in the original language.

What you can scrape

ModeInputOutput
Search videosKeywordsUp to 1,000 videos per keyword, sorted by relevance, date, views, danmaku or favorites
Video detailsVideo URLs or BV IDsViews, likes, coins, favorites, shares, comments, danmaku count, tags, duration, author
All videos of a creatorSpace URLs or creator IDsThe complete upload list of a creator, sorted by newest or most views
Creator profilesSpace URLs or creator IDsFollowers, total likes, video count, level, verification, bio
Trending videosNothingThe current Bilibili popular list with full statistics
CommentsVideo URLs or BV IDsComment text, likes, reply count, author, date
DanmakuVideo URLs or BV IDsBullet comments with their position in the video and send time

Why this scraper

  • Complete creator upload lists. You get every public video of a channel.
  • Full statistics on list results. Turn on "Add full video details" and each search or creator result also has coins, shares, likes, favorites, comment counts and tags.
  • Pay per result. You pay only for the items you receive. There is no monthly rental.
  • Low memory. The Actor uses the Bilibili web APIs, not a browser. It runs with 256 MB.

Input examples

Search the newest videos for two keywords:

{
"mode": "search",
"queries": ["iPhone 17", "原神"],
"maxItems": 200,
"sort": "newest"
}

Get every video of a creator with full statistics:

{
"mode": "creatorVideos",
"queries": ["https://space.bilibili.com/546195"],
"maxItems": 1000,
"includeDetails": true
}

Get the danmaku of a video:

{
"mode": "danmaku",
"queries": ["https://www.bilibili.com/video/BV1GJ411x7h7"],
"maxItems": 5000
}

Output examples

Video (search with includeDetails, or the video mode):

{
"type": "video",
"bvid": "BV1aZpw6DEKJ",
"aid": 117393435138792,
"cid": 42511303711,
"url": "https://www.bilibili.com/video/BV1aZpw6DEKJ",
"title": "第一次去美国,被吓到了……",
"description": "暴雪嘉年华真好玩!!",
"coverUrl": "https://i0.hdslb.com/bfs/archive/ebc616f717a9c799243e57c2129f095ddec81eab.jpg",
"durationSeconds": 689,
"publishedAt": "2026-10-06T12:28:51.000Z",
"tags": ["美国", "老番茄", "旅游", "魔兽世界", "搞笑", "Vlog"],
"authorName": "老番茄",
"authorMid": 546195,
"viewCount": 2152024,
"danmakuCount": 3403,
"commentCount": 1732,
"likeCount": 84705,
"coinCount": 18327,
"favoriteCount": 14581,
"shareCount": 2740,
"query": "BV1aZpw6DEKJ",
"scrapedAt": "2026-10-09T02:47:35.990Z"
}

Creator profile:

{
"type": "creator",
"mid": 546195,
"url": "https://space.bilibili.com/546195",
"name": "老番茄",
"bio": "新浪微博:_老番茄_",
"level": 6,
"followerCount": 20828339,
"followingCount": 6,
"videoCount": 680,
"totalLikes": 195741077,
"isVerified": true,
"verifiedTitle": "2025百大UP主、2025年度商业影响力奖UP主",
"vipLabel": "年度大会员"
}

Comment:

{
"type": "comment",
"commentId": "3760801399",
"videoBvid": "BV1GJ411x7h7",
"text": "坏消息:被骗了\n好消息:真好听",
"likeCount": 764833,
"replyCount": 2193,
"createdAt": "2020-11-29T12:26:45.000Z",
"authorName": "老咸鱼A",
"authorMid": 320773657,
"authorLevel": 6
}

Danmaku:

{
"type": "danmaku",
"videoBvid": "BV1GJ411x7h7",
"text": "我是一万个点赞,正在反复横跳",
"videoTimeSeconds": 0.601,
"sentAt": "2020-11-07T09:54:55.000Z",
"danmakuId": "40685126698926083"
}

Limits you should know

  • Search: Bilibili returns at most 1,000 videos per keyword. Use more specific keywords or different sort orders to get more.
  • List results without details: Search results have no coin and share counts. Creator-video results have only title, cover, duration, publish date and views. Turn on "Add full video details" to get all statistics.
  • Comments: Bilibili shows only the top comments (about 3 per video) to visitors who are not logged in. To get more, put the SESSDATA cookie of your own Bilibili account in the "cookie" input. The cookie is stored as a secret and is sent only to Bilibili.
  • Danmaku: Bilibili keeps a limited pool for each video. The Actor returns the current pool of the first part of the video.
  • Sub-replies of comments are not scraped.

Pricing

Pay per result. Each video, creator profile or comment in the dataset is one result. Danmaku lines have their own, much lower price because one video can have thousands of them. You do not pay for failed queries.

FAQ

Do I need a Bilibili account or cookies? No. Only the full comment list needs a cookie.

Can I call it from an API, n8n, Make or an AI agent? Yes. Use the Apify API, the integrations tab, or the Apify MCP server.

Is it legal to scrape Bilibili? The Actor collects only data that is publicly visible without login. Results can contain personal data such as user names. Make sure that your use follows the law that applies to you.

Something does not work or you need another field? Open an issue on the Issues tab.