Bilibili Scraper - Videos, Comments, Danmaku & Search avatar

Bilibili Scraper - Videos, Comments, Danmaku & Search

Pricing

from $5.00 / 1,000 video or comments

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

Bilibili Scraper - Videos, Comments, Danmaku & Search

Scrape Bilibili videos, comments and danmaku: search Bilibili (B站) by keyword, get video stats (views, likes, coins, favorites), comments, bullet comments (弹幕) and creator uploads. No login. $5 per 1,000 videos or comments, $0.10 per 1,000 danmaku; failures are free.

Pricing

from $5.00 / 1,000 video or comments

Rating

0.0

(0)

Developer

Tenfold Fleet

Tenfold Fleet

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

What does Bilibili Scraper do?

Bilibili Scraper gets public data from Bilibili (哔哩哔哩, B站), China's largest video community, through a simple Bilibili API. In one run you can:

  • Search Bilibili videos by keyword (Chinese or English), sorted by relevance, views, date, danmaku, favorites or comments.
  • Get video details and stats: views, likes, coins, favorites, shares, danmaku and comment counts, duration, parts and uploader.
  • Scrape Bilibili comments (hot or newest first) with likes, reply counts and IP region.
  • Download danmaku (弹幕, bullet comments) with the exact video time, mode, color and send time.
  • List a creator's uploads (UP主 videos), newest first.

No login, no cookies and no browser: requests are signed like the Bilibili web and app clients, with automatic retries when Bilibili rate-limits.

Why use it?

  • Market and trend research on Chinese audiences: which topics, games and brands get views on Bilibili.
  • Brand and campaign monitoring: search a brand name and track views, likes and comments over time.
  • Influencer (KOL) research: compare a creator's recent uploads and engagement.
  • Sentiment analysis and NLP: comments and danmaku are rich, real-time audience reactions.
  • AI agents and data pipelines: clean JSON rows that are easy to feed into an LLM or a database.

What data can it extract?

Result typeFields
Videobvid, aid, url, title, description, authorName, authorMid, category, tags, durationSecs, views, likes, coins, favorites, shares, danmakuCount, comments, publishedAt, thumbnail, parts
CommentcommentId, text, likes, replyCount, authorName, authorMid, authorLevel, location (IP region), isPinned, postedAt
DanmakudanmakuId, text, videoTimeSecs, mode, fontSize, color, sentAt, cid

How to scrape Bilibili

  1. Open the Actor and add search keywords, video URLs and/or creator ids.
  2. For video URLs, choose what you want: video details, comments and/or danmaku.
  3. Set the limits (videos per search, comments per video, danmaku per video).
  4. Click Start and download the results.

How much does it cost to scrape Bilibili?

Pay per result, no subscription:

  • $5 per 1,000 videos or comments ($0.005 each).
  • $0.10 per 1,000 danmaku ($0.0001 each), so a video with 3,000 danmaku costs $0.30.
  • Failed inputs are free: deleted videos, empty searches and blocked requests are returned as error rows and not charged.

Input

{
"searchQueries": ["原神", "minecraft"],
"maxResults": 20,
"videoUrls": ["https://www.bilibili.com/video/BV17x411w7KC"],
"scrapeVideoDetails": true,
"scrapeComments": true,
"maxComments": 100,
"scrapeDanmaku": true,
"maxDanmakuPerVideo": 2000,
"creatorIds": ["546195"]
}

Output

You can download the dataset as JSON, CSV, Excel, XML or HTML. A video row looks like this:

{
"type": "video",
"bvid": "BV17x411w7KC",
"aid": 170001,
"url": "https://www.bilibili.com/video/BV17x411w7KC",
"title": "【MV】保加利亚妖王AZIS视频合辑",
"authorName": "冰封.虾子",
"authorMid": 122541,
"durationSecs": 2412,
"views": 45816638,
"likes": 943114,
"coins": 294962,
"favorites": 877182,
"danmakuCount": 915672,
"comments": 184110,
"publishedAt": "2011-11-09T14:55:33.000Z"
}

A danmaku row:

{ "type": "danmaku", "bvid": "BV17x411w7KC", "text": "前方高能", "videoTimeSecs": 196.551, "mode": "scroll", "color": "#ffffff", "sentAt": "2025-01-20T13:36:26.000Z" }

Tips

  • BV ids, av ids, full URLs and b23.tv short links all work. The same video given twice (for example as a URL and as an av id) is scraped and charged only once.
  • Keep Max concurrency low (3 is the default). Bilibili rate-limits fast clients, and the Actor retries blocked pages with a new session and IP.
  • Bilibili serves only the most recent few thousand danmaku per video.
  • Search returns at most about 1,000 videos per keyword; use several keywords or sort orders for more.

FAQ

Do I need a Bilibili account or cookies?

No. The Actor uses only public, anonymous endpoints.

Can it scrape creator profiles or follower lists?

No. It scrapes public videos, comments and danmaku only, not user profiles or follower lists.

Why did an input return an error row?

The video may be deleted, region-locked or private, the search may have no results, or Bilibili may have blocked every retry. Error rows are free.

Can I use it through an API or with AI agents?

Yes. Call it through the Apify API, the Apify MCP server or any Apify integration, and read the results as JSON.

Disclaimer

This Actor collects only publicly available data. Comments include public usernames and user ids; process them in line with GDPR and other data-protection laws, and use the data only for legitimate purposes. Bilibili is a trademark of its owner; this Actor is not affiliated with or endorsed by Bilibili.

More tools from Tenfold Fleet

ActorPrice
AliExpress Products Scraper - Search, Prices & Sold Count$1.5 per 1,000 (product)
Amazon Product Scraper - Details, Prices & Search by ASIN$1.5 per 1,000 (product)
ATS Jobs Scraper - Greenhouse, Lever, Ashby & 5 More$2 per 1,000 (job posting)
Contact Details Scraper - Website Email & Phone Extractor$8 per 1,000 (website with contacts)
Google Ads Transparency Center Scraper - Competitor Ads by Site$1 per 1,000 (ad)
Google News Scraper - Articles, Real URLs & Full Text$2 per 1,000 (article)
Google Trends Scraper - Interest, Regions & Related Queries$2 per 1,000 (keyword)
Keyword Search Volume, CPC & Difficulty Checker (Bulk)$5 per 1,000 (keyword with data)
Remote Jobs Aggregator - RemoteOK, WWR, Himalayas & 4 more$1.2 per 1,000 (unique remote job)
SEEK Job Scraper - Australia, NZ, Jobstreet & JobsDB$0.9 per 1,000 (job listing)
SEO Audit Tool - Technical On-Page SEO Checker & Score$20 per 1,000 (page audit)
Shopify Products Scraper - Prices, Variants & Stock$0.8 per 1,000 (product)
Shopify App & Theme Detector - Store Analyzer & Contacts$8 per 1,000 (shopify store)
Sitemap URL Extractor - All URLs from sitemap.xml & robots.txt$0.4 per 1,000 (url)
Technology Detector - Wappalyzer & BuiltWith Alternative$10 per 1,000 (website)
URL to Markdown - Web Page to LLM-Ready Text for AI Agents$1 per 1,000 (page)
Workday Jobs Scraper - myworkdayjobs.com API with Salary$1.5 per 1,000 (job posting)
YouTube Comments Scraper - Replies, Likes & Sort by Newest$0.6 per 1,000 (comment)
YouTube Shorts Scraper - Views, Likes & Hashtags by Channel$2 per 1,000 (short)
YouTube Transcript Scraper - Captions & Subtitles API$3 per 1,000 (transcript)