query_id_strstring必須
Query ID, obtained from /tiktok/app-v3/creator-search-insights response
https://api.sandbase.ai/v1/api/tiktok/app-v3/creator-search-insights-detailGet detailed statistics for a TikTok Creator Search Insights query: popularity over time and audience breakdown by age, gender and country.
[
{
"data": {
"age": [
{
"category": "total",
"popularity": 433427
},
{
"category": "others",
"popularity": 330399
},
{
"category": "25-34",
"popularity": 49214
},
"… 4 more items in the full response"
],
"demographics": {
"age": "25-34",
"gender": "unknown",
"location": "United Kingdom"
},
"extra": {
"latency": 34,
"logid": "202610061049214B1189B8169809B9F23D",
"now": 1791283761724,
"vgeo": "VGeo-US"
},
"gender": [
{
"category": "total",
"popularity": 493646
},
{
"category": "unknown",
"popularity": 439331
},
{
"category": "male",
"popularity": 29608
},
"… 1 more items in the full response"
],
"location": [
{
"category": "total",
"popularity": 401003
},
{
"category": "United Kingdom",
"popularity": 159147
},
{
"category": "United States of America",
"popularity": 124437
},
"… 3 more items in the full response"
],
"status_code": 0,
"status_msg": ""
}
}
]例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
Returns audience statistics for one TikTok Creator Search Insights query: popularity scores split by age, gender and country. It needs a query_id_str from the Creator Search Insights API and accepts an optional time range.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/creator-search-insights-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query_id_str": "7449584484497752069", "time_range": "past_30_days"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
query_id_str | string | Yes | Query ID, obtained from /tiktok/app-v3/creator-search-insights response |
dimension_list | string | No | Dimension list, separated by comma, options: gender, age, country |
end_date | integer | No | End timestamp (seconds), only for custom range |
start_date | integer | No | Start timestamp (seconds), only for custom range |
time_range | string | No | Time range (past_7_days/past_30_days/past_60_days/past_6_months/custom) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"age": [
{
"category": "total",
"popularity": 355704
}
],
"demographics": {
"age": "25-34",
"gender": "unknown",
"location": "United Kingdom"
},
"extra": {
"latency": 44,
"logid": "2026110307435134E8D92AD0DB6B01A3B8",
"now": 1793691831842,
"vgeo": "VGeo-US"
},
"gender": [
{
"category": "total",
"popularity": 398818
}
],
"location": [
{
"category": "total",
"popularity": 324781
}
],
"status_code": 0,
"status_msg": ""
}
| Field | Meaning |
|---|---|
demographics.age / demographics.gender / demographics.location | Provider demographic summary. It is separate from bucket arrays and is not guaranteed to be the largest bucket including others/unknown. |
age[].category | Age bucket label such as 25-34. The list also holds total and others rows. |
age[].popularity | Reported popularity for an age bucket. The total belongs to this dimension and differs from gender/location totals; it is not a shared people count. |
gender[].category | Gender label such as male or unknown. The list also holds a total row. |
gender[].popularity | Popularity score for that gender value. |
location[].category | Country name such as United Kingdom. The list also holds a total row. |
location[].popularity | Popularity score for that country. |
status_code / status_msg | Call status. status_code is 0 and status_msg is empty when the call succeeds. |
query_id_str from the TikTok Creator Search Insights API.time_range accepts past_7_days, past_30_days, past_60_days, past_6_months or custom. Send start_date and end_date in seconds only with custom.dimension_list to a comma-separated mix of gender, age and country to choose which breakdowns you want.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Send exact-string query_id_str. Choose time_range deliberately: past_7_days, past_30_days, past_60_days, past_6_months or custom are documented labels, but no default is declared. The saved example explicitly uses past_30_days. dimension_list is a comma-separated string of gender,age,country; custom alone uses integer start_date/end_date in seconds. There is no detail pagination input.
The October 7 saved query string matches the first August discovery record, but these independently dated examples are not a newly executed or time-consistent chain. The flat result contains age, gender, location and demographics, with no echoed query ID or time_range. Keep the requested ID and range in your own provenance; do not claim response identity matching that cannot be observed. Request country maps to response location.
Dimension arrays may be sparse or omitted. Validate present known arrays/objects and retain missing values as unknown. The saved totals differ: age 433427, gender 493646 and location 401003. These are reported popularity values, not verified person counts or a shared denominator. Do not add total rows to their buckets, assume exhaustive coverage or normalize every dimension by one total.
The saved demographics summary names age 25-34, but the age others bucket is larger. Gender unknown is also larger than the named gender buckets. Preserve the summary and arrays separately instead of claiming the summary is the largest group across all buckets or guessing unknown identities. Listed country buckets do not sum to location's total; do not invent a residual country to fill the gap.
The shortened README has different totals and is a separate undated reference, not evidence of growth against the full capture. Comparing time ranges or creating content recommendations requires a separately chosen task and compatible evidence; no second range, trend query or video analysis was executed. If you need candidate phrases first, choose one discovery page independently.
Choose one discovery page or one selected query detail. Give your agent the setup Skill, Markdown quickstart, endpoint and desired result. Keep SANDBASE_API_KEY locally and use POST /v1/api/ with Bearer authentication. Reading a candidate does not automatically authorize pagination, force refresh, trend/video enrichment or media retrieval.
Require completed SandBase status and an object at outputs[0].data, then integer status_code 0. Reject false, string 0 and missing status rather than returning an empty successful object. Saved status_msg is empty; no guessed success word is required. Keep optional fields and unknown values instead of manufacturing zero counts or reasons.
Pricing checked November 8 lists $0.001 per selected call, with 100 daily calls shared across eligible organization APIs and reset at 00:00 UTC. Eligibility is not remaining allowance. Two deliberate requests list at $0.002 before quota effects; the code does not execute a pair automatically. Response cost_tracker and extra.latency are provider fields, not SandBase billing or a measured performance benchmark. No new business, paid, continuation or media call was made. The Creator Search Insights Python guide contains the dated October experiment; use the current request boundaries described here.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/creator-search-insights-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query_id_str": "7449584484497752069",
"time_range": "past_30_days"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
query_id_strstring必須Query ID, obtained from /tiktok/app-v3/creator-search-insights response
dimension_liststringDimension list, separated by comma, options: gender, age, country
end_dateintegerEnd timestamp (seconds), only for custom range
start_dateintegerStart timestamp (seconds), only for custom range
time_rangestringTime range (past_7_days/past_30_days/past_60_days/past_6_months/custom)
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
[
{
"data": {
"age": [
{
"category": "total",
"popularity": 433427
},
{
"category": "others",
"popularity": 330399
},
{
"category": "25-34",
"popularity": 49214
},
"… 4 more items in the full response"
],
"demographics": {
"age": "25-34",
"gender": "unknown",
"location": "United Kingdom"
},
"extra": {
"latency": 34,
"logid": "202610061049214B1189B8169809B9F23D",
"now": 1791283761724,
"vgeo": "VGeo-US"
},
"gender": [
{
"category": "total",
"popularity": 493646
},
{
"category": "unknown",
"popularity": 439331
},
{
"category": "male",
"popularity": 29608
},
"… 1 more items in the full response"
],
"location": [
{
"category": "total",
"popularity": 401003
},
{
"category": "United Kingdom",
"popularity": 159147
},
{
"category": "United States of America",
"popularity": 124437
},
"… 3 more items in the full response"
],
"status_code": 0,
"status_msg": ""
}
}
]さらに探索
| 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 key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/tiktok/app-v3/creator-search-insights-detail に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.001。各組織には UTC 日ごとに 100 回の無料呼び出しが付与され、この API を含む対象の SandBase API 全体で共有されます。それ以降は、各呼び出しが SandBase 残高からこの料金で課金されます。サブスクリプションはありません。
必須: query_id_str (string)。 任意: dimension_list (string), end_date (integer), start_date (integer) と time_range (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。TikTok Creator Search Insights Detail は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。TikTok の API アクセスを別途申請する必要はありません。
スキーマには time_range のデフォルトは定義されていません。保存されたリクエストでは意図的に past_30_days を選択しています。結果は query_id_str も time_range もそのまま返しません。選択したリクエストコンテキストを保存し、レスポンスの本人確認を勝手に作らないでください。
いいえ。保存された年齢、性別、地域の合計は異なります。これらは提供元の人気値であり、検証済みの人数や共通分母ではありません。合計はバケット行と分けて扱い、不足している国別バケットやゼロ値の次元を推測しないでください。
必ずしもそうではありません。保存された要約では25-34ですが、他の年齢バケットのほうが大きいです。unknown の性別は unknown のままです。要約データとバケットデータは別々に保持してください。1つの参照だけでは、オーディエンス適合性や現在の成長傾向は証明できません。