Bilibili Video Scraper (哔哩哔哩 B站) - Search & Trending
Pricing
from $3.50 / 1,000 videos
Bilibili Video Scraper (哔哩哔哩 B站) - Search & Trending
Scrape Bilibili (哔哩哔哩 / B站) videos by keyword with the site's own filters, or get the Trending (热门) list: views, likes, favorites, comments, danmaku, coins, shares, tags, category, duration and publish date. No login, no cookies.
Pricing
from $3.50 / 1,000 videos
Rating
0.0
(0)
Developer
monkeypatcher
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
12 hours ago
Last modified
Categories
Features
Share
Bilibili Video Scraper (哔哩哔哩 B站) — Search & Trending
Get Bilibili (哔哩哔哩 / B站) video data without an account: search by keyword with the same filters as the Bilibili search page, or take the current Trending (热门) list. Every video comes with its public stats, tags, category, length and publish date, ready to export to Excel, CSV or JSON, or to pull from the API. No login, no cookies.
What you get for each video
| Field | Description |
|---|---|
title, description | Clean text, without the search highlighting |
url, bvid, aid | Video link and IDs |
author, authorId, authorUrl | The channel that published it, as shown next to the video |
views, likes, favorites, comments, danmaku | Public counters (danmaku = bullet comments) |
coins, shares | Trending mode only (the search page does not show them) |
category, tags | Bilibili category and the video's tags (search mode) |
durationSeconds, publishedAt | Length in seconds and publish date (ISO 8601, UTC) |
coverUrl | Cover image link |
keyword, position, source | Which search found it and where it ranked |
What people use it for
- China market research: what gets watched in a category, which products and brands come up, how fast a topic grows.
- Influencer (UP主) discovery: find the channels that rank for your keywords, with their views and engagement.
- Trend tracking: schedule the Trending mode every day and keep the history.
- Content research: titles, tags and lengths that work for a topic.
- Datasets: structured video metadata for analysis or AI projects.
How to use it
Search — one search per keyword, up to 1,000 videos each:
{"mode": "search","keywords": ["机械键盘", "iPhone 17"],"maxResultsPerKeyword": 200,"sortBy": "views","duration": "any","publishedAfter": "2026-10-01"}
Sort options: relevance, views, newest, danmaku, favorites. Length filter: any, under10, 10to30, 30to60, over60. Dates are days in China time.
Trending — the 热门 list, with coins and shares:
{"mode": "popular","maxTrending": 200}
How much does it cost?
You pay per video saved to the dataset, plus a small fee when each run starts (the Pricing tab shows the exact price for your Apify plan). At the list price of $5 per 1,000 videos:
| Videos | Cost |
|---|---|
| 100 | about $0.50 |
| 1,000 | about $5 |
| 10,000 | about $50 |
Set a maximum cost per run when you start it and the scraper stops when it reaches that amount, keeping everything saved so far. Videos that are not saved are never charged.
Use it from the API
The API tab has ready-made code for Python, Node.js and cURL. In Python, with the apify-client package:
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("monkeypatcher/bilibili-scraper").call(run_input={"mode": "search","keywords": ["机械键盘"],"maxResultsPerKeyword": 100,"sortBy": "views",})for video in client.dataset(run["defaultDatasetId"]).iterate_items():print(video["title"], video["views"], video["url"])
Output example
{"bvid": "BV1xx411c7mD","url": "https://www.bilibili.com/video/BV1xx411c7mD","title": "【2026键盘推荐】机械键盘全价位清单","author": "示例频道","authorId": 12345678,"category": "数码","tags": ["机械键盘", "数码", "键盘推荐"],"views": 759902,"likes": 7454,"favorites": 3318,"comments": 1927,"danmaku": 447,"coins": null,"shares": null,"durationSeconds": 1706,"publishedAt": "2026-10-22T11:53:00Z","coverUrl": "https://i0.hdslb.com/bfs/archive/example.jpg","source": "search","keyword": "机械键盘","position": 1}
FAQ
Do I need a Bilibili account or cookies? No. It opens Bilibili like a normal visitor and reads what the page shows.
How many videos can I get? Up to about 1,000 per search, which is Bilibili's own limit (24 pages of 42). To go further, split one search into several with the date, sort or length filters. The Trending mode goes up to 500 videos, or as many as Bilibili lists that day.
Why are coins and shares empty in search mode?
The Bilibili search page does not show them. The Trending mode returns them for every video.
Are titles translated? No. Titles, descriptions and tags come exactly as they are on Bilibili, usually in Chinese.
What happens if Bilibili asks for a verification? The run stops and keeps every video already saved. It never tries to solve captchas. If that happens before the first video, the run ends with an error and no videos are charged (only the run start). Try again later or switch the proxy to the residential group.
What data does it collect? Public video data only, plus the channel name and ID shown next to each video. It does not collect comments, user profiles, avatars or locations, and it does not download videos. You are responsible for using the data in line with Bilibili's terms and the laws that apply to you.
Can I schedule it or connect it to other tools? Yes. Schedule runs in Apify, call it from the API, or connect it to Google Sheets, n8n, Make or Zapier.
Feedback
Missing a field or a filter? Open an issue on the Issues tab and it will be looked at.