Bilibili: Videos, Comments, Danmaku & Creators (B站)

Registre officiel Recherche et web

Bilibili (B站) data without login: video stats, comments, danmaku, creators, trending, hot searches.

Que pouvez-vous faire avec Bilibili: Videos, Comments, Danmaku & Creators (B站) ?

  • Video and creator research for marketing in China
  • Tracking how a product is reviewed on Bilibili
  • Danmaku and comment data for sentiment analysis

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

Remote (streamable-http)
Claude Code
claude mcp add --transport http bilibili-videos-comments-danmaku-creator 'https://mcp.apify.com/?tools=serenido/bilibili-scraper'
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "bilibili-videos-comments-danmaku-creator": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=serenido/bilibili-scraper"
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. Bilibili Scraper API
  2. What you get
  3. Quick start: Python
  4. Quick start: JavaScript (Node.js)
  5. Quick start: one HTTP call
  6. Use it from AI apps (MCP)
  7. Input example
  8. Output example (one row)
  9. Use cases
  10. More tools by Serenido
  11. Support

Bilibili Scraper API

Get Bilibili videos, comments, danmaku (bullet comments), creators and trending lists as clean JSON. No login.

Runs in the cloud on Apify. No servers, no proxy setup, no code to maintain. Open it on Apify

Price: $1 per 1,000 rows. No monthly fee. Apify's free plan gives $5 of usage every month, no credit card needed. Current price.

What you get

  • Search videos by keyword: views, likes, coins, favorites, shares, danmaku count, tags and author followers
  • Top comments with their reply threads, and danmaku (bullet comments with the second they appear)
  • Creator profiles
  • Trending lists: popular, rankings by category, hot searches

Quick start: Python

pip install -U apify-client
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run = client.actor("serenido/bilibili-scraper").call(run_input={
    "mode": "search",
    "keywords": [
        "iPhone 17"
    ],
    "sort": "views",
    "maxResults": 50
})

for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

Quick start: JavaScript (Node.js)

npm install apify-client
import { ApifyClient } from "apify-client";

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });

const run = await client.actor("serenido/bilibili-scraper").call({
    "mode": "search",
    "keywords": [
        "iPhone 17"
    ],
    "sort": "views",
    "maxResults": 50
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Quick start: one HTTP call

Runs the tool and returns the rows in one request. Good for runs under 5 minutes; for bigger runs use the Python or JavaScript example.

curl -X POST "https://api.apify.com/v2/acts/serenido~bilibili-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode": "search", "keywords": ["iPhone 17"], "sort": "views", "maxResults": 50}'

Get your token in Apify Console > Settings > API & Integrations.

Use it from AI apps (MCP)

Any app that supports remote MCP servers (Claude, ChatGPT, Cursor, VS Code and others) can run this tool for you. Add this server URL: https://mcp.apify.com?tools=serenido/bilibili-scraper. Your Apify account connects on first use. Example config for Cursor:

{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?tools=serenido/bilibili-scraper"
    }
  }
}

Input example

{
  "mode": "search",
  "keywords": [
    "iPhone 17"
  ],
  "sort": "views",
  "maxResults": 50
}

Other modes: videos, comments, danmaku, creators, trending. All options are listed on the input page.

Output example (one row)

{
  "type": "video",
  "searchKeyword": "iPhone 17",
  "rank": 1,
  "bvid": "BV12Kpxz9Eyb",
  "url": "https://www.bilibili.com/video/BV12Kpxz9Eyb",
  "title": "「小白」iPhone17全面测评:你想看的都在这了!",
  "author": "小白测评",
  "authorFollowers": 4729409,
  "category": "数码",
  "duration": "19:48",
  "publishedAt": "2025-09-17T12:00:00Z",
  "views": 2104350,
  "likes": 53238,
  "coins": 27040,
  "favorites": 11874,
  "shares": 8155,
  "danmakuCount": 12122,
  "commentCount": 5843
}

Download as JSON, CSV or Excel, or connect to Make, Zapier or n8n.

Use cases

  • Video and creator research for marketing in China
  • Tracking how a product is reviewed on Bilibili
  • Danmaku and comment data for sentiment analysis

More tools by Serenido

Support

Found a bug or need a field? Open an issue here or on the Issues tab on Apify.

Use it only for public data and follow the website's terms and the laws that apply to you. This project is not affiliated with the websites it reads.

Questions fréquentes

Qu'est-ce que Bilibili: Videos, Comments, Danmaku & Creators (B站) ?

Bilibili (B站) data without login: video stats, comments, danmaku, creators, trending, hot searches.

Comment installer Bilibili: Videos, Comments, Danmaku & Creators (B站) ?

Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http bilibili-videos-comments-danmaku-creator 'https://mcp.apify.com/?tools=serenido/bilibili-scraper'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour Bilibili: Videos, Comments, Danmaku & Creators (B站) ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

Bilibili: Videos, Comments, Danmaku & Creators (B站) est-il open source ?

Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.

Qui maintient Bilibili: Videos, Comments, Danmaku & Creators (B站) ?

Il est publié par serenido. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.