Bilibili Video Search, Ranking & Metadata Scraper
Search Bilibili videos by keyword, look up specific videos by URL or ID, or pull the popular feed and partition ranking charts, with view, like and danmaku counts.
Open in Apify Store$0.99 / 1K on Free
Short answer
Bilibili Video Search, Ranking & Metadata Scraper is an Apify Store Actor for Bilibili data that returns 6 published output fields, including title, author, viewCount, likeCount. It lists $0.99 per 1,000 results on the Free plan (pay per event), $0.49 on the Business plan. It takes 13 input settings; one is required (mode). It covers 4 of the 6 core Bilibili fields this site tracks. Last updated Oct 24, 2026.
From the public Store listing and published build schema, synced 2026-11-12.What it returns
6 fields from the published dataset schema. Export as JSON, CSV or Excel, or read the dataset through the Apify API.
titleauthorviewCountlikeCountpublishTimevideoUrl
Not in the schema among the core Bilibili fields: publish, video. The field matrix shows which other tools return them.
Input
| Setting | Type | Required | Default | What it does |
|---|---|---|---|---|
| mode | string | Yes | search | What to collect. |
| searchQueries | array | No | [] | One keyword per entry, e.g. `python`, `原神`, `Genshin`. Provide Chinese and English aliases explicitly; Bilibili does not translate them. |
| videoUrls | array | No | [] | Accepts https://www.bilibili.com/video/BV..., https://b23.tv/... short links, bare BV IDs, av123... IDs, or numeric aids. |
| maxItems | integer | No | 20 | Hard cap on emitted video records. Error records do not count toward it. |
| sort | string | No | totalrank | Result ordering. `dm` is most danmaku and `scores` is most comments. |
| publishedAfter | string | No | – | Only videos published on or after this date, `YYYY-MM-DD` (mode=search). Can be used alone. |
| publishedBefore | string | No | – | Only videos published on or before this date, `YYYY-MM-DD` (mode=search). Can be used alone. |
| duration | string | No | all | Keep only videos in this length range. |
| partition | string | No | 0 | Search partition filter (mode=search) or ranking chart (mode=ranking). Ignored for weekly charts. |
| rankingType | string | No | all | All-time, originals-only, rookie, or the weekly series. |
Show the other 3 settings
| Setting | Type | Required | Default | What it does |
|---|---|---|---|---|
| weekNumber | integer | No | – | Specific weekly issue. Omit to use the latest issue. |
| enrichDetails | boolean | No | false | Add one detail request per unique video in search, popular, and ranking modes to fill tags, coin/share counts, cid, parts, resolution, and uploader followers. Usually adds 3-10 seconds per video, depending on Bilibili latency. byVideoUrl lookups are always enriched. |
| proxyConfiguration | object | No | – | Optional. The actor starts direct and retries through fresh and anonymous browser sessions; this proxy is used only as the final escalation stage. |
Example input
Built from the input form's published example values and defaults.
{
"mode": "search",
"searchQueries": [
"python"
],
"videoUrls": [],
"maxItems": 3,
"sort": "totalrank",
"duration": "all",
"partition": "0",
"rankingType": "all",
"enrichDetails": false
} Run it from code or an AI agent
The same run through the Apify API, with the example input. You need an Apify API token; the run is billed to your account at the Store price.
Python
from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run_input = {
"mode": "search",
"searchQueries": [
"python"
],
"videoUrls": [],
"maxItems": 3,
"sort": "totalrank",
"duration": "all",
"partition": "0",
"rankingType": "all",
"enrichDetails": False
}
run = client.actor("nimbryxo-studio/bilibili-video-search-ranking-and-metadata-scraper").call(run_input=run_input)
if run is None:
raise RuntimeError("The Actor run was not found.")
for item in client.dataset(run.default_dataset_id).iterate_items():
print(item) pip install apify-client
JavaScript
import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: "<YOUR_APIFY_TOKEN>" });
const input = {
"mode": "search",
"searchQueries": [
"python"
],
"videoUrls": [],
"maxItems": 3,
"sort": "totalrank",
"duration": "all",
"partition": "0",
"rankingType": "all",
"enrichDetails": false
};
const run = await client.actor("nimbryxo-studio/bilibili-video-search-ranking-and-metadata-scraper").call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items); npm install apify-client
cURL
curl -X POST "https://api.apify.com/v2/actors/nimbryxo-studio~bilibili-video-search-ranking-and-metadata-scraper/run-sync-get-dataset-items" -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" -d '{"mode":"search","searchQueries":["python"],"videoUrls":[],"maxItems":3,"sort":"totalrank","duration":"all","partition":"0","rankingType":"all","enrichDetails":false}' Waits for the run and returns the dataset items (runs over 300 seconds return HTTP 408; start an async run instead).
MCP (AI agents)
{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com?tools=nimbryxo-studio/bilibili-video-search-ranking-and-metadata-scraper",
"headers": {
"Authorization": "Bearer <YOUR_APIFY_TOKEN>"
}
}
}
} Adds this Actor as a tool in an MCP client that takes a remote server URL (Cursor, VS Code, Claude Code) through Apify's hosted MCP server. OAuth sign-in also works without the header. Clients that only start local servers can wrap the URL with npx mcp-remote.
What a run costs
The result rate falls on higher Apify plans. Each figure is the published per-result rate times the number of results.
| Apify plan | Per 1,000 | 10,000 results | 100,000 results |
|---|---|---|---|
| Free plan | $0.99 | $9.90 | $99 |
| Starter plan | $0.82 | $8.20 | $82 |
| Scale plan | $0.66 | $6.60 | $66 |
| Business plan | $0.49 | $4.90 | $49 |
- Every run also has a start event, charged per GB of memory (minimum one): $0.10 on Free, $0.03 on Business. At its default memory of 4 GB a run starts at $0.40 on Free. Fewer, larger runs keep this small.
- The Free plan includes $5 of monthly usage (Apify pricing, checked 2026-11-11); at the Free rate that covers at most about 5,050 results, less start events and platform usage.
- Worked example: 10,000 results in one run on the Free plan cost $10.30 ($9.90 for results + $0.40 start), plus Apify platform usage (compute), billed separately by Apify.
- Pay per event. Platform usage (compute) is billed by Apify on top of the event prices. Compare other tools in the cost estimator.
Where it fits among Bilibili routes
It ranks 1 of 1 catalogue Actors for Bilibili on the published formula (fields, price, reliability, freshness). Its line is highlighted on the map.
- 1 Bilibili Video Search, Ranking & Metadata Scraper 6 output fields, pay per event 4 of 6 core fields
$0.99 / 1K - + 7 other Store tools, combined Reference only 5 of 6 core fields
from $0.08 / 1K - API Bilibili Open Platform Limited access fields not compared
Stops are fields. A ring means the field is in that route's published output schema; no ring means the line passes without it. Bold labels are the core fields for this website, the rest are fields that differ between routes. A white capsule means every data line stops there. The red line is the official API; its field coverage is not compared. A crossed red line means there is no open official API.
Official route: Bilibili Open Platform
Limited access. The Bilibili Open Platform describes basic capabilities, content, data, services and industry solutions for developers and service providers. Its documentation is rendered by script, and access conditions could not be read on 2026-11-11.
No public self-serve price is published.
Other Store tools for Bilibili
Reference only, from their public listings.
| Tool | Fields | Price / 1K |
|---|---|---|
| Bilibili Scraper 哔哩哔哩采集器 | 16 | $4.50 |
| Bilibili Scraper | 109 | $2.00 |
| TikTok, Douyin & Bilibili Scraper | 43 | $0.80 |
| Bilibili Scraper | 23 | $0.08 |
| Bilibili Scraper | 73 | $6.00 |
What people use it for
- search videos
- review video metadata and rankings
Similar Actors
TikTok Sound Lookup: Metadata & Videos Using It
Look up any TikTok sound by URL or ID and get back its title, creator, duration, cover art, and streaming links, plus every video currently using…
Twitch Live Stream, Channel & VOD Metadata Extractor
Get Twitch top live streams, channel profiles, category directories, VOD metadata and clip details, or resolve any twitch.tv URL into structured data.
YouTube Hashtag Video & Shorts Ranking Scraper
Look up one or more YouTube hashtags and get the videos and Shorts currently ranked under them, in order, with view count, channel, duration and…
YouTube Video, Playlist & Channel Downloader with Metadata
Download YouTube videos from direct links, playlists, channels, or search phrases at your chosen quality, with a public file link plus title,…
Vimeo Channel, Creator & Video Metadata Extractor
Get Vimeo video metadata from channels, creator uploads, specific video URLs, or Staff Picks, with views, likes, comments, duration, and uploader…
YouTube Video Metadata & Chapter Extractor
Get full metadata for any YouTube video or Short: channel info, chapters, endscreen elements, caption track list, related videos and comments,…
Questions people ask
How much does Bilibili Video Search, Ranking & Metadata Scraper cost?
The published result rate depends on your Apify plan: $0.99 per 1,000 on Free, $0.82 per 1,000 on Starter, $0.66 per 1,000 on Scale, $0.49 per 1,000 on Business. So 10,000 results cost about $9.90 on the Free plan and $4.90 on Business, plus a start fee of $0.10 per run per GB of memory on Free. Platform usage is billed separately.
What data does Bilibili Video Search, Ranking & Metadata Scraper return?
Its published output schema lists 6 fields: title, author, viewCount, likeCount, publishTime, videoUrl. A listed field is not guaranteed to be filled in every row.
What input does Bilibili Video Search, Ranking & Metadata Scraper need?
Required: mode. Optional settings include searchQueries, videoUrls, maxItems, sort, publishedAfter, publishedBefore.
How do I run Bilibili Video Search, Ranking & Metadata Scraper from Python or the API?
Use the Apify API client: in Python, ApifyClient(token).actor("nimbryxo-studio/bilibili-video-search-ranking-and-metadata-scraper").call(run_input=...), then read the run's default dataset (run.default_dataset_id); in JavaScript the same call is client.actor("nimbryxo-studio/bilibili-video-search-ranking-and-metadata-scraper").call(input). Without a client, POST the input JSON to https://api.apify.com/v2/actors/nimbryxo-studio~bilibili-video-search-ranking-and-metadata-scraper/run-sync-get-dataset-items with your API token. Ready-to-paste code with the example input is on this page.
Sources
- Bilibili Video Search, Ranking & Metadata Scraper on Apify Store
- Published build with input and output schema (JSON)
- Bilibili Open Platform documentation
Cite this page
Scraper Finder. "Bilibili Video Search, Ranking & Metadata Scraper." https://scraperfinder.com/catalogue/bilibili-video-search-ranking-and-metadata-scraper/ (data checked 2026-11-12).
Run Bilibili Video Search, Ranking & Metadata Scraper
$0.99 per 1,000 results. Paste the example input above, set your Bilibili query, then export the dataset. Still choosing? Compare every Bilibili route.