# Bilibili Video Search

**Use case:** 

Search Bilibili videos and export titles, creators, BV IDs, view and engagement counts, duration, publish dates, covers and URLs to CSV or JSON.

## Input

```json
{
  "operation": "searchVideo",
  "bvid": "BV1rpWjevEip",
  "aid": "113006243481679",
  "cid": "36010133667",
  "userId": "3546597933714079",
  "keyword": "python",
  "maxPages": 1
}
```

## Output

```json
{
  "_operation": {
    "label": "🎯 Operation",
    "format": "string"
  },
  "_sourceKeyword": {
    "label": "🔍 Source Keyword",
    "format": "string"
  },
  "videoTitle": {
    "label": "Video Title",
    "format": "string"
  },
  "videoDesc": {
    "label": "Video Desc",
    "format": "string"
  },
  "author": {
    "label": "Author",
    "format": "string"
  },
  "bvid": {
    "label": "Bvid",
    "format": "string"
  },
  "aid": {
    "label": "Aid",
    "format": "string"
  },
  "userId": {
    "label": "User Id",
    "format": "string"
  },
  "userName": {
    "label": "User Name",
    "format": "string"
  },
  "videoPageUrl": {
    "label": "Video Page Url",
    "format": "string"
  },
  "userPageUrl": {
    "label": "User Page Url",
    "format": "string"
  },
  "coverUrl": {
    "label": "Cover Url",
    "format": "string"
  },
  "playCount": {
    "label": "Play Count",
    "format": "integer"
  },
  "likeCount": {
    "label": "Like Count",
    "format": "integer"
  },
  "favoriteCount": {
    "label": "Favorite Count",
    "format": "integer"
  },
  "commentCount": {
    "label": "Comment Count",
    "format": "integer"
  },
  "danmuCount": {
    "label": "Danmu Count",
    "format": "integer"
  },
  "durationStr": {
    "label": "Duration Str",
    "format": "string"
  },
  "publishedAt": {
    "label": "Published At",
    "format": "integer"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "description": {
    "label": "Description",
    "format": "string"
  },
  "subtitle": {
    "label": "Subtitle",
    "format": "string"
  },
  "status": {
    "label": "✅ Status",
    "format": "string"
  },
  "_fetchedAt": {
    "label": "⏰ Fetched At",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Bilibili Scraper — Video, UP主, Comments & Search](https://apify.com/sian.agency/bilibili-video-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sian.agency/bilibili-video-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/sian.agency/bilibili-video-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`).
