Bilibili Scraper Pro — Videos, Danmaku & Creator API
Pricing
from $1.00 / 1,000 bilibili item (video / creator / trending)s
Bilibili Scraper Pro — Videos, Danmaku & Creator API
Fast, 10x cheaper Bilibili (B站) scraper & API. Extract video search, engagement stats, parsed timestamped danmaku XML, popular charts, and creator profiles with zero browser overhead.
Pricing
from $1.00 / 1,000 bilibili item (video / creator / trending)s
Rating
0.0
(0)
Developer
Moe Over
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 hours ago
Last modified
Categories
Features
Share
Fast, reliable Bilibili (B站) Video, Creator, Trending Chart & Parsed Timestamped Danmaku (弹幕) XML API — engineered for zero browser overhead, SPI guest-session reliability, and 10x lower cost than legacy scrapers.
Key Capabilities & Advantages
- Zero-Browser, Zero-Proxy Architecture: Runs cleanly in lightweight containers with near-instant startup and high reliability.
- Schema-First & MCP-Ready: Ships with strict Input, Output, and Dataset table schemas for seamless use with Apify MCP Server (Claude / Cursor), n8n, Make, Clay, and Zapier.
- Transparent Pay-Per-Event Pricing: Pay only for verified records delivered (
$2.00 per 1,000bilibili video, trending, or creator records) — never for idle browser compute.
Popular Use Cases
- Chinese Market & Brand Sentiment Research: Track video mentions, views, likes, coins (
投币), favorites, and shares across product keywords. - Danmaku (弹幕) Audience Mining: Enable
includeDanmaku: trueto automatically parse raw XML bullet-comments into timestamped JSON plus top repeated audience phrases (danmakuTopPhrases). - Creator / KOL Discovery & Vetting: Pull creator profiles (
mode: creator) with follower counts, archive counts, total likes, and official verification titles. - Viral Trend Monitoring: Schedule
mode: populardaily to track rising Chinese tech, gaming, AI, and consumer video trends.
Input Configuration
Every field below matches the Actor's live Input Schema:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
mode | string | No | "search" | Choose what to extract: keyword video search, specific video URLs/BVIDs, creator profiles, or live popular/trending charts. |
keywords | array | No | ["AI Agent"] | List of Chinese or English keywords to search on Bilibili (e.g. 'AI Agent', '黑神话悟空', 'Python'). |
searchOrder | string | No | "totalrank" | How to sort video search results. |
videoUrls | array | No | [] | Accepts full URLs (https://www.bilibili.com/video/BV...) or raw BV IDs (BV1...). |
creatorIds | array | No | [] | Accepts numeric Bilibili UIDs (mid) or space URLs (https://space.bilibili.com/946974). |
includeDanmaku | boolean | No | false | When enabled on 'video' or 'search' (with enrichDetails) mode, fetches and parses the video's danmaku XML into structured timestamped bullet comments + top phrases. |
maxDanmakuPerVideo | integer | No | 200 | Maximum parsed danmaku lines stored per video when includeDanmaku is enabled. |
enrichVideoDetails | boolean | No | false | Calls Bilibili's video detail API for each search hit to add exact likes, coins, shares, favorites, and CID. |
maxItems | integer | No | 30 | Maximum number of items returned per keyword (search) or total items (popular). |
Example Input JSON
{"mode": "search","keywords": ["AI Agent"],"searchOrder": "totalrank","videoUrls": [],"creatorIds": [],"includeDanmaku": false,"maxDanmakuPerVideo": 200,"enrichVideoDetails": false,"maxItems": 20}
Output Data Structure
Results are written to the default Apify Dataset and downloadable as JSON, CSV, Excel (XLSX), XML, or RSS.
| Field | Type | Description |
|---|---|---|
itemType | string | Item Type |
bvid | string | BVID |
title | string | Title |
author | string | Creator |
views | number | Views |
likes | number | Likes |
coins | number | Coins |
danmakuCount | number | Danmaku Count |
publishedDate | string | Published Date |
url | string | URL |
Sample Output Record
{"itemType": "video","bvid": "BV1xx411c7mD","title": "AI Agent Workflow Deep Dive","author": "TechCreatorCN","views": 184200,"likes": 12450,"coins": 4810,"danmakuCount": 920,"publishedDate": "2026-11-20","danmakuTotalInXml": 920,"danmakuTopPhrases": [{"text": "太强了","count": 48},{"text": "实用","count": 31}],"url": "https://www.bilibili.com/video/BV1xx411c7mD"}
Transparent Pricing (Pay-Per-Event)
- Actor Start (
apify-actor-start):$0.00005flat startup fee per run. - Primary Event (
item-result):$0.0020per item ($2.00 / 1,000) — Bilibili video, trending, or creator record. - Optional Add-On Event (
danmaku-pack):$0.0050per item ($5.00 / 1,000) — Parsed timestamped Danmaku XML + top phrases (optional).
| Volume | Estimated Total Cost |
|---|---|
| 100 results | $0.2001 |
| 1,000 results | $2.00 |
| 10,000 results | $20.00 |
| 50,000 results | $100.00 |
Set Apify's built-in Max cost per run cap anytime to guarantee strict budget control.
Integrations (API, Python, Node.js, n8n & AI Agents MCP)
cURL (Synchronous JSON Response)
curl -X POST "https://api.apify.com/v2/acts/moeover~bilibili-pro-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"mode": "search", "keywords": ["AI Agent"], "searchOrder": "totalrank", "videoUrls": [], "creatorIds": [], "includeDanmaku": false, "maxDanmakuPerVideo": 200, "enrichVideoDetails": false, "maxItems": 20}'
Python (apify-client)
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("moeover/bilibili-pro-scraper").call(run_input={"mode": "search", "keywords": ["AI Agent"], "searchOrder": "totalrank", "videoUrls": [], "creatorIds": [], "includeDanmaku": false, "maxDanmakuPerVideo": 200, "enrichVideoDetails": false, "maxItems": 20})items = list(client.dataset(run["defaultDatasetId"]).iterate_items())print(f"Fetched {len(items)} records")
Node.js / TypeScript (apify-client)
import { ApifyClient } from "apify-client";const client = new ApifyClient({ token: "YOUR_APIFY_TOKEN" });const run = await client.actor("moeover/bilibili-pro-scraper").call({"mode": "search", "keywords": ["AI Agent"], "searchOrder": "totalrank", "videoUrls": [], "creatorIds": [], "includeDanmaku": false, "maxDanmakuPerVideo": 200, "enrichVideoDetails": false, "maxItems": 20});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
Claude Desktop / Cursor MCP Server
{"mcpServers": {"apify": {"command": "npx","args": ["-y", "@apify/actors-mcp-server", "--actors", "moeover/bilibili-pro-scraper"],"env": { "APIFY_TOKEN": "YOUR_APIFY_TOKEN" }}}}
Frequently Asked Questions
Do I need Chinese residential proxies or Bilibili cookies?
No. The Actor automatically initializes guest WBI signing keys and SPI fingerprint tokens (buvid3/buvid4) directly from Apify Cloud.
What formats are accepted for videoUrls and creatorIds?
Pass full Bilibili URLs (https://www.bilibili.com/video/BV...), bare BV IDs, space.bilibili.com/<uid> URLs, or numeric UIDs.
How is Danmaku priced?
If includeDanmaku is false, you only pay $0.002 per item ($2.00 / 1,000). When enabled, parsed Danmaku packs add $0.005 per video.
Support & Reliability
This Actor is continuously monitored via automated weekly live canary runs. If you need a custom field, higher rate limit, or encounter an upstream change, open an issue in the Issues tab on Apify Console for rapid resolution.
More Fast, Zero-Browser APIs by MoeOver
- Hiring & B2B Buying Intent Suite: Global ATS Jobs Search (110k+ Direct Jobs) · Company Hiring Velocity & YC Signals · Direct Career Site ATS API
- Lead Gen, E-Commerce, Ads & SEO Suite: Website Contacts & 40+ Tech Stack API · Shopify Store Products & Price Monitor · Google Ads Transparency & Longevity API · 4-Engine Keyword Autocomplete Pro
- App Intelligence, Media & AI RAG Suite: Apple App Store Reviews & Pain-Point API · Google Play Reviews & Pain-Point API · Fast Website to Markdown RAG Crawler · Google News Real-Time Intelligence · Bilibili Pro & Danmaku API