query_id_strstring필수
Query ID, obtained from fetch_creator_search_insights response
https://api.sandbase.ai/v1/api/tiktok/app-v3/creator-search-insights-trendReturns creator search insights trend data, covering search popularity across regions and time periods for a specified query ID.
[
{
"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
}
}
}
]예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
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.
content_gap, before planning videos.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.
| Name | Type | Required | Description |
|---|---|---|---|
query_id_str | string | Yes | Query ID, obtained from fetch_creator_search_insights response |
from_tab_path | string | No | From tab path, default "TRENDING,TOPICS" |
query_analysis_required | boolean | No | Whether query analysis is required, default True |
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
}
}
| Field | Meaning |
|---|---|
user_inspiration.query_text | The search phrase this record describes. |
user_inspiration.popularity / user_inspiration.popularity_v2 | Two 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_v2 | Lists of recent popularity values for the query, matching the two popularity scores. Each list holds one value per data point. |
user_inspiration.popularity_updated_at | Unix timestamp in seconds of the last popularity update. |
user_inspiration.video_num | Number of videos tied to the query. |
user_inspiration.query_labels | Labels for the query, such as content_gap. |
user_inspiration.textnet.layer1 / user_inspiration.textnet.layer2 / user_inspiration.textnet.layer3 / user_inspiration.textnet.layer4 | Topic category from broad to narrow, for example ACGN, Games, Game Works, Game Tutorials and Strategies. |
top_countries[].country_code / top_countries[].country_name | Countries where the query is most popular, with the country code and its name. |
query_id_str from the TikTok Creator Search Insights response.user_inspiration.query_id and as a string in user_inspiration.query_id_str. Send the string form.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
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"
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
query_id_strstring필수Query ID, obtained from fetch_creator_search_insights response
from_tab_pathstringFrom tab path, default "TRENDING,TOPICS"
query_analysis_requiredbooleanWhether query analysis is required, default True
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
[
{
"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
}
}
}
]더 살펴보기
| 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
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/tiktok/app-v3/creator-search-insights-trend에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.001, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수: query_id_str (string). 선택: from_tab_path (string) 및 query_analysis_required (boolean). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. TikTok Creator Search Insights Trend은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. TikTok API 액세스를 별도로 신청할 필요는 없습니다.