> ## 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 趋势动态

```json theme={"system"}
{"region": "US", "results_limit": 20}
```

## 与 MCP 一起使用

| 接口          | 值                                                   |
| ----------- | --------------------------------------------------- |
| REST        | `POST /v1/tiktok/trending-feed`                     |
| Compact MCP | `socq_execute` 与 `endpoint: "tiktok/trending-feed"` |
| Typed MCP   | `socq_tiktok_trending_feed`                         |
| CLI         | `socq tiktok trending-feed`                         |

`region` 是两个字母的区域代码，用于本地化 Feed 可用性。
`results_limit` 默认为 100，接受 4 到 2,000 之间的值。


## OpenAPI

````yaml api-manual/agent-api/agent-api.json POST /v1/tiktok/trending-feed
openapi: 3.1.0
info:
  title: SocQ Agent API
  version: v1-57489840196e
  description: Asynchronous social data API generated from the SocQ Capability Registry.
servers:
  - url: https://api.socq.ai
security: []
paths:
  /v1/tiktok/trending-feed:
    post:
      tags:
        - tiktok
      summary: TikTok Trending Feed API
      description: Collect trending TikTok videos for a region.
      operationId: socq_tiktok_trending_feed
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              additionalProperties: false
              properties:
                region:
                  type: string
                  minLength: 1
                results_limit:
                  type: integer
                  minimum: 4
                  maximum: 2000
              required:
                - region
      responses:
        '200':
          description: Task accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentSubmitResponse'
      security:
        - bearerAuth: []
        - apiKeyAuth: []
components:
  schemas:
    AgentSubmitResponse:
      type: object
      properties:
        code:
          type: integer
          const: 200
        data:
          type: object
          properties:
            task_id:
              type: string
            status:
              type: string
            created_time:
              type:
                - string
                - 'null'
            idempotent_replay:
              type: boolean
          required:
            - task_id
            - status
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````