Bilibili Scraper - Videos, Trending, Comments & Creator Leads
Pricing
from $2.20 / 1,000 video scrapeds
Bilibili Scraper - Videos, Trending, Comments & Creator Leads
Scrape Bilibili videos by keyword, trending feeds and partition leaderboards, full comment threads, and creator (UP) profiles with follower reach, extracted business contacts and lead scores. Pure HTTP, no login and no browser. Independent tool, not affiliated with Bilibili.
Pricing
from $2.20 / 1,000 video scrapeds
Rating
0.0
(0)
Developer
Scrape Sage
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Share
Disclaimer: This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Bilibili Inc. or any of its subsidiaries. All trademarks mentioned are the property of their respective owners. "Bilibili" is referenced only to describe the publicly available website this Actor collects data from.
Scrape Bilibili (哔哩哔哩) — China's largest video community, ~340M monthly users — without a login, a browser or a cookie. Search videos by keyword, pull the trending feeds and partition leaderboards, read full comment threads, and profile creators (UP主) with follower reach, extracted business contacts and a 0-100 lead score.
Runs on plain HTTP against Bilibili's own web API. No headless browser, so a video costs about a third of a second and a run cannot stall into the timeouts that plague browser-based scrapers.
What you get
One mode = one record type, so every CSV / Excel export has clean, full columns instead of the blank-cell mess you get when a scraper mixes shapes in one dataset.
| Mode | Produces | Use it for |
|---|---|---|
| Video search | video rows | Find every video for a keyword, with filters for sort order, length, partition and publish date |
| Trending & rankings | video rows | Popular now (综合热门), partition leaderboards (排行榜), must-watch (入站必刷) |
| Specific videos | video rows | Full detail for URLs, BV IDs, av IDs or b23.tv share links |
| Creators (UP主) | creator rows | Influencer discovery, contact extraction and lead scoring |
| Comments | comment rows | Audience research, sentiment mining, community analysis |
Video rows (60+ fields, all populated)
Title, description, cover, duration, publish time, partition and parent category, and the complete Bilibili stat block — views, danmaku (弹幕), comments, favourites, coins, shares and likes — plus computed engagementRate, likeRate, coinRate and favoriteRate. Also resolution, episode/part list, credited collaborators, copyright status, paid-promotion flags, real tag objects, and the uploader's follower count, upload count, total likes, bio, verification and extracted contact on every single row.
Bilibili's search endpoint returns a deliberately reduced record. This scraper hydrates every row from the full video API, so you get coins, shares, resolution, parts, collaborators and uploader stats that keyword-only scrapers leave blank.
Creator rows — the lead-gen wedge
Chinese creators publish their partnership contact in their bio: 商务合作请联系邮箱:bd@ysjf.com, 商务:STN_7349, 商务合作VX:yhtshe. This scraper parses all of those patterns — e-mail, WeChat, QQ, Weibo, phone and bare business handles — and scores each creator 0-100 on contactability, reach, recency and verification.
Measured on real trending creators: ~40% expose a reachable business contact. Every creator also carries followers, following, total likes received, per-type upload counts, verification, badge, and their recent uploads with average / peak reach.
Comment rows
Text, likes, reply count, pinned and uploader-reply flags, nested sub-replies, and the full author profile (UID, name, level, gender, bio, VIP and verification).
Quick start
// Every video about a keyword, richest form{ "mode": "search", "keywords": ["Minecraft", "原神"], "maxItems": 500 }// What is trending in Tech and Gaming right now{ "mode": "trending", "trendingSource": "ranking", "rankingPartitions": ["36", "4"] }// Find food creators over 100k followers and pull their contacts{ "mode": "creators", "creatorKeywords": ["美食"], "minFollowers": 100000, "maxItems": 200 }// Read a video's comment thread{ "mode": "comments", "videoUrls": ["https://www.bilibili.com/video/BV1uv411q7Mv"], "maxCommentsPerVideo": 500 }
Run it with no input at all and it returns a real sample from Bilibili trending — it never fails on empty input.
Notes on coverage (measured, not claimed)
publishLocation(the province an upload was posted from) is returned by Bilibili only on its list feeds. It is populated in Trending & rankings, and is genuinely absent from the search and single-video APIs — verified across three endpoint variants. It is left as an honestnullrather than faked.- Keyword search caps at ~1,000 results per sort order. Leave Search all sort orders on and the scraper walks every order and de-duplicates by video ID, reaching several thousand unique videos per keyword.
- Comments and search are anonymous. Nothing here needs your Bilibili account, so there is no session to expire and no cookie to babysit.
- A creator's own upload list is the one risk-controlled endpoint Bilibili exposes; the scraper retries it across IPs and falls back to a second verified endpoint, so
recentVideosstays populated either way.
Output views
Three built-in dataset views — Videos, Creator leads and Comments — so the export you download is already shaped for the job.
Use with AI assistants (MCP)
This actor works as a tool for AI assistants through the Apify MCP server. Point your agent at it and ask for Bilibili videos, trending rankings, comment threads or creator leads in natural language.
Agent-ready: autonomous payments (x402 & Skyfire)
This actor is agent-ready — AI agents can discover it, run it, and pay for it autonomously, with no Apify account and no human in the loop. It uses pay-per-event pricing and limited permissions, so it qualifies for Apify's agentic-payment standards:
- x402 — an open, HTTP-native payment protocol. Agents pay per run in USDC on the Base network directly through the Apify MCP server — no account, no API key.
- Skyfire — agent-to-service payments for fully autonomous AI-agent workflows.
Building an AI agent, MCP tool, or autonomous data pipeline? This scraper is ready to plug in and pay as it goes.
Pricing
Pay-per-event, so you pay for results and nothing else:
| Event | Price |
|---|---|
| Video scraped | $0.004 |
| Creator lead | $0.008 |
| Comment scraped | $0.001 |
A run that is throttled or matches nothing ends successfully with a status message and charges you nothing.
Automate & schedule
Run this Actor on autopilot and pull results into your own stack:
- Apify API - start runs, fetch datasets and manage schedules over REST.
- apify-client for JavaScript and apify-client for Python - official SDKs.
- Schedules - run it hourly, daily or weekly and keep your dataset current.
- Webhooks - trigger downstream actions (CRM import, Slack alert, email sequence) the moment a run finishes.
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'MY_APIFY_TOKEN' });const run = await client.actor('scrapesage/bilibili-scraper').call({"mode": "search","keywords": ["Minecraft"],"searchOrder": "totalrank","deepSearch": true,"maxItems": 50,"fullVideoDetail": true,"proxyConfiguration": {"useApifyProxy": true}});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(`Got ${items.length} records`);
Integrate with any app
Connect the dataset to thousands of apps - no code required:
- Make - multi-step automation scenarios.
- Zapier - push new records straight into your CRM or spreadsheet.
- Slack - get notified when a scheduled run finds something new.
- Google Drive / Sheets - auto-export every run to a spreadsheet.
- Airbyte - pipe results into your data warehouse.
- GitHub - trigger runs from commits or releases.
More scrapers from scrapesage
Related Actors in the same category:
- YouTube Scraper - Channels, Videos & Creator Leads
- Instagram Reels Scraper - Plays, Views & Analytics
- TikTok Scraper - Profiles, Videos, Stats & Creator Leads
- Douban Scraper - Movies, TV, Books, Music & Reviews
- Facebook Reels Scraper - Exact Play Counts
FAQ
How is this Actor billed? Pay-per-event: you pay only for the results it delivers, with no monthly rental and no start fee. The per-event price is shown on the Pricing tab.
Can I schedule it and get results automatically? Yes - create a Schedule and add a webhook or an integration (Google Sheets, Slack, Make, Zapier) to push each run's dataset wherever you need it.
Which export formats are available? Every run's dataset can be downloaded as JSON, CSV, Excel (XLSX), XML, HTML or RSS from the Apify Console or the API.
Can I run it from code or an AI agent? Yes - through the Apify API and client libraries, or from Claude, ChatGPT and other assistants via the Apify MCP server.
Is it legal to scrape Bilibili? This Actor collects publicly available data only. You are responsible for using the output in compliance with applicable laws (including data-protection law where personal data is involved) and the source's terms. See Data & lawful use and the Disclaimer below.
Is this an official Bilibili tool? No. It is an independent, third-party Actor with no affiliation to, endorsement by or sponsorship from Bilibili Inc. See the Disclaimer below.
Legal
Collects only publicly available data. You are responsible for using the output in line with Bilibili's terms and applicable law, including data-protection rules where personal data is involved.
Data & lawful use
This Actor reads only what Bilibili publishes to logged-out visitors: it does not log in, use cookies or session tokens, create accounts, or reach anything behind a sign-in. Names, handles, bios and engagement figures are public, but they relate to identifiable people, so treat the output as personal data. If you are in the EU or UK you are the data controller for what you do with it: have a lawful basis (usually legitimate interest for research, marketing analytics or B2B prospecting), honour access and deletion requests, and do not use the output for spam or unsolicited messaging.
Under Apify's Standard Actor Contract, which governs your use of this Actor, you are the controller of any personal data in your input and output and scrapesage acts only as your processor: that data is processed solely to run your job, written only to your own Apify storage, never used for any other purpose and never shared onward. If you need help with a data-subject request that involves this Actor's output, open an issue on the Issues tab.
Disclaimer
This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Bilibili Inc. or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.
"Bilibili" and any related marks are the property of their respective owners and are used here only in a descriptive, nominative sense - to identify the publicly accessible website from which this Actor collects data. This Actor is not an official Bilibili product, is not authorised or certified by Bilibili Inc., and does not distribute Bilibili software. It collects only publicly available information; you are responsible for ensuring your use of that data complies with applicable laws, regulations and the terms of the source website.
Need help?
Open an issue on the Actor's Issues tab, or visit the Apify help center. Feature requests are welcome - this Actor is actively maintained.