Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

TikTok Creator Search Insights Trend

API 文档
https://api.sandbase.ai/v1/api/tiktok/app-v3/creator-search-insights-trend

Returns creator search insights trend data, covering search popularity across regions and time periods for a specified query ID.

价格
$0.001美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 2 个可选

Playground

输入
Query ID, obtained from fetch_creator_search_insights response
From tab path, default "TRENDING,TOPICS"
Whether query analysis is required, default True
输出示例
响应outputs · 2.0 KB · 80 行
[
  {
    "data": {
      "extra": {
        "latency": 52,
        "logid": "20260929141411C1F30EC68F748A14DA1E",
        "now": 1790691251187,
        "vgeo": "VGeo-US"
      },
      "inspiration_related_product": [],
      "status_code": 0,
      "status_msg": "",
      "top_countries": [
        {
          "country_code": "US",
          "country_name": "United States of America"
        },
        {
          "country_code": "PH",
          "country_name": "Philippines"
        },
        {
          "country_code": "CA",
          "country_name": "Canada"
        },
        "… 2 more items in the full response"
      ],
      "user_inspiration": {
        "business_types": [
          "basic",
          "game",
          "llm_query_multi_lang",
          "… 1 more items in the full response"
        ],
        "cover_image": "",
        "dislike_option_enabled": false,
        "entity_id": 0,
        "favorited_updated_at": 0,
        "inspiration_types": [
          "search"
        ],
        "is_favorited": false,
        "order_popularity_seq": [],
        "popularity": 80,
        "popularity_updated_at": 1790690753,
        "popularity_v2": 566169,
        "query_id": 7555720035176563000,
        "query_id_str": "7555720035176562699",
        "query_labels": [
          "content_gap"
        ],
        "query_text": "headshots 2 2 3",
        "rewrite_version": "",
        "show_ai_canvas_entry": false,
        "sug_id_str": "1229272590266990480",
        "textnet": {
          "layer1": "ACGN",
          "layer2": "Games",
          "layer3": "Game Works",
          "layer4": "Game Tutorials and Strategies"
        },
        "trending_seq": [
          71,
          75,
          73,
          "… 4 more items in the full response"
        ],
        "trending_seq_v2": [
          162448,
          310493,
          254676,
          "… 4 more items in the full response"
        ],
        "use_csi_api_for_related_videos": false,
        "user_avatars": [],
        "video_num": 5385
      }
    }
  }
]

示例

选择一个示例,将其输入和结果加载到 playground 中。

API README

TikTok Creator Search Insights Trend API

Returns search trend data for one TikTok Creator Search Insights query. It includes the query text, a popularity score, recent trend values, the top countries and a topic category. It needs a query_id_str value.

Use cases

  • Track how a search query's popularity has moved over its most recent data points.
  • Find which countries search for a query most, to choose a target audience.
  • Check a query's topic category and labels, such as content_gap, before planning videos.
  • Compare the video count for a query against its popularity to judge how crowded the topic is.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/creator-search-insights-trend" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query_id_str": "7555720035176562699"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
query_id_strstringYesQuery ID, obtained from fetch_creator_search_insights response
from_tab_pathstringNoFrom tab path, default "TRENDING,TOPICS"
query_analysis_requiredbooleanNoWhether query analysis is required, default True

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "extra": {
    "latency": 59,
    "logid": "20261103074352BD3FE2C596D3AF021A95",
    "now": 1793691832174,
    "vgeo": "VGeo-US"
  },
  "inspiration_related_product": [],
  "status_code": 0,
  "status_msg": "",
  "top_countries": [
    {
      "country_code": "US",
      "country_name": "United States of America"
    }
  ],
  "user_inspiration": {
    "business_types": [
      "basic"
    ],
    "cover_image": "",
    "dislike_option_enabled": false,
    "entity_id": 0,
    "favorited_updated_at": 0,
    "inspiration_types": [
      "search"
    ],
    "is_favorited": false,
    "order_popularity_seq": [],
    "popularity": 74,
    "popularity_updated_at": 1793687815,
    "popularity_v2": 285385,
    "query_id": 7555720035176562699
  }
}

Response fields

FieldMeaning
user_inspiration.query_textThe search phrase this record describes.
user_inspiration.popularity / user_inspiration.popularity_v2Two popularity scores for the query. popularity is a small number (74 in this sample) and popularity_v2 is a larger number (285385 in this sample).
user_inspiration.trending_seq / user_inspiration.trending_seq_v2Lists of recent popularity values for the query, matching the two popularity scores. Each list holds one value per data point.
user_inspiration.popularity_updated_atUnix timestamp in seconds of the last popularity update.
user_inspiration.video_numNumber of videos tied to the query.
user_inspiration.query_labelsLabels for the query, such as content_gap.
user_inspiration.textnet.layer1 / user_inspiration.textnet.layer2 / user_inspiration.textnet.layer3 / user_inspiration.textnet.layer4Topic category from broad to narrow, for example ACGN, Games, Game Works, Game Tutorials and Strategies.
top_countries[].country_code / top_countries[].country_nameCountries where the query is most popular, with the country code and its name.

Notes

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相关 APIs

全部 APIs
API价格响应
TikTok$0.001 每次调用JSON
TikTok$0.001 每次调用JSON
TikTok$0.01 每次调用JSON
TikTok$0.001 每次调用JSON
TikTok$0.001 每次调用JSON
TikTok$0.001 每次调用JSON

指南:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

问题

常见问题

如何使用 TikTok Creator Search Insights Trend API?

向 https://api.sandbase.ai/v1/api/tiktok/app-v3/creator-search-insights-trend 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

TikTok Creator Search Insights Trend API 的价格是多少?

每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

TikTok Creator Search Insights Trend API 接受哪些参数?

必填:query_id_str (string)。 可选:from_tab_path (string) 和 query_analysis_required (boolean)。 Parameters 表和本页的 Playground 列出了每个字段。

TikTok Creator Search Insights Trend API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 TikTok 开发者账户或 API key 吗?

不需要。TikTok Creator Search Insights Trend 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 TikTok API 访问权限。