# Bilibili Scraper - Videos, Comments, Danmaku & Search (`tenfoldfleet/bilibili-scraper`) Actor

Scrape Bilibili videos, comments and danmaku: search Bilibili (B站) by keyword, get video stats (views, likes, coins, favorites), comments, bullet comments (弹幕) and creator uploads. No login. $8 per 1,000 videos or comments, $0.10 per 1,000 danmaku; failures are free.

- **URL**: https://apify.com/tenfoldfleet/bilibili-scraper.md
- **Developed by:** [Tenfold Fleet](https://apify.com/tenfoldfleet) (community)
- **Categories:** Social media, Agents, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 video or comments

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

### What does Bilibili Scraper do?

**Bilibili Scraper** gets public data from [Bilibili](https://www.bilibili.com) (哔哩哔哩, B站), China's largest video community, through a simple **Bilibili API**. In one run you can:

- **Search Bilibili videos** by keyword (Chinese or English), sorted by relevance, views, date, danmaku, favorites or comments.
- Get **video details and stats**: views, likes, coins, favorites, shares, danmaku and comment counts, duration, parts and uploader.
- Scrape **Bilibili comments** (hot or newest first) with likes, reply counts and IP region.
- Download **danmaku (弹幕, bullet comments)** with the exact video time, mode, color and send time.
- List a **creator's uploads** (UP主 videos), newest first.

No login, no cookies and no browser: requests are signed like the Bilibili web and app clients, with automatic retries when Bilibili rate-limits.

### Why use it?

- **Market and trend research** on Chinese audiences: which topics, games and brands get views on Bilibili.
- **Brand and campaign monitoring**: search a brand name and track views, likes and comments over time.
- **Influencer (KOL) research**: compare a creator's recent uploads and engagement.
- **Sentiment analysis and NLP**: comments and danmaku are rich, real-time audience reactions.
- **AI agents and data pipelines**: clean JSON rows that are easy to feed into an LLM or a database.

### What data can it extract?

| Result type | Fields |
|---|---|
| Video | bvid, aid, url, title, description, authorName, authorMid, category, tags, durationSecs, views, likes, coins, favorites, shares, danmakuCount, comments, publishedAt, thumbnail, parts |
| Comment | commentId, text, likes, replyCount, authorName, authorMid, authorLevel, location (IP region), isPinned, postedAt |
| Danmaku | danmakuId, text, videoTimeSecs, mode, fontSize, color, sentAt, cid |

### How to scrape Bilibili

1. Open the Actor and add **search keywords**, **video URLs** and/or **creator ids**.
2. For video URLs, choose what you want: **video details**, **comments** and/or **danmaku**.
3. Set the limits (videos per search, comments per video, danmaku per video).
4. Click **Start** and download the results.

### How much does it cost to scrape Bilibili?

Pay per result, no subscription:

- **$8 per 1,000 videos or comments** ($0.008 each).
- **$0.10 per 1,000 danmaku** ($0.0001 each), so a video with 3,000 danmaku costs $0.30.
- **Failed inputs are free**: deleted videos, empty searches and blocked requests are returned as error rows and not charged.

### Input

```json
{
    "searchQueries": ["原神", "minecraft"],
    "maxResults": 20,
    "videoUrls": ["https://www.bilibili.com/video/BV17x411w7KC"],
    "scrapeVideoDetails": true,
    "scrapeComments": true,
    "maxComments": 100,
    "scrapeDanmaku": true,
    "maxDanmakuPerVideo": 2000,
    "creatorIds": ["546195"]
}
```

### Output

You can download the dataset as JSON, CSV, Excel, XML or HTML. A video row looks like this:

```json
{
    "type": "video",
    "bvid": "BV17x411w7KC",
    "aid": 170001,
    "url": "https://www.bilibili.com/video/BV17x411w7KC",
    "title": "【MV】保加利亚妖王AZIS视频合辑",
    "authorName": "冰封.虾子",
    "authorMid": 122541,
    "durationSecs": 2412,
    "views": 45816638,
    "likes": 943114,
    "coins": 294962,
    "favorites": 877182,
    "danmakuCount": 915672,
    "comments": 184110,
    "publishedAt": "2011-11-09T14:55:33.000Z"
}
```

A danmaku row:

```json
{ "type": "danmaku", "bvid": "BV17x411w7KC", "text": "前方高能", "videoTimeSecs": 196.551, "mode": "scroll", "color": "#ffffff", "sentAt": "2025-01-20T13:36:26.000Z" }
```

### Tips

- BV ids, av ids, full URLs and b23.tv short links all work. The same video given twice (for example as a URL and as an av id) is scraped and charged only once.
- Keep **Max concurrency** low (3 is the default). Bilibili rate-limits fast clients, and the Actor retries blocked pages with a new session and IP.
- Bilibili serves only the most recent few thousand danmaku per video.
- Search returns at most about 1,000 videos per keyword; use several keywords or sort orders for more.

### Use it with AI agents (MCP)

Give Claude, ChatGPT, Cursor or any MCP client this Actor as a tool through Apify's MCP server: add `https://mcp.apify.com?tools=tenfoldfleet/bilibili-scraper` as a remote MCP server and sign in with your Apify account. The agent fills in the input, runs the Actor and reads the results itself; you pay the same per-event price as a normal run.

### FAQ

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

No. The Actor uses only public, anonymous endpoints.

#### Can it scrape creator profiles or follower lists?

No. It scrapes public videos, comments and danmaku only, not user profiles or follower lists.

#### Why did an input return an error row?

The video may be deleted, region-locked or private, the search may have no results, or Bilibili may have blocked every retry. Error rows are free.

#### Can I use it through an API or with AI agents?

Yes. Call it through the Apify API, the Apify MCP server or any Apify integration, and read the results as JSON.

### Disclaimer

This Actor collects only publicly available data. Comments include public usernames and user ids; process them in line with GDPR and other data-protection laws, and use the data only for legitimate purposes. Bilibili is a trademark of its owner; this Actor is not affiliated with or endorsed by Bilibili.

### More tools from Tenfold Fleet

| Actor | Output |
|---|---|
| [ALDI Australia Scraper - AU Products, Unit Prices & Catalogue](https://apify.com/tenfoldfleet/aldi-australia-scraper) | product |
| [Alibaba Image Search - Reverse Lookup of Suppliers by Photo](https://apify.com/tenfoldfleet/alibaba-image-search) | matched product |
| [Wholesale Suppliers - MOQ & Price Breaks (Alibaba Alternative)](https://apify.com/tenfoldfleet/alibaba-products-scraper) | product |
| [AliExpress Reviews Scraper: Product Feedback & Photos Monitor](https://apify.com/tenfoldfleet/aliexpress-reviews-scraper) | review |
| [AliExpress Keyword Scraper - Exact Sold Counts by Search Term](https://apify.com/tenfoldfleet/aliexpress-search-scraper) | product |
| [Amazon Bestsellers Tracker: New Releases & Rank Changes](https://apify.com/tenfoldfleet/amazon-bestsellers-tracker) | ranked product |
| [Amazon Product Scraper - Details, Prices & Search by ASIN](https://apify.com/tenfoldfleet/amazon-product-scraper) | product |
| [Applicant Tracking Jobs Scraper - Greenhouse, Lever & 6 More](https://apify.com/tenfoldfleet/ats-jobs-scraper) | job posting |
| [Audio Transcription: MP3 & Video Files to Text, SRT, VTT](https://apify.com/tenfoldfleet/audio-transcription) | audio minute transcribed |
| [Backlinks Checker - Referring Domains, Anchors & Domain Rank](https://apify.com/tenfoldfleet/backlinks-checker) | backlink |
| [BBB Scraper: Business Leads, Ratings & New Reviews](https://apify.com/tenfoldfleet/bbb-scraper-leads-reviews) | business |
| [Businesses Without Websites - Local Leads with Phone & Rating](https://apify.com/tenfoldfleet/businesses-without-websites) | lead |
| [Coles Product Scraper - Australian Supermarket Prices & Deals](https://apify.com/tenfoldfleet/coles-product-scraper) | product |
| [Company Contact Lookup - One Lead Record per Website](https://apify.com/tenfoldfleet/company-contact-finder) | website with contacts |
| [Contact Form Finder: Form Fields, Embed Type & Captcha Flag](https://apify.com/tenfoldfleet/contact-form-finder) | website with contact page or form |
| [CutShort Jobs Scraper - Startup Roles with INR Salary Ranges](https://apify.com/tenfoldfleet/cutshort-jobs-scraper) | job listing |
| [Facebook Ads Library Scraper for Marketers](https://apify.com/tenfoldfleet/facebook-ads-library-scraper) | ad |
| [Facebook Ads Transcript - Spoken Hook, CTA, Offer & Angle](https://apify.com/tenfoldfleet/facebook-ads-transcript) | video ad transcript |
| [Facebook Page Contact Finder - Business Leads from Page Links](https://apify.com/tenfoldfleet/facebook-page-contact-finder) | page with contact details |
| [Facebook Reels Scraper: Views & Captions Monitor for Any Page](https://apify.com/tenfoldfleet/facebook-reels-scraper) | reel |
| [Facebook Reels Transcript - Facebook Video to Text, No Login](https://apify.com/tenfoldfleet/facebook-reels-transcript) | reel transcript |
| [Foundit Jobs Monitor: India, Singapore & Malaysia Jobs Scraper](https://apify.com/tenfoldfleet/foundit-jobs-monitor) | job listing |
| [Funding Rounds Scraper - Recently Funded Companies & Investors](https://apify.com/tenfoldfleet/funding-rounds-scraper) | funding round |
| [Google Ads Transparency Center Scraper - Competitor Ads by Site](https://apify.com/tenfoldfleet/google-ads-transparency-scraper) | ad |
| [Google AI Overviews Checker - Citations & Domain Tracker](https://apify.com/tenfoldfleet/google-ai-overviews-checker) | keyword checked |
| [Flights API - Route & Date Fares (Google Flights Alternative)](https://apify.com/tenfoldfleet/google-flights-scraper) | route search |
| [Google Hotels Scraper - Nightly Prices, Stars & Booking Sites](https://apify.com/tenfoldfleet/google-hotels-scraper) | hotel |
| [Google for Jobs Scraper - Openings by City, Pay & Job Board](https://apify.com/tenfoldfleet/google-jobs-scraper) | job listing |
| [Google Keyword Planner Alternative - Ideas, Bids & Volume](https://apify.com/tenfoldfleet/google-keyword-planner) | keyword idea |
| [Google Maps Extractor - Business Leads, Phones & Websites](https://apify.com/tenfoldfleet/google-maps-extractor) | place |
| [Google News Scraper - Articles, Real URLs & Full Text](https://apify.com/tenfoldfleet/google-news-scraper) | article |
| [Google Travel Hotel Rate Tracker - OTA Prices for Every Night](https://apify.com/tenfoldfleet/google-travel-hotel-rate-tracker) | offer |
| [Search Trends by Region & Time - Google Trends Data Scraper](https://apify.com/tenfoldfleet/google-trends-scraper) | keyword |
| [Hirist Jobs Scraper: India Tech Jobs with New-Job Monitor](https://apify.com/tenfoldfleet/hirist-jobs-scraper) | job listing |
| [IIMJobs Jobs Scraper: Search & Monitor Management Roles](https://apify.com/tenfoldfleet/iimjobs-jobs-scraper) | job listing |
| [India Jobs Feed: Hirist, IIMJobs, Foundit, Instahyre & Cutshort](https://apify.com/tenfoldfleet/india-jobs-feed) | job listing |
| [Instagram Reels Analytics - Profile Reel Plays, Likes, Comments](https://apify.com/tenfoldfleet/instagram-reels-analytics) | reel |
| [Instagram Reels Search - Keyword to Top Reels, Plays & Creators](https://apify.com/tenfoldfleet/instagram-reels-search) | reel |
| [Instagram Reels Transcript - Speech to Text for Public Reels](https://apify.com/tenfoldfleet/instagram-reels-transcript) | reel transcript |
| [Instahyre Jobs Monitor: New Tech Jobs in India by Skill](https://apify.com/tenfoldfleet/instahyre-jobs-monitor) | job listing |
| [Keyword Ideas & Related Keywords - Difficulty, Volume & CPC](https://apify.com/tenfoldfleet/keyword-ideas) | keyword idea |
| [Keyword Search Volume, CPC & Difficulty Checker (Bulk)](https://apify.com/tenfoldfleet/keyword-search-volume) | keyword with data |
| [Likee Scraper - Creators by Country, Video Views & Likes](https://apify.com/tenfoldfleet/likee-scraper) | video |
| [LinkedIn Ads Library Scraper - Competitor Ad Copy & Targeting](https://apify.com/tenfoldfleet/linkedin-ad-library-scraper) | ad |
| [LinkedIn Company Posts Monitor: New Posts, No Login](https://apify.com/tenfoldfleet/linkedin-company-posts-monitor) | post |
| [LinkedIn Company Scraper: Firmographics & Recent Posts](https://apify.com/tenfoldfleet/linkedin-company-scraper) | company |
| [Naver Shopping Scraper - Keyword Rank, Prices, Ads & Malls](https://apify.com/tenfoldfleet/naver-shopping-scraper) | product |
| [Pinterest Search Scraper: Pins, Promoted Ads & Shop Trends](https://apify.com/tenfoldfleet/pinterest-search-scraper) | pin |
| [Podcast Transcription: Episodes to Text, SRT & Monitor](https://apify.com/tenfoldfleet/podcast-transcription) | audio minute transcribed |
| [Reddit Brand Monitoring - Keyword Alerts for Posts & Comments](https://apify.com/tenfoldfleet/reddit-brand-monitoring) | mention |
| [Reddit Post Comments Export: Threads to JSON & CSV](https://apify.com/tenfoldfleet/reddit-post-comments-export) | comment |
| [Remote Job Board Scraper - Remote Jobs Aggregator, 7 Sites](https://apify.com/tenfoldfleet/remote-jobs-aggregator) | unique remote job |
| [Reverse Image Search - Find Every Site Using a Photo](https://apify.com/tenfoldfleet/reverse-image-search) | image searched |
| [SEEK Jobs Scraper - Salaries & Hiring Across 8 APAC Job Boards](https://apify.com/tenfoldfleet/seek-job-scraper) | job listing |
| [Semrush API Domain Traffic: Visits, Authority Score, AI Traffic](https://apify.com/tenfoldfleet/semrush-api-domain-traffic) | domain |
| [SEO Agent - AI Keyword Research & Competitor Reports](https://apify.com/tenfoldfleet/seo-agent) | research report |
| [SEO Crawler - Technical SEO Audit Tool & On-Page Checker](https://apify.com/tenfoldfleet/seo-audit-tool) | page audit |
| [SEO Competitor Keywords - Domain Ranked Keywords & Keyword Gap](https://apify.com/tenfoldfleet/seo-competitor-keywords) | keyword |
| [Shopify Inventory Scraper - SKUs, Variants & In-Stock Status](https://apify.com/tenfoldfleet/shopify-products-scraper) | product |
| [Shopify App & Theme Detector - Store Analyzer & Contacts](https://apify.com/tenfoldfleet/shopify-store-analyzer) | shopify store |
| [Sitemap URL Extractor - All URLs from sitemap.xml & robots.txt](https://apify.com/tenfoldfleet/sitemap-url-extractor) | url |
| [Stock Photos & Videos Scraper for Pexels](https://apify.com/tenfoldfleet/stock-photos-scraper) | media item |
| [Website Built With Checker - Find Any Site's CMS & Tech Stack](https://apify.com/tenfoldfleet/tech-stack-detector) | website |
| [Telegram Keyword Search Monitor - New Mentions in Channels](https://apify.com/tenfoldfleet/telegram-keyword-search-monitor) | matching message |
| [Threads Search - Keyword & Profile Posts Scraper (No Login)](https://apify.com/tenfoldfleet/threads-search) | post |
| [TikTok Ads Library Scraper: Competitor Ads in Europe](https://apify.com/tenfoldfleet/tiktok-ads-library-scraper) | ad |
| [TikTok Transcripts - Captions or Speech to Text for Any Video](https://apify.com/tenfoldfleet/tiktok-transcripts) | video transcript |
| [Twitter Video Transcript - X Video to Text & SRT](https://apify.com/tenfoldfleet/twitter-video-transcript) | video transcript |
| [HTML to Text & URL to Markdown - LLM Ready Web Content](https://apify.com/tenfoldfleet/url-to-markdown) | page |
| [Video Transcriber - Any Link to Text, SRT & VTT (7 Platforms)](https://apify.com/tenfoldfleet/video-transcriber-any-url) | video transcribed |
| [Website Traffic Checker - Bulk Domain Traffic Estimate](https://apify.com/tenfoldfleet/website-traffic-checker) | domain with traffic data |
| [WeChat Official Account Articles - Keyword Search to Markdown](https://apify.com/tenfoldfleet/wechat-official-account-articles) | article found |
| [Weibo Scraper - Comment Threads, Hot Search Ranks & User Stats](https://apify.com/tenfoldfleet/weibo-scraper) | comment |
| [Woolworths Product Scraper - AU Shelf Prices, Specials & GTINs](https://apify.com/tenfoldfleet/woolworths-product-scraper) | product |
| [Workday Jobs Scraper - myworkdayjobs.com API with Salary](https://apify.com/tenfoldfleet/workday-jobs-scraper) | job posting |
| [Yahoo Finance Scraper - Quotes, History, Fundamentals & News](https://apify.com/tenfoldfleet/yahoo-finance-scraper) | ticker row |
| [YouTube Channel Email Scraper - Creator Contact Extractor](https://apify.com/tenfoldfleet/youtube-channel-email-scraper) | channel with email |
| [YouTube Livestream & Channel Scraper - Videos, Likes & Stats](https://apify.com/tenfoldfleet/youtube-channel-scraper) | video |
| [YouTube Comments Scraper - Replies, Likes & Sort by Newest](https://apify.com/tenfoldfleet/youtube-comments-scraper) | comment |
| [YouTube Search Scraper: Keyword Video & Shorts Monitor](https://apify.com/tenfoldfleet/youtube-search-scraper) | search result |
| [YouTube Shorts Analytics Scraper - Views, Likes & Hashtags](https://apify.com/tenfoldfleet/youtube-shorts-scraper) | short |
| [YouTube Captions Downloader - Transcript & Subtitles Scraper](https://apify.com/tenfoldfleet/youtube-transcript-scraper) | transcript |
| [YouTube Video Details Lookup: Views, Likes & Tags by URL](https://apify.com/tenfoldfleet/youtube-video-details-lookup) | video details |

# Actor input Schema

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

Keywords to search on Bilibili, in Chinese or English, e.g. 原神 or minecraft. Each keyword returns up to "Max videos per search or creator" videos with views, likes, danmaku and comment counts.

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

Bilibili video links (https://www.bilibili.com/video/BV...), b23.tv short links, BV ids (BV17x411w7KC) or av ids (av170001). Choose below what to get for each video: details, comments and/or danmaku. Add ?p=2 to a URL to get the danmaku of another part of a multi-part video.

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

Creator UIDs (mid), e.g. 401742377, or links like https://space.bilibili.com/401742377. Returns the creator's videos, newest first. Creator profiles and follower lists are not scraped.

## `scrapeVideoDetails` (type: `boolean`):

For each video URL: title, description, views, likes, coins, favorites, shares, danmaku and comment counts, duration, parts and uploader.

## `scrapeComments` (type: `boolean`):

For each video URL: top-level comments with text, likes, reply count, author name, author level, IP region and date.

## `scrapeDanmaku` (type: `boolean`):

For each video URL: the danmaku (弹幕) shown over the video, with text, video time, mode, color and send time. Billed per danmaku at a lower price.

## `maxResults` (type: `integer`):

Maximum videos per search keyword or creator. Search returns at most about 1,000 videos per keyword.

## `maxComments` (type: `integer`):

Maximum top-level comments per video (when Comments is on).

## `sortOrder` (type: `string`):

How to sort search results (Search mode).

## `durationFilter` (type: `string`):

Only videos of this length (search only).

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

Most liked (hot) or newest first.

## `maxDanmakuPerVideo` (type: `integer`):

Maximum danmaku per video (when Danmaku is on), in video-time order. Bilibili serves up to a few thousand of the most recent danmaku per video.

## `maxConcurrency` (type: `integer`):

How many inputs to process in parallel. Keep it low: Bilibili rate-limits fast clients.

## `proxyConfiguration` (type: `object`):

Optional. Leave empty for automatic proxies (direct first, then Apify datacenter, then residential when Bilibili blocks a request).

## Actor input object example

```json
{
  "searchQueries": [
    "原神",
    "minecraft"
  ],
  "scrapeVideoDetails": true,
  "scrapeComments": false,
  "scrapeDanmaku": false,
  "maxResults": 20,
  "maxComments": 100,
  "sortOrder": "totalrank",
  "durationFilter": "0",
  "commentSort": "hot",
  "maxDanmakuPerVideo": 2000,
  "maxConcurrency": 3
}
```

# Actor output Schema

## `results` (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 = {
    "searchQueries": [
        "原神",
        "minecraft"
    ],
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("tenfoldfleet/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": [
        "原神",
        "minecraft",
    ],
    "maxResults": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("tenfoldfleet/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": [
    "原神",
    "minecraft"
  ],
  "maxResults": 20
}' |
apify call tenfoldfleet/bilibili-scraper --silent --output-dataset

```

## MCP server setup

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