# Bilibili User Scraper (`blueskyscraper/bilibili-user-scraper`) Actor

Scrape Bilibili uploaders (UP主) by space URL or UID: name, bio, level, followers, following, video count, verification, VIP, live room status, and every video they published with views, comments, danmaku, length and date — newest, most viewed or most favorited first.

- **URL**: https://apify.com/blueskyscraper/bilibili-user-scraper.md
- **Developed by:** [BlueskyScraper](https://apify.com/blueskyscraper) (community)
- **Categories:** Social media, Videos, Lead generation
- **Stats:** 4 total users, 3 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 1,000 uploaders

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

**Bilibili User Scraper** collects **Bilibili uploader (UP主) profiles** **without an account, cookies or proxy settings**: name, bio, level, **followers**, following, **total likes**, video count, verification, VIP, live room status — and **every video they published** with views, comments, danmaku, length and date, newest, most viewed or most favorited first. **$3 per 1,000 profiles, videos $1 per 1,000, no start fee.**

### Tested head-to-head — 29 September 2026

![Bilibili scrapers tested head-to-head: this Actor charges $1 per 1,000 search results and $2 per 1,000 full videos, returned all 20 search results in 3.3 seconds and all 3 video pages](https://api.apify.com/v2/key-value-stores/tZJ3TnhQJ1jqUQVXq/records/bilibili-tested-2026-09-29.png)

The same requests went to this Actor and to the most-used Bilibili scrapers on the Apify Store: a keyword search for `minecraft` (20 videos) and full stats for the same 3 video pages.

| | This Actor | The others |
|---|---|---|
| Price per 1,000 search results | **$1** | $2.99–20.00 |
| Price per 1,000 full videos | **$2** | $20.00 |
| Search: 20 asked, rows back | **20** | 2–20 |
| Search time | **3.3 s** | 5.3–65.0 s |
| Video pages: 3 asked, rows back | **3** | 1–3 |

### What is Bilibili User Scraper?

A **Bilibili user API alternative** for influencer marketing in China, creator vetting and competitor tracking. Paste space.bilibili.com links or UIDs, export JSON, CSV or Excel, or call it by API.

- One profile row per uploader, then their videos (turn videos off for profiles only).
- **Full stats for each video** (likes, coins, shares, tags) with one switch — billed as a video row.
- **Monitoring mode** returns only videos posted since the last run.

### How much does it cost?

| Row | Price |
|---|---|
| **Video** (full stats) | $0.002 — $2 per 1,000 |
| **Search result** (or a video from an uploader's list) | $0.001 — $1 per 1,000 |
| **Uploader** profile | $0.003 — $3 per 1,000 |
| **Danmaku** comment | $0.0002 — $0.2 per 1,000 |
| **Comment** or reply | $0.001 — $1 per 1,000 |

No start fee and no proxy charge. Error rows are never billed. **Maximum rows per run** is a hard ceiling on the bill.

### ⬇️ Input

```json
{
    "userUrls": ["https://space.bilibili.com/546195", "946974"],
    "videoOrder": "click",
    "maxResultsPerInput": 50
}
```

### ⬆️ Output

```json
{
    "type": "user",
    "userId": "546195",
    "name": "老番茄",
    "url": "https://space.bilibili.com/546195",
    "level": 6,
    "followers": 20806161,
    "following": 6,
    "videos": 678,
    "totalLikes": 195281373,
    "verified": true,
    "verification": "2025百大UP主、2025年度商业影响力奖UP主、2022年度联合创作奖UP主",
    "vip": true
}
```

### Use cases

- **Influencer marketing** — shortlist creators by followers, likes and how their recent videos perform.
- **Creator vetting** — check verification, activity and average views before a deal.
- **Competitor tracking** — new videos from rival channels on a schedule.

### ❓ FAQ

#### Do I need a Bilibili account, cookies or a proxy?

No. The Actor reads what bilibili.com shows any visitor who is not logged in. If Bilibili answers with a risk-control check, the request is retried on a fresh visitor session and, if needed, through Apify Proxy — by itself.

#### Does it work with Chinese keywords?

Yes. Search accepts Chinese, English or any other text: `原神`, `iphone 17`, `minecraft`. Titles and descriptions come back as published, usually in Chinese.

#### How many comments can I get?

Bilibili shows a visitor who is not logged in only the first few top-level comments of a video. The Actor returns those comments together with **all of their replies**, so a popular video still gives dozens to hundreds of rows. Danmaku have no such limit.

#### Is it legal to scrape Bilibili?

The Actor reads only public pages without logging in. User names and comments are personal data under laws like the GDPR and PIPL — have a lawful reason to process them.

#### Can I get only new rows on a schedule?

Yes. Give **Monitoring mode** a name and schedule the Actor: every run returns only videos, danmaku or comments not delivered before under that name.

### You might also like

| Actor | What it does |
|---|---|
| [Bilibili Scraper](https://apify.com/blueskyscraper/bilibili-scraper) | Videos, search, uploaders, danmaku, comments and trending in one Actor |
| [Bilibili Video Scraper](https://apify.com/blueskyscraper/bilibili-video-scraper) | Full video stats and category rankings |
| [Bilibili Search Scraper](https://apify.com/blueskyscraper/bilibili-search-scraper) | Keyword search with sort, duration and date filters |
| [Bilibili Danmaku Scraper](https://apify.com/blueskyscraper/bilibili-danmaku-scraper) | Danmaku (bullet comments) with video timestamps |

# Actor input Schema

## `mode` (type: `string`):

<b>Videos</b> — views, likes, coins, favorites, shares, danmaku and comment counts, tags, duration, uploader. <b>Search</b> — videos for a keyword. <b>Uploaders</b> — a creator's profile and followers, then their videos. <b>Danmaku</b> — the bullet comments shown over a video, with the second they appear. <b>Comments</b> — the top comments Bilibili shows publicly, with every reply under them. <b>Trending</b> — Bilibili's popular list or a category ranking.

## `userUrls` (type: `array`):

Uploader (UP主) space URL or UID: <code>https://space.bilibili.com/546195</code> or <code>546195</code>.

## `startUrls` (type: `array`):

Any bilibili.com link, routed automatically: video, b23.tv-free video page, uploader space, search page (<code>search.bilibili.com/all?keyword=…</code>) or the popular page.

## `maxResultsPerInput` (type: `integer`):

Cap for each input: search results per keyword, videos per uploader, danmaku or comments per video, trending videos.

## `includeDetails` (type: `boolean`):

Search and uploader videos: open every video for likes, coins, favorites, shares, tags and uploader — billed as a video row.

## `includeVideos` (type: `boolean`):

Uploaders: after the profile, the uploader's videos with views, comments, danmaku and length ($0.001 each).

## `videoOrder` (type: `string`):

Order of the uploader's videos.

## `maxItems` (type: `integer`):

Stop after this many rows in the whole run — a hard ceiling on cost.

## `monitoringStoreName` (type: `string`):

Give the run a name (e.g. <code>minecraft-new</code>) and every later run with the same name returns <b>only rows it has not delivered before</b> — new videos, new danmaku, new comments. Empty = normal run.

## Actor input object example

```json
{
  "mode": "users",
  "userUrls": [
    "https://space.bilibili.com/546195"
  ],
  "maxResultsPerInput": 50,
  "includeDetails": false,
  "includeVideos": true,
  "videoOrder": "pubdate",
  "maxItems": 10000
}
```

# Actor output Schema

## `rows` (type: `string`):

One row per video, search result, uploader, danmaku or comment; error rows explain inputs that could not be read.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "userUrls": [
        "https://space.bilibili.com/546195"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("blueskyscraper/bilibili-user-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "userUrls": ["https://space.bilibili.com/546195"] }

# Run the Actor and wait for it to finish
run = client.actor("blueskyscraper/bilibili-user-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "userUrls": [
    "https://space.bilibili.com/546195"
  ]
}' |
apify call blueskyscraper/bilibili-user-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,blueskyscraper/bilibili-user-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/8mSzaWysCDLZdr7lW/builds/LOVigMI2D67tLLsXJ/openapi.json
