# 抖音评论导出 API | Douyin comments

**Use case:** 

抖音评论导出 API，导出单条抖音作品的一级评论、用户信息、互动数据和分页信息，支持 CSV、Excel、JSON 和 Apify Dataset。Douyin comments export by SocialDataX.

## Input

```json
{
  "operation": "get_video_comments",
  "keyword": "露营",
  "sort_type": "general",
  "publish_time_range": "all",
  "duration_range": "all",
  "content_type": "all",
  "url": "https://www.douyin.com/video/7648208200076573925",
  "max_items": 20,
  "auto_paginate": true
}
```

## Output

```json
{
  "operation": {
    "label": "Operation",
    "format": "string"
  },
  "item_index": {
    "label": "Item index",
    "format": "integer"
  },
  "query_url": {
    "label": "Query video URL",
    "format": "string"
  },
  "query_aweme_id": {
    "label": "Query aweme ID",
    "format": "string"
  },
  "aweme_id": {
    "label": "Aweme ID",
    "format": "string"
  },
  "comment_id": {
    "label": "Comment ID",
    "format": "string"
  },
  "content": {
    "label": "Content",
    "format": "string"
  },
  "author_sec_user_id": {
    "label": "Author sec 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"
  },
  "create_time": {
    "label": "Create time",
    "format": "integer"
  },
  "page_request_index": {
    "label": "Page request index",
    "format": "integer"
  },
  "page_item_count": {
    "label": "Page item count",
    "format": "integer"
  },
  "page_has_more": {
    "label": "Has more",
    "format": "boolean"
  }
}
```

## About this Actor

This example demonstrates how to use [抖音 / Douyin API - 热榜、搜索、评论、博主数据](https://apify.com/socialdatax/socialdatax-douyin-data-api) with a specific input configuration. Visit the [Actor detail page](https://apify.com/socialdatax/socialdatax-douyin-data-api) to learn more, explore other use cases, and run it yourself.