Bilibili Scraper – Video Search & Stats API
Pricing
from $4.50 / 1,000 videos
Bilibili Scraper – Video Search & Stats API
Search Bilibili (B站) videos by keyword or paste video links. Get title, views, likes, coins, favorites, shares, danmaku and comment counts, duration, upload date and channel for every video, plus tags from search. Export JSON, CSV or Excel, call it by API or schedule it. No login needed. Unofficial.
Pricing
from $4.50 / 1,000 videos
Rating
0.0
(0)
Developer
Unnoted
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 hours ago
Last modified
Categories
Share
What does Bilibili Scraper – Video Search & Stats API do?
Bilibili Scraper collects public video data from Bilibili (bilibili.com, B站), China's largest video community: search results by keyword, or any video by its link, with views, likes, coins, favorites, shares, danmaku and comment counts in one row per video.
Unofficial, not affiliated with Bilibili.
Main features: search by keyword or paste links, up to 10,000 videos per run, no login needed, export to JSON, CSV or Excel, and full API and scheduling support on Apify.
What data can you get from Bilibili?
Each video is one row with these fields:
| Field | Description |
|---|---|
bvid | Video id (BV…) (always filled) |
url | Video page URL (always filled) |
title | Video title (always filled) |
aid | Numeric video id (av number) |
description | Video description written by the uploader |
durationSec | Length in seconds |
publishedAt | Upload time (ISO 8601, UTC) |
uploaderName | Channel name of the uploader |
uploaderMid | Channel id of the uploader |
uploaderUrl | Channel page URL |
views | Play count |
likes | Like count |
coins | Coins given to the video |
favorites | Times added to favorites |
shares | Share count |
danmakuCount | Danmaku (on-screen bullet comment) count |
commentCount | Comment count (numbers only, no comment text) |
tags | Tags shown in search results (empty for video URLs) |
category | Category (zone) name (empty for video URLs) |
coverUrl | Cover image URL |
searchTerm | The search term that found the video (empty for video URLs) |
scrapedAt | When the video was collected (ISO 8601) |
How to scrape Bilibili with Bilibili Scraper – Video Search & Stats API
- Open Bilibili Scraper – Video Search & Stats API on Apify and go to the Input tab.
- In Search terms, enter
minecraft. - In Max items, enter
20. - Click Start and wait for the run to finish. A small run like this one takes under a minute.
- Open the Output tab to see the results, or download them as JSON, CSV, Excel or HTML.
Input
See the Input tab for every option. The fields:
| Field | Name | What it does | Default |
|---|---|---|---|
searchTerms | Search terms | Keywords to search for on Bilibili, in English or Chinese (e.g. minecraft, 原神). Each term is searched separately. | |
videoUrls | Video URLs | Bilibili video links (https://www.bilibili.com/video/BV…) or BV ids. Each one returns that video with its stats. | |
sort | Sort search results by | Order of the search results. Has no effect on video URLs. Options: relevance (Relevance), newest (Newest first), mostViewed (Most viewed). | "relevance" |
maxItems | Max items | Maximum number of videos in total, shared across search terms and video URLs. You pay only for videos saved. | 100 |
Example input:
{"searchTerms": ["minecraft"],"maxItems": 20}
Output
You can download the dataset in various formats such as JSON, HTML, CSV, or Excel. One real result:
{"bvid": "BV1m5aY69E8D","aid": 117342986110880,"url": "https://www.bilibili.com/video/BV1m5aY69E8D","title": "十四年的等待,我的世界终于迎来全新第四维度:筛界 Minecraft Live2026","description": null,"durationSec": 531,"publishedAt": "2026-09-27T12:29:08.000Z","uploaderName": "籽岷","uploaderMid": 686127,"uploaderUrl": "https://space.bilibili.com/686127","views": 1794549,"likes": 103910,"coins": 14903,"favorites": 21922,"shares": 28943,"danmakuCount": 5139,"commentCount": 6036,"tags": ["筛界","籽岷","方块制片局","新维度","像素风","沙盒游戏","新版本","我的世界","LIVE","MINECRAFT"],"category": "单机游戏","coverUrl": "https://i0.hdslb.com/bfs/archive/39e6cfdf143c830aaf3685bb0c2b15e6d51fb030.jpg","searchTerm": "minecraft","scrapedAt": "2026-10-05T14:31:35.373Z"}
How much does it cost to scrape Bilibili?
Bilibili Scraper – Video Search & Stats API uses pay-per-event pricing: $4.50 per 1,000 videos (Video). You pay only for videos saved to the dataset; platform usage is included in the price. Each run also has Apify's standard start fee of a fraction of a cent.
| Videos | Price |
|---|---|
| 100 | $0.45 |
| 1,000 | $4.50 |
| 10,000 | $45.00 |
Set Max items (and the run's maximum cost in the run options) to cap what a run can spend. The run stops when either limit is reached.
Use cases
- Trend research: see which games, anime, tech or product topics are growing on Bilibili, in English or Chinese search terms.
- Brand and campaign tracking: follow the videos that mention your brand, product or game, and how their views and likes move over time.
- Creator discovery: find the channels that publish the most-viewed videos on a topic, for sponsorship and outreach research.
- Content strategy: compare titles, lengths, upload times and engagement (likes, coins, favorites per view) of the top videos in your niche.
- Market research on China: add Bilibili data to dashboards next to YouTube and other video platforms.
Tips
- Use Newest first with a daily schedule to monitor new uploads on a topic.
- Chinese search terms (e.g. 原神 instead of Genshin Impact) usually return more and closer matches.
- Paste video URLs to track the stats of specific videos over time; run it on a schedule and compare the numbers.
- Start with a small Max items (20) to check the output, then raise it.
- Coins and favorites relative to views are a good quality signal on Bilibili: viewers give coins only to videos they value.
FAQ
Is it legal to scrape Bilibili?
Bilibili Scraper – Video Search & Stats API collects only data that Bilibili shows publicly to every visitor, and it leaves out personal data such as private profiles and contact details. Our Actors are ethical and do not extract private user data. Results could still contain personal data in titles or descriptions written by uploaders. Personal data is protected by the GDPR in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers. You are responsible for how you use the data.
Can I use it through an API?
Yes. Every Apify Actor has an API: start runs, pass input and read results over HTTP, or use the JavaScript and Python clients. See the API tab on the Actor page for ready-made examples.
Can I schedule runs and connect other apps?
Yes. Use Apify Schedules to run Bilibili Scraper – Video Search & Stats API every hour, day or week, and integrations (Make, Zapier, Google Sheets, webhooks and more) to send the results where you need them.
Why did I get fewer results than expected?
The run stops at Max items or at the run's maximum cost, whichever comes first. Bilibili may also return fewer results for rare search terms. Duplicates across search terms are saved once. Check the run's RUN_SUMMARY record in the key-value store for the inputs that returned nothing.
What if it stops working?
Sites change. We run a daily check of our own and fix breakages quickly. If something looks wrong, open an issue in the Issues tab with the run link and we'll look at it.
What are coins and danmaku?
Coins are Bilibili's tipping currency: each viewer can give a video one or two coins, so coins show how much viewers value it. Danmaku are the short comments that fly across the video while it plays; the Actor gives their count only.
How many videos can I get per search term?
Bilibili's search shows a limited number of pages per term. For broad topics, add several related terms (English and Chinese). Duplicates across terms are saved once.
Not included
Comment text, danmaku text, viewer data, and user profiles beyond the uploader's channel name, id and link are not included. Video files are not downloaded.
More Actors from us
- AliExpress Search Scraper – Products & Prices
- BBB Scraper – Business Ratings & Accreditation
- Bumeran Jobs Scraper – LATAM Job Listings
- Foundit Jobs Scraper – India Job Listings API
- Google Jobs Scraper – Job Listings API
- Google Play Reviews Scraper – App Reviews API
- Google Trends Scraper – Interest & Related Queries
- Idealo Scraper – Price Comparison Data
- Kleinanzeigen Scraper – Listings & Prices
- Mercari Japan Scraper – Listings & Prices API
- Resident Advisor Scraper – RA Event Listings
- Sainsbury's Scraper – UK Grocery Prices
- Tokopedia Scraper – Product Search & Prices
- Workday Jobs Scraper – Any Careers Site
- Yandex Maps Scraper – Places & Business Data
关键词 (keywords): B站 视频 数据 · 哔哩哔哩 视频搜索 · 播放量 点赞 投币 收藏 分享 弹幕数 评论数 · UP主 频道 · 导出 JSON CSV Excel