# Read the top Bilibili comments on videos about a topic

**Use case:** 

The top comments and their first replies on 20 Bilibili phone-review videos (手机评测), with likes and dates. About $0.25 at the base price.

## Input

```json
{
  "searchQueries": [
    "手机评测"
  ],
  "maxVideosPerQuery": 20,
  "maxVideosPerCreator": 100,
  "includeTags": true,
  "includeComments": true,
  "includeReplies": true,
  "includeDanmaku": false,
  "maxDanmakuPerVideo": 1000,
  "danmakuAllParts": false,
  "includeRelated": false,
  "parallelConnections": 8,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "text"
  },
  "url": {
    "label": "Link",
    "format": "link"
  },
  "creatorName": {
    "label": "Creator (UP主)",
    "format": "text"
  },
  "publishedAt": {
    "label": "Published (UTC)",
    "format": "date"
  },
  "views": {
    "label": "Views (播放)",
    "format": "number"
  },
  "likes": {
    "label": "Likes (点赞)",
    "format": "number"
  },
  "coins": {
    "label": "Coins (投币)",
    "format": "number"
  },
  "favorites": {
    "label": "Favorites (收藏)",
    "format": "number"
  },
  "shares": {
    "label": "Shares (分享)",
    "format": "number"
  },
  "comments": {
    "label": "Comments (评论)",
    "format": "number"
  },
  "danmakuCount": {
    "label": "Danmaku (弹幕)",
    "format": "number"
  },
  "durationSeconds": {
    "label": "Length (s)",
    "format": "number"
  },
  "category": {
    "label": "Category (分区)",
    "format": "text"
  },
  "tags": {
    "label": "Tags",
    "format": "array"
  },
  "searchQuery": {
    "label": "Search term",
    "format": "text"
  },
  "searchRank": {
    "label": "Search rank",
    "format": "number"
  },
  "videoId": {
    "label": "Video id (BV)",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Bilibili Scraper: Videos, Danmaku & Comments](https://apify.com/cleanscrape/bilibili-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/cleanscrape/bilibili-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/cleanscrape/bilibili-scraper.md

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`).
