Bilibili: scrapers and the official API, compared

Video search results, rankings, uploaders, view counts, likes and publish times from Bilibili.

Short answer

For most Bilibili jobs, start with Bilibili Video Search, Ranking & Metadata Scraper: it covers 4 of 6 core fields (title, author, view, like) at $0.99 per 1,000 results on Apify's Free plan. The top published score for Bilibili goes to Bilibili Scraper 哔哩哔哩采集器 by lofomachines (84 of 100), a Store tool from another publisher, listed for reference.

From published Store listings, output schemas and the official documentation. Checked 2026-10-24. How the ranking works.

Bilibili Video Search, Ranking & Metadata Scraper: inputs, code and costOpen in Apify Store

1 catalogue Actor 8 other Store tools Official API: Limited access Lowest rate  $0.08 per 1K

Route map

Each line is one way to get Bilibili data; each stop is a field you probably need. Green lines are catalogue Actors, ranked by the published formula.

Route diagram for Bilibili dataBilibili Video Search, Ranking & Metadata Scraper: stops at 4 of the 10 fields shown; Other Store tools (7): stops at 9 of the 10 fields shown; Bilibili Open Platform: limited, field coverage not compared.Bilibilivideotitleauthorviewlikepublishdescriptionaidbvidurl1+API

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.

Catalogue Actors for Bilibili

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…

4/6 core fields 6 output fields $0.99 per 1K Open in Apify Store

Field matrix: who returns what

Every tool with a published output schema, against the 6 fields most Bilibili jobs need. A dot means the field name appears in the schema; rows can still leave it empty.

Which tools return each core Bilibili field, from published output schemas
TooltitleauthorviewlikepublishvideoFields
Bilibili Video Search, Ranking & Metadata Scraper●●●●––4/6
Bilibili Scraper 哔哩哔哩采集器Reference only, by lofomachines●●●●––4/6
Bilibili ScraperReference only, by blueskyscraper●–●●–●4/6
TikTok, Douyin & Bilibili ScraperReference only, by openclawai●●–●––3/6
Bilibili ScraperReference only, by automation-lab●–●●––3/6
Bilibili ScraperReference only, by sian.agency●●–●–●4/6
Bilibili Video ScraperReference only, by resourceful_mandate●●●●––4/6
Bilibili ScraperReference only, by zhorex●●●●––4/6
Tools returning it866802

Field dictionary: the exact keys

The same core field has a different key in each Actor's output. Map these before you merge datasets; a dash means the published schema has no matching key. Need a field that is not listed here, such as email? Search every Bilibili Actor by field.

Output keys for each core Bilibili field in the top catalogue Actors
Core field Bilibili Video Search…
title title
author author
view viewCount
like likeCount
publish –
video –

All 9 tools, scored

Catalogue Actors link to their detail pages; the score (0 to 100) is the published formula, identical for every tool. Other Store tools follow in their own table, for reference. Price is the published primary-result rate per 1,000 (the Free-plan rate where the price is tiered; higher Apify plans pay less); start events and platform usage are excluded.

Catalogue Actors for Bilibili, ranked by the published method
Sample fields
83
Bilibili Video Search, Ranking & Metadata Scraper Catalogue Actor, pay per event
title, author, viewCount 6 $0.99 100% of 23 runs Oct 2026

Other Store tools, for reference

Scored with the same published formula and listed for comparison only; this site does not link or recommend them.

Other Store tools for Bilibili, for reference
Sample fields
84
Bilibili Scraper 哔哩哔哩采集器 Reference only, by lofomachines
title, authorName, viewCount 16 $4.50 99% of 2,758 runs Nov 2026
84
Bilibili Scraper Reference only, by blueskyscraper
title, views, likes 109 $2.00 98% of 196 runs Nov 2026
81
TikTok, Douyin & Bilibili Scraper Reference only, by openclawai
title, author_name, like_count 43 $0.80 100% of 1,142 runs Oct 2026
81
Bilibili Scraper Reference only, by automation-lab
title, viewCount, likeCount 23 $0.08 98% of 108 runs Sep 2026
80
Bilibili Scraper Reference only, by sian.agency
title, author, like 73 $6.00 99% of 250 runs Oct 2026
74
Bilibili Video Scraper Reference only, by resourceful_mandate
title, author_name, views 20 $10 100% of 36 runs May 2026
70
Bilibili Scraper Reference only, by zhorex
officialTitle, authorName, viewCount 47 $20 100% of 5,067 runs Oct 2026
67
Bilibili Video Downloader Reference only, by easyapi
No published schema – $2.99 95% of 77 runs Dec 2025

Official API route

Bilibili Open Platform

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.

Price. No public self-serve price is published.

Limits. Limits are not published.

Official documentation

Bilibili's user agreement governs use of the site; Chinese personal-information law applies to personal data. This is general information, not legal advice.

Read Bilibili's terms. Keep to public data, do not bypass logins or access controls, and check whether personal data is involved before you collect it. The can-I-scrape checklist walks through it.

How to start

  1. Open Bilibili Video Search, Ranking & Metadata Scraper and start from its default input; its Actor page has the full example input and code.
  2. Set the Bilibili search, profile, listing or URL you need and a result limit; the required input is mode.
  3. Run it and export the dataset as JSON, CSV or Excel, or call it from the Apify API.

Call Bilibili Video Search, Ranking & Metadata Scraper from code

The example input uses the Actor's published defaults; set your own Bilibili query before you run it. You need an Apify API token.

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.

Questions people ask

What is the cheapest catalogue Actor for Bilibili data?

Bilibili Video Search, Ranking & Metadata Scraper lists $0.99 per 1,000 results (pay per event), with 6 fields in its published output schema. Start events and platform usage are billed separately. Checked 2026-10-24.

Which Bilibili scraper returns the most core fields?

Bilibili Video Search, Ranking & Metadata Scraper covers 4 of the 6 core Bilibili fields this page tracks (title, author, view, like, publish, video), based on its published output schema.

Does Bilibili have an official API?

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.

Is it legal to scrape Bilibili?

It depends on what you collect and how. Bilibili's user agreement governs use of the site; Chinese personal-information law applies to personal data. Read Bilibili's terms (https://www.bilibili.com/protocal/licence.html) before you collect, and check whether personal data is involved. This is general information, not legal advice.

More on Bilibili

Sources

Data checked 2026-10-24
Cite this page

Scraper Finder. "How to get Bilibili data." https://scraperfinder.com/sites/bilibili/ (data checked 2026-10-24).

Highest-scoring catalogue Actor

Bilibili Video Search, Ranking & Metadata Scraper: 4 of 6 core fields, $0.99 per 1,000 results, score 83. The highest score overall is 84 (Bilibili Scraper 哔哩哔哩采集器, a Store tool from another publisher); both are in the table above.

Open in Apify Store