# B站评论导出 API | Bilibili comments export

**Use case:** 

B站评论导出 / Bilibili comments with SocialDataX. 通过内容链接导出一级评论、评论用户、点赞数、回复数、时间和分页信息。

## Input

```json
{
  "operation": "get_content_comments",
  "keyword": "露营",
  "sort_type": "hot",
  "category": "all",
  "publish_time_range": "all",
  "duration_range": "all",
  "url": "https://www.bilibili.com/video/BV1VCVS6PEAd",
  "page_token": "***",
  "max_items": 20,
  "auto_paginate": true
}
```

## Output

```json
{
  "operation": {
    "label": "Operation",
    "format": "string"
  },
  "item_index": {
    "label": "Item index",
    "format": "integer"
  },
  "query_url": {
    "label": "Query content URL",
    "format": "string"
  },
  "query_content_id": {
    "label": "Query content ID",
    "format": "string"
  },
  "comment_object_id": {
    "label": "Comment object ID",
    "format": "string"
  },
  "comment_object_type": {
    "label": "Comment object type",
    "format": "integer"
  },
  "comment_id": {
    "label": "Comment ID",
    "format": "string"
  },
  "content": {
    "label": "Content",
    "format": "string"
  },
  "author_user_id": {
    "label": "Author user ID",
    "format": "string"
  },
  "author_name": {
    "label": "Author name",
    "format": "string"
  },
  "like_count": {
    "label": "Like count",
    "format": "integer"
  },
  "reply_count": {
    "label": "Reply count",
    "format": "integer"
  },
  "publish_time": {
    "label": "Publish time",
    "format": "integer"
  },
  "ip_location": {
    "label": "IP location",
    "format": "string"
  },
  "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.