> ## 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 Creative Center Trending Hashtags

> Collect the hashtags trending on TikTok in a country.

# TikTok Creative Center Trending Hashtags

See which hashtags are climbing in a given country. The ranking gives each hashtag's position, post count, views and a daily popularity curve for the period, across markets such as US, GB and JP. Any tag worth a closer look can go straight into TikTok Creative Center Hashtag Insights.

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

All fields are optional. country (default US) and time\_range (7d by default, or 30d or 90d) choose the ranking. results\_limit defaults to 20 and accepts 1 to 100.

## Standard Result Fields

Task results use the stable SocQ fields below. Source-specific field names and formats are normalized without inferring or enriching values that the source did not provide. To request a smaller field set, use `fields` for MCP queries, `_result_fields` for typed tools, or `--result-fields` in the CLI. Declared fields remain present when their value is `null`.

| Field | Type | Nullable | Description |
| - | - | - | - |
| `id` | `string` | Yes | Hashtag ID, accepted by Trending Hashtag Detail. |
| `platform` | `string` | No | Platform the result belongs to, such as `instagram` or `linkedin`. |
| `resource` | `string` | No | SocQ resource represented by the result, such as `videos` or `comments`. |
| `type` | `string` | No | Category of the result item, such as `video`, `post`, or `comment`. |
| `url` | `string` | Yes | Public URL of the result item when available. |
| `published_at` | `string` | Yes | Time the source item was published, in ISO 8601 format when available. |
| `collected_at` | `string` | No | Time SocQ collected or processed this result, in ISO 8601 format. |
| `name` | `string` | Yes | Hashtag name without the # prefix. |
| `rank` | `integer` | Yes | Position of the hashtag in the trending ranking. |
| `region` | `string` | Yes | Country or region code the ranking covers. |
| `metrics` | `object` | Yes | Counters and measurements available for the result item. |
| `metrics.posts_count` | `integer` | Yes | Number of posts or posts associated with the trend. |
| `metrics.views_count` | `integer` | Yes | Number of views reported by the platform. |
| `popularity_curve` | `array<object>` | Yes | Daily popularity of the hashtag over the period, on a 0 to 100 scale. |
| `popularity_curve.date` | `string` | Yes | Date of the data point, in YYYY-MM-DD format. |
| `popularity_curve.value` | `number` | Yes | Value at this point of the curve. |
| `top_countries` | `array<object>` | Yes | Countries where the hashtag is most popular relative to their size, highest score first. |
| `top_countries.country_code` | `string` | Yes | Two-letter country or region code. |
| `top_countries.score` | `number` | Yes | Score reported for the entry. |
| `video_ids` | `array<string>` | Yes | IDs of example videos that use the hashtag. |

The following example shows the response format for a completed task. Actual data depends on your query.

## Completed Task Response

```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 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: Asynchronous social data API generated from the SocQ Capability Registry.
servers:
  - url: https://api.socq.ai
security: []
paths:
  /v1/tiktok-creative-center/trending-hashtags:
    post:
      tags:
        - tiktok-creative-center
      summary: TikTok Creative Center Trending Hashtags API
      description: Collect the hashtags trending on TikTok in a country.
      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
                country:
                  type: string
                  minLength: 1
                  pattern: ^[A-Za-z]{2}$
                  default: US
                  description: Two-letter country code of the market, such as US, GB or JP.
                results_limit:
                  type: integer
                  minimum: 1
                  maximum: 100
                  default: 20
                time_range:
                  type: string
                  minLength: 1
                  enum:
                    - 30d
                    - 7d
                    - 90d
                  default: 7d
                  description: 'Period the ranking covers: 7d, 30d or 90d.'
              required: []
              description: >-
                All fields are optional. Returns the hashtags trending in a
                country, ranked, with post and view counts and a popularity
                curve. results_limit defaults to 20 and accepts 1 to 100.
      responses:
        '200':
          description: Task accepted
          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
        data:
          type: object
          properties:
            task_id:
              type: string
            status:
              type: string
            created_time:
              type:
                - string
                - 'null'
          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
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````

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