Bilibili Scraper - Videos, Comments, Danmaku & Search avatar

Bilibili Scraper - Videos, Comments, Danmaku & Search

Pricing

from $8.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. $8 per 1,000 videos or comments, $0.10 per 1,000 danmaku; failures are free.

Pricing

from $8.00 / 1,000 video or comments

Rating

0.0

(0)

Developer

Tenfold Fleet

Tenfold Fleet

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

2 days 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:

  • $8 per 1,000 videos or comments ($0.008 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.

Use it with AI agents (MCP)

Give Claude, ChatGPT, Cursor or any MCP client this Actor as a tool through Apify's MCP server: add https://mcp.apify.com?tools=tenfoldfleet/bilibili-scraper as a remote MCP server and sign in with your Apify account. The agent fills in the input, runs the Actor and reads the results itself; you pay the same per-event price as a normal run.

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

ActorOutput
ALDI Australia Scraper - AU Products, Unit Prices & Catalogueproduct
Alibaba Image Search - Reverse Lookup of Suppliers by Photomatched product
Alibaba Products Scraper: Wholesale Suppliers, MOQ, Price Tiersproduct
AliExpress Reviews Scraper: Product Feedback & Photos Monitorreview
AliExpress Keyword Scraper - Exact Sold Counts by Search Termproduct
Amazon Product Scraper - Details, Prices & Search by ASINproduct
Applicant Tracking Jobs Scraper - Greenhouse, Lever & 6 Morejob posting
Backlinks Checker - Referring Domains, Anchors & Domain Rankbacklink
BBB Scraper: Business Leads, Ratings & New Reviewsbusiness
Businesses Without Websites - Local Leads with Phone & Ratinglead
Coles Product Scraper - Australian Supermarket Prices & Dealsproduct
Contact Details Scraper - One Lead Record per Company Websitewebsite with contacts
Facebook Ads Library Scraper for Marketersad
Facebook Page Contact Finder - Business Leads from Page Linkspage with contact details
Facebook Reels Scraper: Views & Captions Monitor for Any Pagereel
Foundit Jobs Monitor: India, Singapore & Malaysia Jobs Scraperjob listing
Funding Rounds Scraper - Recently Funded Companies & Investorsfunding round
Google Ads Transparency Center Scraper - Competitor Ads by Sitead
Google AI Overviews Checker - Citations & Domain Trackerkeyword checked
Google Flights Scraper - All Fares per Route & Date (API)route search
Google Hotels Scraper - Nightly Prices, Stars & Booking Siteshotel
Google for Jobs Scraper - Openings by City, Pay & Job Boardjob listing
Google Keyword Planner API Alternative - Ideas, Bids & Volumekeyword idea
Google Maps Extractor - Business Leads, Phones & Websitesplace
Google News Scraper - Articles, Real URLs & Full Textarticle
Google Travel Hotel Rate Tracker - OTA Prices for Every Nightoffer
Search Trends by Region & Time - Google Trends Data Scraperkeyword
Instagram Reels Search - Keyword to Top Reels, Plays & Creatorsreel
Instagram Reels Transcript - Speech to Text for Public Reelsreel transcript
Keyword Ideas & Related Keywords - Difficulty, Volume & CPCkeyword idea
Keyword Search Volume, CPC & Difficulty Checker (Bulk)keyword with data
Likee Scraper - Creators by Country, Video Views & Likesvideo
LinkedIn Ads Library Scraper - Competitor Ad Copy & Targetingad
LinkedIn Company Posts Monitor: New Posts, No Loginpost
LinkedIn Company Scraper: Firmographics & Recent Postscompany
Pinterest Search Scraper: Pins, Promoted Ads & Shop Trendspin
Reddit Brand Monitoring - Keyword Alerts for Posts & Commentsmention
Reddit Post Comments Export: Threads to JSON & CSVcomment
Remote Job Board Scraper - Remote Jobs Aggregator, 7 Sitesunique remote job
SEEK Jobs Scraper - Salaries & Hiring Across 8 APAC Job Boardsjob listing
SEO Agent - AI Keyword Research & Competitor Reportsresearch report
SEO Crawler - Technical SEO Audit Tool & On-Page Checkerpage audit
SEO Competitor Keywords - Domain Ranked Keywords & Keyword Gapkeyword
Shopify Inventory Scraper - SKUs, Variants & In-Stock Statusproduct
Shopify App & Theme Detector - Store Analyzer & Contactsshopify store
Sitemap URL Extractor - All URLs from sitemap.xml & robots.txturl
Stock Photos & Videos Scraper for Pexelsmedia item
Website Built With Checker - Find Any Site's CMS & Tech Stackwebsite
Threads Search - Keyword & Profile Posts Scraper (No Login)post
TikTok Ads Library Scraper: Competitor Ads in Europead
TikTok Transcripts - Captions or Speech to Text for Any Videovideo transcript
HTML to Text & URL to Markdown - LLM Ready Web Contentpage
Website Traffic Checker - Bulk Domain Traffic Estimatedomain with traffic data
WeChat Official Account Articles - Keyword Search to Markdownarticle found
Weibo Scraper - Comment Threads, Hot Search Ranks & User Statscomment
Woolworths Product Scraper - AU Shelf Prices, Specials & GTINsproduct
Workday Jobs Scraper - myworkdayjobs.com API with Salaryjob posting
YouTube Channel Email Scraper - Creator Contact Extractorchannel with email
YouTube Livestream & Channel Scraper - Videos, Likes & Statsvideo
YouTube Comments Scraper - Replies, Likes & Sort by Newestcomment
YouTube Search Scraper: Keyword Video & Shorts Monitorsearch result
YouTube Shorts Analytics Scraper - Views, Likes & Hashtagsshort
YouTube Captions Downloader - Transcript & Subtitles Scrapertranscript