# Bilibili trending videos right now

**Use case:** 

The top 100 of Bilibili's popular board (综合热门) with views, likes, coins, favorites, shares, comments, engagement rate and views per hour. Schedule it hourly: from the second run each video gets its rank move and views gained.

## Input

```json
{
  "mode": "popular",
  "rankingCategories": [
    "all"
  ],
  "weeklyIssues": [
    "latest"
  ],
  "searchQueries": [
    "原神"
  ],
  "searchType": "videos",
  "sortBy": "relevance",
  "durationFilter": "any",
  "searchCategory": "all",
  "videos": [
    "BV1Gtap6NEPB"
  ],
  "creators": [
    "946974"
  ],
  "commentsSort": "hot",
  "maxCommentsPerVideo": 100,
  "includeReplies": false,
  "maxRepliesPerComment": 5,
  "maxDanmakuPerVideo": 1000,
  "creatorVideos": 0,
  "includeDetails": false,
  "minViews": 0,
  "trackHistory": true,
  "onlyNew": false,
  "trackDays": 0,
  "historyResolution": "daily",
  "maxItems": 100
}
```

## Output

```json
{
  "board": {
    "label": "Board",
    "format": "text"
  },
  "position": {
    "label": "Position",
    "format": "number"
  },
  "positionChange": {
    "label": "Position change",
    "format": "number"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "url": {
    "label": "Video",
    "format": "link"
  },
  "authorName": {
    "label": "Creator",
    "format": "text"
  },
  "views": {
    "label": "Views",
    "format": "number"
  },
  "viewsGained": {
    "label": "Views gained",
    "format": "number"
  },
  "likes": {
    "label": "Likes",
    "format": "number"
  },
  "coins": {
    "label": "Coins",
    "format": "number"
  },
  "favorites": {
    "label": "Favorites",
    "format": "number"
  },
  "shares": {
    "label": "Shares",
    "format": "number"
  },
  "danmaku": {
    "label": "Danmaku",
    "format": "number"
  },
  "comments": {
    "label": "Comments",
    "format": "number"
  },
  "engagementRatePct": {
    "label": "Engagement %",
    "format": "number"
  },
  "publishedAt": {
    "label": "Published",
    "format": "date"
  },
  "duration": {
    "label": "Length",
    "format": "text"
  },
  "mainCategoryEn": {
    "label": "Category",
    "format": "text"
  },
  "category": {
    "label": "Sub-category",
    "format": "text"
  },
  "timesSeen": {
    "label": "Runs seen",
    "format": "number"
  },
  "firstSeenAt": {
    "label": "First seen",
    "format": "date"
  },
  "hoursOnPopular": {
    "label": "Hours on popular",
    "format": "number"
  },
  "recommendReason": {
    "label": "Why featured",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Bilibili Scraper - Trending, Search, Comments & Trend History](https://apify.com/crawlplant/bilibili-trending-history.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/crawlplant/bilibili-trending-history.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/crawlplant/bilibili-trending-history.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`).
