# Bilibili Creator Videos Scraper (`apt_marble/bilibili-creator-videos-scraper`) Actor

List the public videos of any Bilibili creator by user id or profile link: title, cover, views, publish time, duration and description. Optional keyword filter. No login, no cookies.

- **URL**: https://apify.com/apt_marble/bilibili-creator-videos-scraper.md
- **Developed by:** [Hamza](https://apify.com/apt_marble) (community)
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.20 / 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 Creator Videos Scraper

Paste one or more Bilibili creators and get their public videos, newest first. Each row has the cover image, title, description, publish time, duration and view count. Add a keyword to list only matching videos.

**No login, no cookies, no browser needed.** Results are saved as a dataset you can download as JSON, CSV or Excel, or read through the Apify API. The first column of the table is the thumbnail image.

### What you get

- Accepts a plain user id like 546195 or a link like https://space.bilibili.com/546195.
- Several creators in one run, with a per-creator limit.
- Optional keyword to list only matching videos of that creator.
- Creators with no public videos are reported in the run message and do not stop the run.

### Who uses this actor

- Audit a creator's output and posting rhythm.
- Find a creator's best-performing videos.
- Monitor competitors and partners.
- Feed video links into comment or detail research.

### How to use it

1. Open the Input tab. The fields already hold a working example.
2. Click Start. Small runs finish in seconds.
3. Open the Output tab to see the table, then export it or connect it to your tools.

If something cannot be read, for example an unknown user or a video that does not exist, the run still finishes successfully and says what was wrong in the run status message, with an example of a working input. Results are saved while the run is going, so you can start using them straight away.

### Input

| Field | Name | Required | Default | What it does |
|---|---|---|---|---|
| `creators` | Creators | yes | example: `["https://space.bilibili.com/2"]` | Bilibili user ids or profile links. One per line. |
| `keyword` | Keyword filter (optional) | no | - | Only list videos of the creator that match this keyword. Leave empty for all videos. |
| `maxItems` | Maximum videos per creator | no | `40` | Stop after this many videos for each creator. A creator may have fewer. |

#### Example input

```json
{
  "creators": [
    "https://space.bilibili.com/2"
  ],
  "keyword": "",
  "maxItems": 40
}
```

### Output

Each record is one row in the dataset. Fields Bilibili does not provide for a record are left out, and numbers that are really zero stay as 0. Field names are plain English so tables read well in Excel and CSV.

| Field | Type | Meaning |
|---|---|---|
| Cover image (`image`) | string | Video cover (shown as a thumbnail). |
| Video ID (`id`) | string | Bilibili BV id, unique per video. |
| Title (`title`) | string | Video title, plain text. |
| Video link (`url`) | string | Link to the video on Bilibili. |
| Description (`description`) | string | Video description text. |
| Creator ID (`creatorId`) | string | Uploader user id (mid). |
| Creator link (`creatorUrl`) | string | Link to the uploader space page. |
| Duration (seconds) (`durationSeconds`) | number | Video length in seconds. |
| Published at (`publishedAt`) | string | Publish time, ISO 8601 (UTC). |
| Views (`views`) | number | Play count. |
| Paid video (`isPaid`) | boolean | True for paid videos. |
| Interactive (`isInteractive`) | boolean | True for interactive (branching) videos. |
| AV id (`avId`) | string | Numeric av id of the video (the older Bilibili id style). |
| Scraped at (`scrapedAt`) | string | When this record was collected, ISO 8601. |
| Other data (`otherData`) | object | Any additional field Bilibili sent that has no column of its own. Empty placeholder values are left out. |

#### Example output

```json
{
  "image": "https://i2.hdslb.com/bfs/archive/1670e3ec4d0c6d51455d1cd5f7eeaebfd94205c6.jpg",
  "id": "BV1ujNV6qEXg",
  "title": "帮不帮？",
  "url": "https://www.bilibili.com/video/BV1ujNV6qEXg",
  "description": "去还是不去？图来自@悲傷小姐  AI作品，觉得很适合征兵场景，整活~",
  "creatorId": "2",
  "creatorUrl": "https://space.bilibili.com/2",
  "durationSeconds": 22,
  "publishedAt": "2026-07-12T17:41:36.000Z",
  "views": 722056,
  "isPaid": false,
  "isInteractive": false,
  "avId": "116908221270151",
  "scrapedAt": "2026-10-08T22:31:52.332Z"
}
```

### Tips

- Chinese keywords usually give the widest coverage. Titles and comments come back in their original language.
- The actor paces its requests to stay within Bilibili's limits, so larger runs take a little longer. Spread very large jobs over several runs or schedules.
- Export as JSON, CSV or Excel, or read the results through the Apify API.

### FAQ

**Why only views, not likes or comments?**
Bilibili's public creator video list reports the view count only. To get likes, comments and more, find the same videos with the Video Search or Trending scrapers.

**Is there a limit per creator?**
You set it with "Maximum videos per creator". Bilibili lets you page through the full public list.

**Is it legal to scrape Bilibili?**
The actor reads only data that Bilibili shows publicly, without logging in. Comments and profiles can contain personal data, so use the results in line with the data protection rules that apply to you and with Bilibili's terms.

**Something looks wrong. What should I do?**
Open the run log and the run status message first; they explain what happened. If the data still looks wrong, send the run link through the Issues tab and it will be looked at.

# Actor input Schema

## `creators` (type: `array`):

Bilibili user ids or profile links. One per line.

## `keyword` (type: `string`):

Only list videos of the creator that match this keyword. Leave empty for all videos.

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

Stop after this many videos for each creator. A creator may have fewer.

## Actor input object example

```json
{
  "creators": [
    "https://space.bilibili.com/2"
  ],
  "maxItems": 40
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `summary` (type: `string`):

No description

# 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 = {
    "creators": [
        "https://space.bilibili.com/2"
    ],
    "maxItems": 40
};

// Run the Actor and wait for it to finish
const run = await client.actor("apt_marble/bilibili-creator-videos-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 = {
    "creators": ["https://space.bilibili.com/2"],
    "maxItems": 40,
}

# Run the Actor and wait for it to finish
run = client.actor("apt_marble/bilibili-creator-videos-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 '{
  "creators": [
    "https://space.bilibili.com/2"
  ],
  "maxItems": 40
}' |
apify call apt_marble/bilibili-creator-videos-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apt_marble/bilibili-creator-videos-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/cHfNOsTIlgK1AK4zU/builds/5h0MOWkgnoMXXMuf8/openapi.json
