# Douyin-App/抖音APP - 获取用户粉丝列表

所属目录：Douyin-App/抖音APP

文档地址：https://doc.getoneapi.com/393480413e0

`POST https://api.getoneapi.com/api/douyin-app/fetch_user_fans_list`

## 鉴权

在请求头中传递 Authorization: Bearer YOUR_API_KEY（必填）

## 请求参数

### Header 参数

| 字段 | 类型 | 必填 | 说明 |
| --- | --- | --- | --- |
| Authorization | string | 是 | 在 Header 添加参数 Authorization，其值为在 Bearer 之后拼接 apikey<br><br>默认值： Bearer YOUR_API_KEY |
| Content-Type | string | 是 | 默认值： application/json |

### Body 参数 · application/json

| 字段 | 类型 | 必填 | 说明 |
| --- | --- | --- | --- |
| sec_user_id | string | 是 | 用户sec_user_id（与share_text必填一项），优先使用sec_user_id |
| share_text | string | 是 | 用户分享链接（与sec_user_id必填一项） |
| count | number | 是 | 每页返回的数量，不要超过20<br><br>默认值： 20 |
| max_time | number | 是 | 翻页参数<br>当前页返回内容的max_time值，第一页0<br><br>默认值： 0 |

#### JSON Schema

```json
{
  "type" : "object",
  "properties" : {
    "sec_user_id" : {
      "type" : "string",
      "description" : "用户sec_user_id（与share_text必填一项），优先使用sec_user_id"
    },
    "share_text" : {
      "type" : "string",
      "description" : "用户分享链接（与sec_user_id必填一项）"
    },
    "count" : {
      "type" : "number",
      "description" : "每页返回的数量，不要超过20",
      "default" : 20
    },
    "max_time" : {
      "type" : "number",
      "title" : "翻页参数",
      "description" : "当前页返回内容的max_time值，第一页0",
      "default" : 0
    }
  },
  "required" : [ "sec_user_id", "count", "max_time", "share_text" ]
}
```

#### 示例

```json
{
  "sec_user_id" : "",
  "share_text" : "",
  "count" : 20,
  "max_time" : 0
}
```

## 返回响应

### 响应 200 · application/json

| 字段 | 类型 | 必填 | 说明 |
| --- | --- | --- | --- |
| code | integer | 是 |  |
| message | string | 是 |  |
| data | object | 是 |  |

#### JSON Schema

```json
{
  "type" : "object",
  "properties" : {
    "code" : {
      "type" : "integer"
    },
    "message" : {
      "type" : "string"
    },
    "data" : {
      "type" : "object",
      "properties" : { }
    }
  },
  "required" : [ "code", "message", "data" ]
}
```

## 请求示例代码

```sh
curl --globoff --request POST 'https://api.getoneapi.com/api/douyin-app/fetch_user_fans_list' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "sec_user_id" : "",
  "share_text" : "",
  "count" : 20,
  "max_time" : 0
}'
```

