Bilibili Scraper - Videos, Trending & Creators (B站 哔哩哔哩)
Scrape Bilibili (哔哩哔哩 / B站): search videos by keyword with views, likes, coins, favorites, danmaku and comments; Trending (热门) feed; hot search words (热搜); creator (UP主) profiles with followers. Optional tags and top comments. No login or cookies.
Bilibili Scraper - Videos, Trending & Creators (B站 哔哩哔哩)
Scrape Bilibili (哔哩哔哩 / B站), China's biggest video community:
- 🔎 Video search by keyword (Chinese or English): title, UP主 (creator), views, likes, danmaku (弹幕), comments, favorites, duration, publish date, category, cover and keywords. Sort by relevance, views, newest, danmaku or favorites. Filter by length.
- 🔥 Trending (热门): the current popular feed, with coins and shares and the trending reason.
- 📈 Hot search words (热搜): what China is searching on Bilibili right now.
- 👤 Creator (UP主) profiles: followers, following, video count, total likes, level, verification and bio, by name, user ID (mid) or space link.
- 🏷️ Optional: each video's tags and its top comments.
No login, no cookies, no API key. Fast HTTP, cheap.
中文简介: 采集哔哩哔哩(B站)数据:关键词搜索视频(播放量、点赞、弹幕、评论、收藏、时长、发布时间)、热门视频、B站热搜、UP主资料(粉丝数、投稿数、获赞数、等级、认证)。无需登录、无需 Cookie。
What you can do with it
- China market and trend research: what's popular and rising among Chinese Gen Z, by keyword and category.
- Influencer (UP主) discovery: find creators for a topic and compare followers and engagement.
- Brand and product monitoring: track videos and danmaku about your brand, game or product in China.
- Content strategy: which formats, lengths and topics get the most views, coins and favorites.
- AI and LLM datasets: Chinese video titles, descriptions, tags and top comments for analysis.
Input
| Field | Description |
|---|---|
searchKeywords |
Keywords, e.g. 原神, iphone 17, AI. |
maxResultsPerKeyword |
Default 20. Bilibili returns up to about 1,000 per keyword. |
sortBy |
relevance, views, newest, danmaku, favorites. |
duration |
any, under-10, 10-30, 30-60, over-60 (minutes). |
includeTrending + maxTrending |
Add the Trending (热门) feed. |
includeHotSearches |
Add today's hot search words (热搜). |
creators |
UP主 names, mids or space.bilibili.com/<mid> links. |
includeTagsAndComments |
Add tags + top comments per video (small add-on charge). |
{
"searchKeywords": ["原神", "iphone 17"],
"sortBy": "views",
"maxResultsPerKeyword": 50,
"includeTrending": true,
"includeHotSearches": true,
"creators": ["https://space.bilibili.com/2"]
}
Output
Video
{
"resultType": "video",
"bvid": "BV1hD4y1X7Rm",
"url": "https://www.bilibili.com/video/BV1hD4y1X7Rm",
"title": "《原神》角色演示-「钟离:听书人」",
"author": "原神",
"authorUrl": "https://space.bilibili.com/401742377",
"category": "手机游戏",
"views": 58757632,
"likes": 1731677,
"danmaku": 318933,
"comments": 417953,
"favorites": 772079,
"duration": "7:38",
"durationSeconds": 458,
"publishedAt": "2020-11-30T04:00:08+00:00",
"cover": "https://i1.hdslb.com/bfs/archive/....jpg",
"keywords": ["米哈游", "miHoYo", "原神", "钟离"],
"source": "search",
"searchKeyword": "原神",
"position": 1
}
Trending videos also include coins, shares and trendingReason. With includeTagsAndComments on, each video gets tags and topComments (text, likes, replies, author, IP location, date).
Creator (UP主)
{
"resultType": "creator",
"mid": 2,
"name": "碧诗",
"url": "https://space.bilibili.com/2",
"followers": 1433704,
"videos": 44,
"likes": 5097284,
"level": 6,
"verified": true,
"verifiedTitle": "bilibili创始人(站长)"
}
Hot search
{ "resultType": "hotSearch", "rank": 1, "keyword": "...", "searchUrl": "https://search.bilibili.com/all?keyword=..." }
Use it from ChatGPT, Claude & AI agents
This Actor works as a tool for AI assistants through the Apify MCP server:
Claude, ChatGPT, Cursor, VS Code, Windsurf: add this MCP server URL as a connector and sign in with your Apify account:
https://mcp.apify.com/?tools=get_anything/bilibili-scraperClaude Desktop / Cursor config:
{ "mcpServers": { "apify": { "url": "https://mcp.apify.com/?tools=get_anything/bilibili-scraper" } } }REST / GPT Actions / LangChain:
POST https://api.apify.com/v2/acts/get_anything~bilibili-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN
Then ask, for example: "What's trending on Bilibili today, and which 原神 videos have the most views this year?"
Pricing
Pay per event: per video, per creator profile and per hot search word, plus a small add-on per video when tags + comments are on. See the Pricing tab.
FAQ
Do I need a Bilibili account or cookies? No. Only data Bilibili shows to logged-out visitors.
Why only the top 3 comments? Bilibili shows logged-out visitors only the top comments of each video. This Actor doesn't log in.
Can I get a creator's full upload list? Not in this version. Bilibili protects that list with risk control. Use keyword search with the creator's name, or the creator profile.
Does it work outside China? Yes. It runs on Apify's servers worldwide.
Related scrapers
YouTube Scraper - Videos, Channels & Search (No API Key)
Scrape YouTube videos, channels, playlists and search without the Data API or quotas. Get title, views, likes, comments, duration, date, description, keywords, channel info and thumbnails - plus optional LLM-ready transcripts. Export JSON/CSV for research, competitor analysis and RAG.
TikTok Scraper - Profiles, Videos & Hashtags (No API Key)
Scrape TikTok profiles, videos and hashtags without an API key. Get views, likes, comments, shares, author, followers, music, hashtags, duration and timestamps. Camoufox-powered to pass bot detection. Export JSON/CSV for influencer research, trend tracking and market analysis.
Instagram Profile Scraper - Profiles & Recent Posts (No Login)
Scrape public Instagram profiles and their recent posts without login or an API key. Get followers, following, posts count, bio, verified status, plus each post's caption, likes, comments, views, type and timestamp. Camoufox-powered to pass bot detection. Export JSON/CSV.