Bilibili Video Scraper: Search & Channel Videos
Pricing
from $0.53 / 1,000 videos
Bilibili Video Scraper: Search & Channel Videos
Bilibili videos from searches or whole channels, each with its full detail page's data. $0.75 per 1,000 videos. Views, likes, coins, saves, parts.
Pricing
from $0.53 / 1,000 videos
Rating
0.0
(0)
Developer
Luzi
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Features
Share
Get Bilibili videos from searches or from whole channels, read to the channel's last upload, each with what its video page shows: views, likes, coins, saves, shares, comments and danmaku, chart ranks, every part, the uploader, and co-creators and the collection when it has them. No Bilibili account, login or cookies needed.
Tested daily. Latest checks: 20 of 20 videos for one search in 37 seconds; 400 of 400 from a search and a channel (200 each) in 14 minutes.
What does this Actor do?
You give it searches (the words you would type in Bilibili's search box), Bilibili search links, or channels. For a search it reads the results page after page, in Bilibili's order; for a channel it reads every video the channel uploaded, newest first. It then reads each video and saves one row per video until it reaches your limit or the end of the list.
Each row comes with:
- the video's ids (
BV…and the olderavnumber), link, title, full description, cover, publish and upload dates, length and its place in the list (1 = the top result or the newest upload) - its numbers: views, likes, coins, saves, shares, comments, danmaku (the comments shown on the video) and dislikes, plus its rank on Bilibili's charts, and honors such as "weekly must-watch" when it has any
- for a search result, its category name and tags (a channel's videos carry the category's number only, and their tags with Include creator profiles and channel tags on)
- whether it is original or a repost, members-only, a story, or part of a paid collection, and its rights (download, reprint, autoplay …)
- every part of a multi-part video: title, length, size and first frame
- when Bilibili shows them: the notice under the video (such as "contains AI-generated content"), the uploader's post that came with it and its subtitle languages
- the uploader (id, name, picture, link) and, for a joint video, every co-creator with their role and followers
- with Include creator profiles and channel tags on, the uploader's profile: followers, following, level, verification and its title, big-member (大会员) status, sign, badge, banner, and their counts of videos, articles and likes
- for a video in a collection (合集): the collection, with its totals and the list of its videos
- the search or channel it came from, and for a channel its count of videos
Why use it?
- Whole channels. A channel is read to its last upload, and the run's status compares what it read with the count Bilibili gives for the channel (that count includes deleted and hidden videos, which are skipped).
- Everything the video page shows. Coins, saves, shares, danmaku, chart ranks, parts, and honors, co-creators and collections where a video has them, at no extra cost.
- The uploader's profile on every video, at no extra cost. Turn on Include creator profiles and channel tags to get each uploader's followers, level, verification and totals beside their videos, with no second dataset to join.
- Bilibili's own sort and length filters for searches, or paste a search link with the ones you already picked.
- Use the data anywhere. Download as JSON, CSV or Excel, or send it to your own tools through Apify's API and integrations.
How to use it
- Type one or more searches into Searches, or paste channel or search links into Channel or search links.
- Optionally, set Max videos per search or channel, Sort by and Length, and turn on Include creator profiles and channel tags.
- Click Start. When the run ends, open the Output tab to view the videos or download them.
Run it with no input to see a sample: up to 20 videos for "minecraft", charged as usual.
Input
| Field | What it does | Default |
|---|---|---|
Searches (searchQueries) | Words to search for, one search each | — |
Channel or search links (startUrls) | space.bilibili.com/<id> channel links or ids, and Bilibili search links | — |
Max videos per search or channel (maxVideos) | Stop each search or channel after this many videos (1 to 5,000) | 50 |
Sort by (sortBy) | totalrank (best match), click (most played), pubdate (newest), dm, stow | totalrank |
Length (duration) | any, under10, 10to30, 30to60 or over60 (minutes) | any |
Include creator profiles and channel tags (includeDetails) | Also read each uploader's profile, and a channel video's tags | off |
Give at least one search or one link. Example input:
{"searchQueries": ["原神", "minecraft"],"startUrls": ["https://space.bilibili.com/2"],"maxVideos": 200,"sortBy": "pubdate","includeDetails": true}
Output
One row per video. An example, with made-up values:
{"bvid": "BV1xx411c7mD","aid": 170001,"url": "https://www.bilibili.com/video/BV1xx411c7mD","title": "A video title","description": "The whole description …","description_segments": [{ "text": "The whole description …", "type": 1, "biz_id": 0 }],"cover_url": "http://i0.hdslb.com/bfs/archive/….jpg","published_at": "2026-10-01T12:00:00.000Z","uploaded_at": "2026-10-01T11:40:00.000Z","duration_seconds": 754,"part_count": 1,"parts": [{"cid": 279786,"page": 1,"title": "Part one","duration_seconds": 754,"width": 1920,"height": 1080,"first_frame_url": "http://i0.hdslb.com/bfs/storyff/….jpg","uploaded_at": "2026-10-01T11:40:00.000Z","source": "vupload","external_id": null,"external_link": null,"asr_language": null}],"category": "Gaming","category_id": 17,"category_id_v2": 2001,"tags": ["minecraft", "survival"],"is_original": true,"copyright": 1,"state": 0,"owner_mid": 2,"owner_name": "An uploader","owner_avatar_url": "https://i0.hdslb.com/bfs/face/….jpg","owner_url": "https://space.bilibili.com/2","staff": [],"view_count": 123456,"like_count": 7890,"coin_count": 1234,"favorite_count": 2345,"share_count": 345,"comment_count": 456,"danmaku_count": 567,"dislike_count": 0,"vt": 0,"current_rank": 0,"highest_rank": 0,"honors": [],"notice": null,"notice_type": 0,"notice_link": null,"dynamic_text": null,"cid": 279786,"width": 1920,"height": 1080,"rotate": 0,"subtitles": [],"subtitle_submit_open": false,"rights": { "download": true, "no_reprint": true, "autoplay": true, "pay": false },"is_members_only": false,"is_members_preview": false,"is_paid_collection": false,"is_story": false,"premiere": null,"mission_id": null,"collection": null,"position": 1,"source": "search","search_keyword": "minecraft","search_total": 1000,"channel_mid": null,"channel_total": null,"source_url": "https://search.bilibili.com/video?keyword=minecraft"}
| Field | What it holds |
|---|---|
bvid | The video's id (BV…) |
aid | Its older number id (av…) |
url | A link to the video |
title | The title |
description | The whole description |
description_segments | The description in parts: text, and the people it mentions (type 2, their id in biz_id) |
cover_url | The cover picture |
published_at | When it was published (ISO date and time) |
uploaded_at | When it was uploaded |
duration_seconds | Its length in seconds, all parts together |
part_count | How many parts it has |
parts | Each part: id, number, title, length, size, first frame, upload date, source |
category | Its category's name (search results only) |
category_id | Its category's number |
category_id_v2 | Its category's number in Bilibili's newer list |
tags | Its tags (search results; a channel's videos only with includeDetails on, otherwise empty) |
is_original | Whether it is the uploader's own work rather than a repost |
copyright | 1 = original, 2 = repost |
state | Bilibili's state for it (0 = open) |
owner_mid | The uploader's id |
owner_name | The uploader's name |
owner_avatar_url | The uploader's picture |
owner_url | A link to the uploader's channel |
staff | For a joint video: every co-creator (id, name, role, picture, followers) |
view_count | Views |
like_count | Likes |
coin_count | Coins given |
favorite_count | Saves (favorites) |
share_count | Shares |
comment_count | Comments |
danmaku_count | Danmaku (comments shown on the video) |
dislike_count | Dislikes (Bilibili shows 0 for most videos) |
vt | Bilibili's vt count, as given |
current_rank | Its place on Bilibili's chart now (0 = not on it) |
highest_rank | The best place it ever reached (0 = never on it) |
honors | Honors such as "weekly must-watch" (type, text) |
notice | The notice Bilibili shows under the video, such as "contains AI-generated content" |
notice_type | That notice's type |
notice_link | That notice's link, when it has one |
dynamic_text | The uploader's post that came with the video |
cid | The first part's id |
width, height | The video's size |
rotate | 1 when the video is turned on its side |
subtitles | Its subtitle languages (id, language code and name, whether AI-made) |
subtitle_submit_open | Whether viewers may add subtitles |
rights | Its rights as yes/no: download, reprint, autoplay, paid, interactive (is_stein_gate) … |
is_members_only | Whether only the uploader's paying members may watch |
is_members_preview | Whether non-members see a preview |
is_paid_collection | Whether it is part of a paid collection |
is_story | Whether it is a vertical "story" video |
premiere | Its premiere, when it has one |
mission_id | The event it was entered in, when it was |
collection | The collection (合集) it belongs to: id, title, cover, intro, totals and the list of its videos |
position | Its place in the search's results (past 1,000: in the upload-date window it was read in) or the channel's list, 1 = the first |
source | search or channel |
search_keyword | The search it came from |
search_total | How many results Bilibili gives for that search (at most 1,000) |
channel_mid | The channel it came from |
channel_total | That channel's count of videos |
source_url | The search or channel link |
With Include creator profiles and channel tags (includeDetails) on, each
row also carries its uploader's profile (made-up values):
{"creator_sign": "The uploader's own line under their name","creator_level": 6,"creator_followers": 125000,"creator_following": 210,"creator_video_count": 320,"creator_article_count": 4,"creator_like_count": 2400000,"creator_verified": true,"creator_verified_type": "person","creator_verified_title": "bilibili 知名游戏UP主","creator_vip": true,"creator_vip_label": "年度大会员","creator_senior_member": false,"creator_nameplate": "见习偶像","creator_banner_url": "https://i0.hdslb.com/bfs/space/….png"}
Field (with includeDetails on) | What it holds |
|---|---|
creator_sign | The uploader's sign (the line under their name) |
creator_level | The uploader's level (0 to 6) |
creator_followers | Their followers |
creator_following | How many accounts they follow |
creator_video_count | How many videos they have uploaded |
creator_article_count | How many articles they have posted |
creator_like_count | The likes on all their videos |
creator_verified | Whether Bilibili verified them |
creator_verified_type | person or organization, when verified |
creator_verified_title | The title Bilibili verified them with, such as "bilibili 知名游戏UP主" |
creator_vip | Whether they are a big member (大会员) now |
creator_vip_label | Their big-member label, such as "年度大会员" (annual) |
creator_senior_member | Whether they are a senior member (硬核会员) |
creator_nameplate | The badge they show, when they show one |
creator_banner_url | Their channel's banner picture |
Not included: comments, danmaku text, subtitles' text (Bilibili shows it only to signed-in viewers) and the video file.
How much does it cost?
No surcharges and no paid options; an item that fails is not charged.
You pay for what you get:
- $1.50 per 1,000 videos ($0.0015 a video). Each video is charged once per run.
- $0.007 per search read, even one that finds nothing; a channel or a link counts as one search. A search that could not be read is not charged.
So one search that saves 1,000 videos costs $1.507: $1.50 for the videos and $0.007 for the search. If you set a maximum cost for a run, the Actor stops when it reaches it and keeps every video saved so far.
How long does a run take?
About 40 seconds for 20 videos, then about 2 seconds a video: 400 videos took 14 minutes. A run's default time limit (1 hour) holds about 1,700 videos; for more, raise Timeout under the run's options. With Include creator profiles and channel tags on, a run takes about twice as long (one more request per uploader, and per channel video).
Good to know
- Past Bilibili's 1,000. Bilibili shows at most 50 pages of 20 results for a search. With Max videos above 1,000, a search that fills all 50 pages is read on by upload date, in windows narrow enough that each lists whole, newest first, keeping your sort and Length. A video two windows list is read and charged once.
- A channel is read newest first, to its last upload or your maximum.
- A video found by two searches is saved and charged once, under the search that reached it first.
- A pasted search link keeps its own sort and length, which win over the fields above it.
- Check your links first. A link that is not a Bilibili channel or search link (a video page, for example) stops the run before anything is read, and the message names it.
- One search or channel that cannot be read does not stop the run. The others carry on, and the run's status names the ones that could not be read.
- A deleted, hidden or region-locked video is skipped and not charged, and so is a video Bilibili still refuses after a few tries.
- A profile Bilibili refuses never costs you the video. With Include creator profiles and channel tags on, a video whose uploader's profile or tags Bilibili still refuses after a few tries (or a closed account) is saved with those fields empty.
More Actors from us
- 2GIS Places Scraper: Every Result, Contacts: Every place a 2GIS search lists, read to 2GIS's own count, with phones, emails, sites and socials included.
- Airbnb Scraper: Every Stay, Past the 15-Page Limit: Every rental of an Airbnb search with its price for your dates, past the 15 pages Airbnb shows.
- Alibaba Products Scraper: Price Tiers & Suppliers: Alibaba.com products by keyword or link: USD price tiers, MOQ, supplier, product pages at no extra cost.
- AliExpress Product Scraper: Search Results & Prices: Every product of an AliExpress search to its last page, with exact sold counts and ratings.
- Amazon Bestsellers Scraper: Top 100 & New Releases: All 100 ranks of Amazon Best Sellers and New Releases, down its subcategories.
- Amazon Product Scraper: Search Results & Prices: Every product of an Amazon search to the last page, with price and monthly sales, to track daily.
Use it from an AI agent or the API
One call starts a run and returns its items (Apify waits up to 300 seconds; for a
longer run, start it with POST /v2/acts/…/runs and read its dataset):
POST https://api.apify.com/v2/acts/luzivanlt~bilibili-videos-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>
With the sample input as its JSON body:
{"searchQueries": ["minecraft"],"maxVideos": 20,"sortBy": "totalrank","duration": "any"}
Its inputs, in the order of the input form:
| Input | What it takes | Default |
|---|---|---|
searchQueries (Searches) | Words to search Bilibili for, one search per line, as you would type them in Bilibili's search box (Chinese or any other language), up to 100 characters each. | — |
startUrls (Channel or search links) | Bilibili channel links (https://space.bilibili.com/\<id>, any of its tabs) or bare channel ids for every video a channel uploaded, newest first; and Bilibili search links (https://search.bilibili.com/video?keyword=…), each keeping its own sort and length. | — |
maxVideos (Max videos per search or channel) | Stop each search or channel after this many videos. | 50 |
sortBy (Sort by) | The order Bilibili lists a search's videos in: best match, most played, newest, most comments on screen (danmaku) or most saved. | "totalrank" |
duration (Length) | Keep only videos of this length: any, under 10 minutes, 10–30 minutes, 30–60 minutes or over 60 minutes. | "any" |
includeDetails (Include creator profiles and channel tags) | Also read each uploader's profile card and add it to their videos: followers, following, level, verification and its title, big-member status, sign, badge, banner, and their counts of videos, articles and likes. | — |
Apify's MCP server, https://mcp.apify.com, lists it as luzivanlt/bilibili-videos-scraper. To give an
AI agent this Actor as a tool, add the server to the agent's MCP config:
{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=luzivanlt/bilibili-videos-scraper"}}}
The client signs in with OAuth, or add "headers": { "Authorization": "Bearer <APIFY_TOKEN>" }.
Charged per video delivered; the sample input above costs at most $0.01.
FAQ
Do I need a Bilibili account or cookies? No. The Actor reads what anyone can see on Bilibili without logging in.
Can I search in Chinese? Yes. Type the words as you would on Bilibili; any language works.
Can I run it from my own code, on a schedule, or with other apps? Yes. Like any Apify Actor, you can start it through the Apify API, run it on a schedule, and connect it to other apps with Apify's integrations and webhooks.
Is it legal to scrape Bilibili?
This Actor reads only what anyone can see on Bilibili without logging in. Check Bilibili's terms and the laws that apply to you before you use the data, and only collect personal data when you have a legitimate reason to. If you are unsure, ask a lawyer.
Support
Found a problem or missing a feature? Open an issue on the Issues tab and include the run's link.
This Actor is not affiliated with, endorsed by or sponsored by Bilibili.