Bilibili Scraper: Video Search, Stats, Comments & Trending
Pricing
Pay per event
Bilibili Scraper: Video Search, Stats, Comments & Trending
Search Bilibili by keyword, video URL or channel ID, or pull trending videos and comments. Video stats (views, likes, danmaku) for China video and creator research. No login.
Pricing
Pay per event
Rating
0.0
(0)
Developer
Polyglot Data
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
4 minutes ago
Last modified
Categories
Features
Share
Bilibili Scraper: Videos, Search, Comments & Trending (China's YouTube)

A Bilibili scraper for the public guest API of bilibili.com, the biggest video site in China ("China YouTube"). Five modes: Bilibili search, video details and stats, Bilibili comments, the popular (trending) list, and the latest uploads of a channel. No login, no cookies from you, no browser.
- 🔎 Search: keywords in Chinese or English, order by best match, plays, newest, danmaku or favorites, optional duration filter, up to 50 pages (1,000 results) per keyword.
- 🎬 Video details: views, likes, coins, favorites, shares, danmaku (bullet comments), comment count, tags, uploader, publish time, duration.
- 💬 Comments: text, likes, time, user name and level, reply count, with replies. See the guest limit below.
- 🔥 Popular: the current trending list with full stats.
- 📺 Channels: latest uploads of any uploader (
space.bilibili.com/<id>). - Accepts
bilibili.com/video/BV...links, bare BV ids, andb23.tvshort links. - 💸 Pay per event: $2.00 per 1,000 videos, $0.50 per 1,000 comments. Error items are free.
⚠️ Honest limits (guest access)
Bilibili restricts what logged-out visitors can read. This Actor never logs in, so:
- Comments: about 3 top-level comments per video per sort order (hot and latest, so up to ~6), then the first 20 replies under each of them. Deeper pages come back empty for guests. A video yields roughly 40 to 100 comments at most, however many it has. The IP location label is not shown to guests, so
locationis usuallynull. - Search never goes beyond 50 pages (1,000 results) per keyword, a Bilibili cap. Use more specific keywords or filters for deeper coverage.
- Channels use a public archive list that shows only the view count for each video (no likes, coins, comment count, uploader name). Run
videosmode on the links for full stats. - The popular list is the one Bilibili serves to guests; it changes through the day.
- Bilibili has strict risk control. The Actor is deliberately slow (1 to 2 seconds per request), and stops with a
BLOCKEDitem instead of hammering the site. On Apify it uses residential proxy and switches IP automatically. - Only public content: no members-only or paid videos, no private data.
📦 What data you get
Video item (search, videos, popular, channels):
| Field | Description |
|---|---|
bvid, aid, url | Video ids and page link |
title, description, coverUrl, tags | Title (highlight tags removed), description, cover, tags (videos mode) |
authorName, authorMid, authorUrl | Uploader |
durationSeconds, publishedAt, category | Length, publish time (ISO), Bilibili category |
views, danmaku, comments, likes, favorites | Counters |
coins, shares | Counters, in videos and popular modes |
source, keyword, scrapedAt | search / video / popular / channel, the keyword that found it |
Comment item (comments mode): rpid, videoBvid, videoUrl, videoTitle, text, likes, publishedAt, userName, userMid, userLevel, replyCount, isReply, parentRpid, location (when shown).
Fields Bilibili does not show are null.
Example video item
{"type": "video","bvid": "BV1KoWBzwE7T","url": "https://www.bilibili.com/video/BV1KoWBzwE7T","title": "最薄的iPhone...代价呢?国行iPhone Air上手体验","authorName": "影视飓风","authorMid": "946974","durationSeconds": 642,"publishedAt": "2025-10-17T01:00:00.000Z","views": 6987667,"danmaku": 9147,"comments": 9173,"likes": 126213,"favorites": 20944,"source": "search","keyword": "iphone 17"}
Error items
One free item explains why an input gave nothing: NO_RESULTS, NOT_FOUND, NO_COMMENTS, INVALID_INPUT, NO_KEYWORDS, NO_URLS, UNAVAILABLE, and BLOCKED (risk control kept answering even after switching IPs; run again later).
🚀 How to use
- Pick a Mode.
search: add Keywords.videos,comments: add video links.channels: add space links or user ids.popular: nothing to add.- Set Max items. It is split evenly between inputs; an input with fewer results hands its share to the next ones.
- Click Start. Download JSON, CSV, Excel or HTML, or use the API.
{ "mode": "comments", "urls": ["https://www.bilibili.com/video/BV1WvykzsEmt", "https://b23.tv/AbCdEf"], "maxItems": 80, "includeReplies": true }
🎯 Use cases
Trend and creator research on Chinese video, tracking views and danmaku of a topic, competitor and influencer monitoring, comment sentiment samples, content discovery for translators and clippers.
💰 Pricing
Pay per event: $0.002 per video and $0.0005 per comment saved, plus a tiny start fee. Error items and duplicates are never charged. 100 videos cost about $0.20. Set a maximum cost per run to cap spending.
🔒 Privacy and legal
Reads only public guest endpoints: no login, no paid or members content. Comments contain public user names; use them in line with applicable data-protection laws and Bilibili's terms. You are responsible for your use of the data.
More actors by Polyglot Data
- Douyin Scraper: China's short video app.
- 1688.com Product Scraper: China wholesale prices and suppliers.