# Bilibili UP Profile & Videos Scraper - B站 UP主 (`seemuapps/bilibili-up-profile-scraper`) Actor

Scrape Bilibili (哔哩哔哩) UP主 creator profiles with followers, total views and likes, plus every upload with views, danmaku, likes, coins and favorites.

- **URL**: https://apify.com/seemuapps/bilibili-up-profile-scraper.md
- **Developed by:** [Seemu Scraping](https://apify.com/seemuapps) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 92.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 videos

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 UP Profile & Videos Scraper - B站 UP主

Scrape any Bilibili (哔哩哔哩) UP主 (creator) channel without a login: followers, upload count, lifetime views and likes, verification and live room, plus their uploads newest first with views, danmaku and, optionally, likes, coins, favorites, shares and tags. Export to JSON, CSV, Excel or Google Sheets.

### What you get

**One profile row per channel** (`rowType: "profile"`):

- Name, UID, channel URL, bio, avatar, banner, gender and account level
- Followers, following, total uploads, lifetime video views, article views and total likes
- Verification (individual / organization) and its title, e.g. 百大UP主
- 大会员 VIP status, live room URL and title, and whether they're live right now

**One row per upload** (`rowType: "video"`):

- BV id, av id, title, URL, cover, publish date, duration, category and number of parts
- Views and danmaku count
- Flags for popular (热门), collaboration (联合投稿), paid, live replay and interactive videos
- With **Add full video stats**: likes, coins, favorites, shares, comment count, description and tags

### Use cases

- **Influencer discovery and vetting**: compare UP主 reach, lifetime views and recent performance before a campaign
- **Competitor channel monitoring**: track what rival brands and creators upload and how each video does
- **Content strategy**: find which topics, lengths and formats get the most views on a channel
- **Agency reporting**: export creator stats to Sheets or a dashboard on a schedule
- **Market research**: study top creators in gaming, anime, tech, beauty and education on Bilibili

### How to use

1. Paste one or more **Channels**: `https://space.bilibili.com/<UID>` URLs, `b23.tv` share links or numeric UIDs
2. Set **Max videos per channel** (newest first; 0 = profile only)
3. Optionally turn on **Add full video stats** for likes, coins, favorites, shares and tags
4. Run the actor and open the **Dataset** tab; the Profiles and Videos views split the row types

#### Getting more videos (pagination)

After the run finishes, open the **Key-value store** tab → copy the `NEXT_PAGE_ID` value → paste it into **Page ID** on your next run. If `NEXT_PAGE_ID` is `null`, you've fetched everything. With several channels, `NEXT_PAGE_ID` continues the channel the run was cut short in.

### Output example

```json
{
  "rowType": "profile",
  "channelId": "546195",
  "url": "https://space.bilibili.com/546195",
  "name": "老番茄",
  "bio": "新浪微博：_老番茄_",
  "level": 6,
  "verified": true,
  "verifiedType": "individual",
  "verifiedTitle": "2025百大UP主、2025年度商业影响力奖UP主、2022年度联合创作奖UP主",
  "isVip": true,
  "followers": 20880829,
  "following": 7,
  "videoCount": 683,
  "liveRoomUrl": "https://live.bilibili.com/21852",
  "isLiveNow": false
}
```

```json
{
  "rowType": "video",
  "videoId": "BV1GzW162Edh",
  "url": "https://www.bilibili.com/video/BV1GzW162Edh",
  "title": "布蘭妮「Overprotected (Official Audio)」",
  "publishedAt": "2026-11-11T06:53:53.000Z",
  "durationSeconds": 200,
  "category": "MV",
  "views": 74,
  "danmaku": 0,
  "channelName": "索尼音乐中国",
  "position": 1
}
```

### FAQ

**Do I need a Bilibili account?** No.

**Why are likes and coins empty on some videos?** They come from **Add full video stats**. Bilibili occasionally doesn't answer for a video; that video keeps its views and danmaku and isn't billed for stats.

**Why are lifetime views empty for some channels?** Bilibili sometimes withholds the channel-wide totals; followers and uploads are still returned.

# Actor input Schema

## `channels` (type: `array`):

Bilibili channel URLs (https://space.bilibili.com/<UID>), b23.tv share links or numeric UIDs. One per line.

## `maxVideosPerChannel` (type: `integer`):

How many of each channel's latest uploads to collect, newest first. 0 = profile details only.

## `addVideoStats` (type: `boolean`):

Look up every video for likes, coins, favorites, shares, comment count, description and tags. Without it, video rows have views, danmaku, duration, publish date and category. Billed as an extra video-stats event per video.

## `pageId` (type: `string`):

Paste NEXT_PAGE_ID from the previous run's Key-value store to continue with older uploads of the same channel.

## Actor input object example

```json
{
  "channels": [
    "https://space.bilibili.com/486906719"
  ],
  "maxVideosPerChannel": 30,
  "addVideoStats": false
}
```

# Actor output Schema

## `results` (type: `string`):

One profile row per channel (rowType profile) with followers, upload count, lifetime views and likes, verification and live room; one row per upload (rowType video) with views, danmaku and optional likes, coins, favorites, shares and tags.

## `nextPageId` (type: `string`):

NEXT_PAGE_ID record in the default key-value store. Paste into Page ID on the next run to resume; null when the list is exhausted.

# 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 = {
    "channels": [
        "https://space.bilibili.com/486906719"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("seemuapps/bilibili-up-profile-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 = { "channels": ["https://space.bilibili.com/486906719"] }

# Run the Actor and wait for it to finish
run = client.actor("seemuapps/bilibili-up-profile-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 '{
  "channels": [
    "https://space.bilibili.com/486906719"
  ]
}' |
apify call seemuapps/bilibili-up-profile-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,seemuapps/bilibili-up-profile-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/oLE1f0Ayf8DR8GPnM/builds/KRyojUhDD5Ww5CyzY/openapi.json
