# B站视频搜索 API | 哔哩哔哩搜索 | Bilibili video search

**Use case:** 

B站视频搜索 / Bilibili video search with SocialDataX. 按关键词导出视频标题、作者、播放量、弹幕、评论数和分页信息，支持 CSV、Excel、API。

## Input

```json
{
  "operation": "search_videos",
  "keyword": "露营",
  "category": "all",
  "publish_time_range": "all",
  "duration_range": "all",
  "page_token": "***",
  "max_items": 20,
  "auto_paginate": true
}
```

## Output

```json
{
  "operation": {
    "label": "Operation",
    "format": "string"
  },
  "item_index": {
    "label": "Item index",
    "format": "integer"
  },
  "query_keyword": {
    "label": "Query keyword",
    "format": "string"
  },
  "bvid": {
    "label": "BV ID",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "author_name": {
    "label": "Author name",
    "format": "string"
  },
  "cover_image_url": {
    "label": "Cover image URL",
    "format": "string"
  },
  "duration_seconds": {
    "label": "Duration seconds",
    "format": "integer"
  },
  "view_count": {
    "label": "View count",
    "format": "integer"
  },
  "danmaku_count": {
    "label": "Danmaku count",
    "format": "integer"
  },
  "like_count": {
    "label": "Like count",
    "format": "integer"
  },
  "comment_count": {
    "label": "Comment count",
    "format": "integer"
  },
  "publish_time": {
    "label": "Publish time",
    "format": "integer"
  },
  "page_request_index": {
    "label": "Page request index",
    "format": "integer"
  },
  "page_has_more": {
    "label": "Page has more",
    "format": "boolean"
  }
}
```

## About this Actor

This example demonstrates how to use [B站 / Bilibili API - 视频搜索、Bilibili comments、专栏、用户数据](https://apify.com/socialdatax/socialdatax-bilibili-data-api) with a specific input configuration. Visit the [Actor detail page](https://apify.com/socialdatax/socialdatax-bilibili-data-api) to learn more, explore other use cases, and run it yourself.