# Bilibili Scraper: videos, comments, creators (no login) (`leadharbor/bilibili-scraper`) Actor

Bilibili videos by keyword or link: plays, likes, comments, favourites, tags, creator. Optional top comments per video and creator profiles with followers and verified title. Plain HTTP, no login, no cookie. Counts as Bilibili reports them. Not affiliated with Bilibili.

- **URL**: https://apify.com/leadharbor/bilibili-scraper.md
- **Developed by:** [Mohammed Samaan](https://apify.com/leadharbor) (community)
- **Categories:** Social media, Videos
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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

Give this Actor Bilibili search words, video links, BV ids or creator ids. You get one flat row per video, per creator and, if you ask for them, per top comment, with the numbers Bilibili shows to a logged-out visitor: plays, likes, comment count, bullet-comment count (danmaku), favourites, tags, creator, followers and verified title.

It reads Bilibili's public pages and routes with plain HTTP. No login, no cookie, no proxy, no browser. Not affiliated with Bilibili.

![Sample output: Bilibili videos from one real search run](https://api.apify.com/v2/key-value-stores/ETfrhQo14MUgBgWeP/records/bilibili-sample-output.png?signature=QwGP4YVgZt7hrpT2LNMx)

### What you get

- **Videos by keyword.** `searchQueries` returns videos in Bilibili's own order (relevance by default; most played, newest, most bullet comments or most favourited on request). Each row has `rank` and `searchQuery`.
- **Single videos by link or BV id.** `videoUrls` returns the same row. Link rows also have `coins` and `shares`, which search rows do not (they are `null` there).
- **Creator profiles.** `creatorIds` (a number or a `space.bilibili.com` link) returns name, bio, followers, following, level, verified title and video count. `creatorSearchQueries` finds creators by keyword (these rows have no `following`).
- **Top comments.** Set `maxCommentsPerVideo` above 0 and every delivered video also gets that many top-level comments as separate rows with `type: "comment"`: text, likes, reply count, time, author.
- **Every row says what it is.** `type` is `video`, `comment`, `creator` or `error`. Missing videos and creators, blocked requests and invalid entries come back as free `error` rows with a plain message.
- **Text as the creator wrote it.** Titles, descriptions and tags are returned in their original language (mostly Chinese). The Actor does not translate anything.

### What you get and what you do not

![What you get and the limits of the Bilibili scraper](https://api.apify.com/v2/key-value-stores/ETfrhQo14MUgBgWeP/records/bilibili-what-you-get.png?signature=1jbNpzFVdpT63cIKADJu9)

| You get | You do not get |
|---|---|
| Videos by search word (up to 1,000 results per word, 20 a page), by link or by BV id | Subtitles, video files or audio |
| Plays, likes, comment count, bullet-comment count, favourites, tags, category, creator, publish time | A creator's full video list |
| Coins and shares on rows read from a video link | Coins and shares on search rows (they are `null` there) |
| Creator profiles: followers, following, level, verified title, video count | Anything behind a login: private data, follower lists, replies under a comment, the pinned comment |
| Top-level comments, hot or newest, up to 1,000 per video | Translation: text is returned as the creator wrote it |
| Error rows (free) that say why an entry could not be read | Charges for errors, duplicates or repeated rows |

### Example

Input (one field is enough):

```json
{
  "searchQueries": ["咖啡", "iphone review"],
  "maxVideosPerQuery": 20,
  "videoUrls": ["https://www.bilibili.com/video/BV1Dbsn6gEPz"],
  "creatorIds": ["546195"],
  "maxCommentsPerVideo": 0
}
```

One video row, copied from a real search run (word 咖啡, most played first) on 22 November 2026. Counts change by the minute. Rows read from a video link also fill `coins` and `shares`.

```json
{
  "type": "video",
  "bvid": "BV1HWzZB8E8U",
  "aid": 115976918012022,
  "url": "https://www.bilibili.com/video/BV1HWzZB8E8U",
  "title": "盘点年度播放量突破千亿的神级转场，有你看过的吗？",
  "description": "盘点年度播放量突破千亿的神级转场，有你看过的吗？",
  "creatorName": "黑糖音乐秀",
  "creatorId": 56547276,
  "plays": 17570937,
  "likes": 70904,
  "comments": 97,
  "danmaku": 264,
  "favorites": 352282,
  "coins": null,
  "shares": null,
  "durationSeconds": 355,
  "publishedAt": "2026-01-29T06:37:59.000Z",
  "tags": [
    "华莱士WA咖啡",
    "来华莱士打咖啡",
    "神级转场",
    "百万转场",
    "氛围感",
    "火爆全网",
    "音乐盘点",
    "转场",
    "名场面",
    "视觉盛宴"
  ],
  "category": "乐评盘点",
  "coverUrl": "https://i0.hdslb.com/bfs/archive/ccf15c358bb1b15b2c3c814ed7888bcdbe6682d5.jpg",
  "searchQuery": "咖啡",
  "rank": 1,
  "scrapedAt": "2026-11-22T20:12:54.438Z"
}
```

One creator row, copied from a real run on 22 November 2026:

```json
{
  "type": "creator",
  "creatorId": 546195,
  "name": "老番茄",
  "bio": "新浪微博：_老番茄_",
  "followers": 20900446,
  "following": 7,
  "level": 6,
  "verifiedTitle": "2025百大UP主、2025年度商业影响力奖UP主、2022年度联合创作奖UP主",
  "videoCount": 686,
  "url": "https://space.bilibili.com/546195",
  "searchQuery": null,
  "rank": null,
  "scrapedAt": "2026-11-22T20:30:11.699Z"
}
```

One comment row, copied from a real run on 22 November 2026:

```json
{
  "type": "comment",
  "commentId": "290456990672",
  "bvid": "BV1HWzZB8E8U",
  "aid": 115976918012022,
  "text": "不刷抖音时一个都没见过···",
  "likes": 54,
  "replyCount": 2,
  "createdAt": "2026-02-01T14:06:15.000Z",
  "authorName": "Wei喂炜",
  "authorId": 35844900,
  "scrapedAt": "2026-11-22T20:21:18.739Z"
}
```

### Input

| Field | What it does |
|---|---|
| `searchQueries` | Search words for videos, any language. |
| `sortBy` | `totalrank` (default, relevance), `click` (most played), `pubdate` (newest), `dm` (most bullet comments), `stow` (most favourited). |
| `maxVideosPerQuery` | 1 to 1,000, default 20. Bilibili lists at most 1,000 results (50 pages of 20) for a keyword; repeated videos are delivered once, so a relevance search can give fewer rows (see Limits). |
| `videoUrls` | `bilibili.com/video/BV...` links or bare BV ids. BV ids are case-sensitive: copy them exactly. `b23.tv` short links and old `av` links get a free error row. |
| `creatorIds` | Creator numbers or `space.bilibili.com/<number>` links. |
| `creatorSearchQueries` | Search words for creators. |
| `maxCreatorsPerQuery` | 1 to 1,000, default 20. |
| `maxCommentsPerVideo` | 0 (default, no comments) to 1,000 top-level comments per delivered video. |
| `commentSort` | `hot` (default) or `newest`. |

Give at least one of `searchQueries`, `videoUrls`, `creatorIds`, `creatorSearchQueries`. The same video or creator twice in one run is delivered once, however it was found. If a video link and a search both find it, the link row is the one you get (it has coins and shares).

### Row types and fields

| `type` | Fields |
|---|---|
| `video` | `bvid`, `aid`, `url`, `title`, `description`, `creatorName`, `creatorId`, `plays`, `likes`, `comments`, `danmaku`, `favorites`, `coins`, `shares`, `durationSeconds`, `publishedAt`, `tags`, `category`, `coverUrl`, `searchQuery`, `rank`, `scrapedAt` |
| `comment` | `commentId`, `bvid`, `aid`, `text`, `likes`, `replyCount`, `createdAt`, `authorName`, `authorId`, `scrapedAt` |
| `creator` | `creatorId`, `name`, `bio`, `followers`, `following`, `level`, `verifiedTitle`, `videoCount`, `url`, `searchQuery`, `rank`, `scrapedAt` |
| `error` | `input`, `errorKind`, `message`, `scrapedAt`, and `bvid` or `creatorId` when there is one |

Every field is described in the dataset schema. A count Bilibili hides is `null`.

### Error rows (always free)

| `errorKind` | Meaning |
|---|---|
| `invalid_input` | The entry is not a Bilibili video link, BV id, creator id or creator link |
| `not_found` | Bilibili does not show this video or creator to a logged-out reader (it does not exist, was removed, or is paid-only), or a video with no comment section |
| `unavailable` | The video page answered with an error code the Actor does not know (the message carries the code), or Bilibili answered with a different video or creator than asked for |
| `no_results` | A search word found nothing |
| `blocked` | Bilibili answered with a rate limit or ban (HTTP 412, 429, 401, 403, a ban code, or its HTML error page) on all 3 tries |
| `request_failed` | Network or server error (tried 3 times), or an unknown status, code or redirect from any route (not retried) |
| `comments_closed` | The comments of that video are closed |

### Pricing

Pay per event. Three events, charged for each row delivered:

| Apify plan | `video` row | `creator` row | `comment` row |
|---|---|---|---|
| Free | $0.0020 | $0.0020 | $0.0006 |
| Starter (Bronze) | $0.0015 | $0.0015 | $0.0005 |
| Scale (Silver) | $0.0013 | $0.0013 | $0.00045 |
| Business (Gold) and higher | $0.0011 | $0.0011 | $0.0004 |

That is $1.10 to $2.00 per 1,000 videos or creators, and $0.40 to $0.60 per 1,000 comments. There is no start fee. Error rows, duplicates and rows an earlier attempt of the same run already delivered cost nothing. The live price is always the one on the Pricing tab. Use the run option **Max total charge** to cap a run: while pay-per-event pricing is active the Actor charges before it writes each row, and stops when the cap is reached, so no uncharged row is delivered.

### Use with AI agents and MCP

- **Apify MCP server:** add `leadharbor/bilibili-scraper` as a tool, or let the agent find it with `search-actors` and run it with `call-actor`. Minimal input: `{"searchQueries": ["iphone review"], "maxVideosPerQuery": 10}`. One field is enough.
- **Small answers for a model:** leave `maxCommentsPerVideo` at 0 and read only the fields you need (`title`, `plays`, `likes`, `url`) with the dataset `fields` parameter.
- **API:** `POST https://api.apify.com/v2/acts/leadharbor~bilibili-scraper/run-sync-get-dataset-items` with the input as JSON body returns the rows in one call.
- **Stop reasons:** if the run stops early (charge cap, run time, Bilibili refusing the address) the run status message and the `SUMMARY` record in the key-value store say why and how many entries were not read.

### Run it from the API, n8n, Make or code

Every way of starting an Actor on Apify works with this one. In n8n and Make, use the Apify module, pick this Actor, paste the input JSON from the Example section, then read the dataset items it returns. From code, use the Apify client:

```js
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('leadharbor/bilibili-scraper').call({ searchQueries: ['咖啡'], sortBy: 'click', maxVideosPerQuery: 100 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

```python
import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("leadharbor/bilibili-scraper").call(run_input={"videoUrls": ["BV1Dbsn6gEPz"], "maxCommentsPerVideo": 50})
items = client.dataset(run["defaultDatasetId"]).list_items().items
```

### How it works

1. A search word: Bilibili's public search route, 20 results a page, up to the number you set (at most 50 pages). Each search request carries the public request signature that Bilibili's own website uses, made from two key names that Bilibili hands out to every visitor on a public page. The Actor reads them once, keeps them in memory for 10 minutes, and never stores them.
2. A video link or BV id: one request for the public mobile video page and the data it carries (Bilibili first redirects that page to the same video with a language parameter; the Actor follows that redirect, to the same video only, and nothing else).
3. A creator id: one request for the public creator card.
4. Comments: one request per 20 top-level comments, from Bilibili's public comment route.
5. Requests start at least 1.5 seconds apart. Three video links or creators are read at a time, and rows are delivered in input order. A request that is refused, slow or fails is tried up to 3 times with a pause. After 10 reads in a row end in a refusal or an unreadable answer, the run stops and says so.

Requests go from Apify's servers with no proxy. No cookie is stored or sent, there is no login, and only `api.bilibili.com` and `m.bilibili.com` are contacted.

### Limits

- **No subtitles or transcripts.** Bilibili gives none to a logged-out reader.
- **No list of a creator's videos.** The route that lists them is refused for logged-out readers. You can find a creator's videos through a search word, or give video links.
- **Search lists at most 1,000 results (50 pages of 20) per keyword, and some repeat.** We read all 50 pages for a word on 22 November 2026 and counted different videos: relevance order gave 737 and 726 different videos in 1,000 results for two words (about a quarter were repeats of videos on earlier pages), most-played order gave 1,000 of 1,000, and newest order gave 362 of 362 for a word with only 362 results. Repeats are delivered once and cost nothing, so a relevance search for 1,000 videos returns about 700 to 750 rows; use `sortBy` `click` or `pubdate` for the deepest list without repeats. The same video found in several searches in one run is also delivered once.
- **Search words:** the characters `!` `'` `(` `)` `*` are dropped before the word is sent (Bilibili's signature rule), so `a(b)c` is searched as `abc`.
- **Comments:** top-level comments only (replies under a comment are not returned; `replyCount` tells how many there are). A comment that the uploader pinned is listed by Bilibili apart from the others and is not returned. Depth: on one video with 244,189 comments, 167 pages in the `hot` order gave 3,326 different comments with no end reached before our test address was refused (22 November 2026), so the deepest we measured is 3,326; this Actor returns at most 1,000 per video. In the `newest` order, 80 pages gave 1,504 different comments on the same video with no end reached (we stopped there).
- **Counts are as Bilibili reports them.** They change by the minute and Bilibili can hide or round some. Search rows and link rows can also differ in `likes`: on one video read the same evening a search row showed 70,904 likes and a link row 311,332, while plays, favourites, comments and bullet comments were equal. Use `videoUrls` when the like count matters.
- **Search rows are thinner than link rows.** `coins` and `shares` are `null` on search rows. The search route can cut long descriptions (one in our test was cut at 255 characters), uses a different category label than the video page, and can show a much lower `likes` number (see above).
- **Old videos.** A few search results (old videos) come without a BV id. The Actor computes it from the numeric id (the public conversion between the two).
- **Videos Bilibili does not show to a logged-out reader** (removed, or paid-only) give a free `not_found` row.
- **Bilibili can refuse an address.** In our own test from one home address, the comments route answered HTTP 412 after about 170 requests in about 3.5 minutes, and for more than 12 minutes afterwards. Apify's servers use other addresses: from them, 235 of 235 search requests (pages 1 to 50, five sort orders, creator search too) were answered on 22 November 2026, but this README has no long-run numbers. When Bilibili refuses a request you get a free `blocked` row, and after 10 reads in a row are refused (each read is tried 3 times) the run stops. Run again later.
- **Bilibili can change its pages without notice.** Most changes show up as free error rows. If a field comes back empty that should not be, tell us in the Issues tab.
- **Region.** Results can depend on the address a request comes from. Our own tests ran from one address in Oman, and we have not compared regions.

### Support

Open an issue on the **Issues** tab and include the run ID. We read every issue and answer there. Bug fixes for the fields listed on this page are free. If Bilibili changes something and the Actor stops returning data, tell us there first.

### Data handling and responsible use

The Actor reads only what Bilibili shows to any logged-out visitor. It never asks for, stores or uses a Bilibili login, cookie or session. Nothing is kept by us: results live in your own Apify dataset under your account's retention settings.

Creator names, comments and descriptions are personal data and creative work. You are responsible for how you use them: respect copyright, privacy law (for example GDPR) and Bilibili's terms where they apply to you. Do not use the output to harass anyone or to republish someone's content as your own.

### Not affiliated

This Actor is an independent tool. It is not affiliated with, endorsed by or sponsored by Bilibili. "Bilibili" is a trademark of its owner.

### FAQ

**Do I need a Bilibili account?** No. There is no login field, and the Actor never sends a cookie.

**Can I get English titles?** No. Rows carry the text as the creator wrote it. Translate the `title` field with your own tool if you need English.

**Why is `coins` null?** Bilibili's search route does not give it. Read the video by link (`videoUrls`) to get coins and shares.

**How many videos can I get for one search word?** Up to 1,000 results, which is all Bilibili lists for a word. In relevance order about a quarter repeat, so expect about 700 to 750 different videos; in most-played or newest order there are far fewer repeats. Set `maxVideosPerQuery` to 1000 and read the `SUMMARY` record to see how many were delivered.

**Can I get every comment on a video?** No. Top-level comments only, at most 1,000 per video per run.

**Is there a TikTok version?** Yes: [TikTok Transcript Scraper](https://apify.com/leadharbor/tiktok-transcript-scraper) returns stats and the transcript for TikTok videos.

# Actor input Schema

## `searchQueries` (type: `array`):

Keywords to search Bilibili videos with, one per entry, in any language (Chinese words work as well as English ones). Each search returns video rows in the order Bilibili ranks them, up to Max videos per search word (Bilibili lists at most 1,000 results for a word, 50 pages of 20). The characters ! ' ( ) \* are dropped from a search word before it is sent. The same video found twice in one run is delivered once.

## `sortBy` (type: `string`):

How Bilibili orders the video search results. totalrank is Bilibili's default relevance order, click is most played, pubdate is newest first, dm is most bullet comments, stow is most favourited. Applies to Search words only.

## `maxVideosPerQuery` (type: `integer`):

How many video rows to deliver for each search word, 1 to 1000. Bilibili lists at most 1,000 results (50 pages of 20) for a keyword. In relevance order about a quarter of them repeat a video seen on an earlier page (two tests: 737 and 726 different videos in 1,000 results), and repeats are delivered once, so you get fewer rows than the number you set. The most played and newest orders had far fewer repeats (1,000 and 362 different videos in 1,000 and 362 results). Applies to Search words only.

## `videoUrls` (type: `array`):

Bilibili video links (bilibili.com/video/BV...) or bare BV ids such as BV1Dbsn6gEPz, one per entry. BV ids are case-sensitive: copy them exactly. b23.tv short links and old av links are not followed and get a free error row. Each video returns one row, including coins and shares, which search rows do not have. A missing, removed or paid-only video gets a free error row.

## `creatorIds` (type: `array`):

Bilibili creator ids (the number in space.bilibili.com/<id>) or the space link itself. Each creator returns one profile row: name, bio, followers, following, level, verified title and video count. A missing creator gets a free error row.

## `creatorSearchQueries` (type: `array`):

Keywords to search Bilibili creators with, one per entry. Each search returns creator rows in the order Bilibili ranks them, up to Max creators per search word.

## `maxCreatorsPerQuery` (type: `integer`):

How many creator rows to deliver for each creator search word, 1 to 1000. Applies to Search words (creators) only.

## `maxCommentsPerVideo` (type: `integer`):

0 (default) returns no comments. A number from 1 to 1000 also returns that many top-level comments for every delivered video, as separate rows with type comment, each charged as one comment event. Replies under a comment are not returned (replyCount tells how many there are). Applies to every video row from search words and video links.

## `commentSort` (type: `string`):

hot returns the comments Bilibili ranks highest (most liked first, as its page shows them). newest returns the latest comments first. Only matters when Comments per video is above 0.

## Actor input object example

```json
{
  "searchQueries": [
    "咖啡"
  ],
  "sortBy": "totalrank",
  "maxVideosPerQuery": 20,
  "videoUrls": [
    "BV1Dbsn6gEPz"
  ],
  "creatorIds": [],
  "creatorSearchQueries": [],
  "maxCreatorsPerQuery": 20,
  "maxCommentsPerVideo": 0,
  "commentSort": "hot"
}
```

# Actor output Schema

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

Table of the delivered video, comment and creator rows and any error rows.

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

Counts: rows delivered and charged per event, error rows, duplicates, retries, request status counts, and why the run stopped if it stopped early.

# 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 = {
    "searchQueries": [
        "咖啡"
    ],
    "sortBy": "totalrank",
    "maxVideosPerQuery": 20,
    "videoUrls": [
        "BV1Dbsn6gEPz"
    ],
    "creatorIds": [],
    "creatorSearchQueries": [],
    "maxCreatorsPerQuery": 20,
    "maxCommentsPerVideo": 0,
    "commentSort": "hot"
};

// Run the Actor and wait for it to finish
const run = await client.actor("leadharbor/bilibili-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 = {
    "searchQueries": ["咖啡"],
    "sortBy": "totalrank",
    "maxVideosPerQuery": 20,
    "videoUrls": ["BV1Dbsn6gEPz"],
    "creatorIds": [],
    "creatorSearchQueries": [],
    "maxCreatorsPerQuery": 20,
    "maxCommentsPerVideo": 0,
    "commentSort": "hot",
}

# Run the Actor and wait for it to finish
run = client.actor("leadharbor/bilibili-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 '{
  "searchQueries": [
    "咖啡"
  ],
  "sortBy": "totalrank",
  "maxVideosPerQuery": 20,
  "videoUrls": [
    "BV1Dbsn6gEPz"
  ],
  "creatorIds": [],
  "creatorSearchQueries": [],
  "maxCreatorsPerQuery": 20,
  "maxCommentsPerVideo": 0,
  "commentSort": "hot"
}' |
apify call leadharbor/bilibili-scraper --silent --output-dataset

```

## MCP server setup

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