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

# TikTok 创意中心热门话题

> 获取某个国家或地区在 TikTok 上的趋势话题榜。

# TikTok 创意中心热门话题

看某个国家或地区有哪些话题正在往上走。榜单给出每个话题的名次、发帖数、播放量，以及统计周期内逐日的热度曲线，覆盖 US、GB、JP 等市场。看中哪个话题，直接把它交给 TikTok 创意中心话题洞察接口深挖。

```json theme={"dark"}
{
  "country": "US",
  "time_range": "7d",
  "results_limit": 20
}
```

所有字段都可省略。country（默认 US）和 time\_range（默认 7d，可选 30d 或 90d）决定读取哪个榜单。results\_limit 默认 20，允许 1–100。

## 标准结果字段

任务结果使用下方稳定的 SocQ 字段。系统会统一来源特有的字段名和格式，但不会推断或补充来源未提供的数据。如需缩小返回字段集合，MCP 查询使用 `fields`，Typed 工具使用 `_result_fields`，CLI 使用 `--result-fields`。声明字段的值为 `null` 时仍会保留。

| 字段 | 类型 | 可空 | 说明 |
| - | - | - | - |
| `id` | `string` | 是 | 话题 ID，可直接用于 Trending Hashtag Detail 接口。 |
| `platform` | `string` | 否 | 结果所属的平台，例如 `instagram` 或 `linkedin`。 |
| `resource` | `string` | 否 | 该结果对应的 SocQ 资源，例如 `videos` 或 `comments`。 |
| `type` | `string` | 否 | 结果项的类别，例如 `video`、`post` 或 `comment`。 |
| `url` | `string` | 是 | 结果项的公开访问地址（如可获得）。 |
| `published_at` | `string` | 是 | 源内容的发布时间（如可获得），使用 ISO 8601 格式。 |
| `collected_at` | `string` | 否 | SocQ 采集或处理该结果的时间，使用 ISO 8601 格式。 |
| `name` | `string` | 是 | 不带 # 前缀的话题名称。 |
| `rank` | `integer` | 是 | 话题在趋势榜中的名次。 |
| `region` | `string` | 是 | 榜单所覆盖的国家或地区代码。 |
| `metrics` | `object` | 是 | 结果项可获得的计数和度量数据。 |
| `metrics.posts_count` | `integer` | 是 | 帖子数量，或与趋势关联的帖子数量。 |
| `metrics.views_count` | `integer` | 是 | 平台报告的观看数量。 |
| `popularity_curve` | `array<object>` | 是 | 统计周期内话题每天的热度，范围 0 到 100。 |
| `popularity_curve.date` | `string` | 是 | 数据点的日期，格式为 YYYY-MM-DD。 |
| `popularity_curve.value` | `number` | 是 | 曲线上该点的数值。 |
| `top_countries` | `array<object>` | 是 | 相对人口规模而言该话题最受欢迎的国家或地区，按分值从高到低排列。 |
| `top_countries.country_code` | `string` | 是 | 两位字母的国家或地区代码。 |
| `top_countries.score` | `number` | 是 | 该条目对应的分值。 |
| `video_ids` | `array<string>` | 是 | 使用该话题的示例视频 ID。 |

以下示例展示任务完成后的响应格式，具体数据以实际查询结果为准。

## 任务完成响应

```json theme={"dark"}
{
  "code": 200,
  "data": {
    "task_id": "example-tiktok-creative-center-trending-hashtags",
    "status": "succeeded",
    "public_id": "tiktok-creative-center/trending-hashtags",
    "result_count": 1,
    "credits_amount": 0.5,
    "results": {
      "limit": 50,
      "next_cursor": null,
      "has_more": false,
      "schema_id": "hashtag-insight",
      "schema_version": "1.0",
      "items": [
        {
          "id": "7155204034885287979",
          "platform": "tiktok-creative-center",
          "resource": "trending-hashtags",
          "type": "hashtag",
          "url": "https://www.tiktok.com/tag/piratetoken",
          "published_at": null,
          "collected_at": "2026-11-10T09:00:00Z",
          "name": "piratetoken",
          "rank": 1,
          "region": "US",
          "metrics": {
            "posts_count": 33706,
            "views_count": 265103331
          },
          "popularity_curve": [
            {
              "date": "2026-11-02",
              "value": 0.0
            },
            {
              "date": "2026-11-03",
              "value": 41.7853
            },
            {
              "date": "2026-11-04",
              "value": 54.223
            },
            {
              "date": "2026-11-05",
              "value": 63.4335
            },
            {
              "date": "2026-11-06",
              "value": 67.9141
            }
          ],
          "top_countries": null,
          "video_ids": null
        }
      ]
    }
  }
}
```


## OpenAPI

````yaml zh/api-manual/agent-api/agent-api.json POST /v1/tiktok-creative-center/trending-hashtags
openapi: 3.1.0
info:
  title: SocQ Agent API 中文版
  version: v1-1fa58609f514
  description: 根据 SocQ 能力目录生成的异步社交数据 API。
servers:
  - url: https://api.socq.ai
security: []
paths:
  /v1/tiktok-creative-center/trending-hashtags:
    post:
      tags:
        - tiktok-creative-center
      summary: TikTok 创意中心热门话题
      description: 获取某个国家或地区在 TikTok 上的趋势话题榜。
      operationId: socq_tiktok_creative_center_trending_hashtags
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              additionalProperties: false
              properties:
                callback_url:
                  type: string
                  format: uri
                  description: 可选的任务完成回调 URL。
                country:
                  type: string
                  minLength: 1
                  pattern: ^[A-Za-z]{2}$
                  default: US
                  description: 市场的两位国家或地区代码，例如 US、GB 或 JP。
                results_limit:
                  type: integer
                  minimum: 1
                  maximum: 100
                  default: 20
                  description: 最多保存的结果数，实际结果可能少于该值。
                time_range:
                  type: string
                  minLength: 1
                  enum:
                    - 30d
                    - 7d
                    - 90d
                  default: 7d
                  description: 榜单覆盖的时间范围：7d、30d 或 90d。
              required: []
              description: >-
                所有字段都可省略。country（默认 US）和 time_range（默认 7d，可选 30d 或
                90d）决定读取哪个榜单。results_limit 默认 20，允许 1–100。
      responses:
        '200':
          description: 任务已受理
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentSubmitResponse'
        '422':
          description: Input validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentValidationErrorResponse'
      security:
        - bearerAuth: []
        - apiKeyAuth: []
components:
  schemas:
    AgentSubmitResponse:
      type: object
      properties:
        code:
          type: integer
          const: 200
          description: HTTP 业务状态码。
        data:
          type: object
          properties:
            task_id:
              type: string
              description: 任务 ID，用于查询任务状态和结果。
            status:
              type: string
              description: 任务当前状态。
            created_time:
              type:
                - string
                - 'null'
              description: 任务创建时间。
          required:
            - task_id
            - status
    AgentValidationErrorResponse:
      type: object
      properties:
        code:
          type: integer
          const: 422
        error:
          type: object
          properties:
            message:
              type: string
            type:
              type: string
            details:
              type: object
          required:
            - message
            - type
      required:
        - code
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: '使用 `Authorization: Bearer <token>` 请求头进行身份验证。'
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: 也可以通过 `x-api-key` 请求头提供 API Key。

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.