> ## Documentation Index
> Fetch the complete documentation index at: https://docs.brightdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 快速收集个人资料帖子 API

## 查询参数

<ParamField query="dataset_id" type="string" default="gd_m7n5v2gq296pex2f5m" required>
  用于此请求的数据集 ID。

  <Warning>
    必须设置为 `gd_m7n5v2gq296pex2f5m` 以收集**按个人资料快速 API 发布的帖子**数据。
  </Warning>
</ParamField>

<ParamField query="notify" type="boolean" default={false}>
  请求完成时是否发送通知。
</ParamField>

<ParamField query="include_errors" type="boolean" default={true}>
  是否在响应中包含错误。
</ParamField>

## 请求体

<ParamField body="input" type="object[]" required>
  输入对象数组。

  <Expandable title="properties">
    <ParamField body="url" type="string" required>
      要从中收集帖子的 TikTok 个人资料的 URL。
    </ParamField>

    <ParamField body="num_of_posts" type="number">
      要收集的最近帖子数量。缺失值表示没有限制。
    </ParamField>

    <ParamField body="start_date" type="string">
      开始日期过滤条件，格式为 `MM-DD-YYYY`（应早于 `end_date`）。
    </ParamField>

    <ParamField body="end_date" type="string">
      结束日期过滤条件，格式为 `MM-DD-YYYY`（应晚于 `start_date`）。
    </ParamField>
  </Expandable>

  #### 示例

  ```json wrap theme={null}
  {
    "input": [
      {
        "url": "https://www.tiktok.com/@mrbeast",
        "num_of_posts": 20,
        "start_date": "01-01-2025",
        "end_date": "03-01-2025"
      }
    ]
  }
  ```
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  [
    {
      "post_id": "7553300000000000000",
      "description": "New challenge video is here #challenge #viral",
      "create_time": "2025-02-01T10:00:00.000Z",
      "share_count": 95000,
      "collect_count": 28000,
      "comment_count": 18000,
      "play_count": 42000000,
      "video_duration": 90,
      "hashtags": [
        "#challenge",
        "#viral"
      ],
      "video_url": "https://v16-webapp-prime.tiktok.com/video/example.mp4",
      "profile_username": "examplecreator",
      "profile_url": "https://www.tiktok.com/@examplecreator",
      "is_verified": true
    }
  ]
  ```
</ResponseExample>
