Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

TikTok Creator Search Insights Detail

Tài liệu API
https://api.sandbase.ai/v1/api/tiktok/app-v3/creator-search-insights-detail

Get detailed statistics for a TikTok Creator Search Insights query: popularity over time and audience breakdown by age, gender and country.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 4 tùy chọn
100 lượt gọi miễn phí / ngày100 lượt gọi đầu tiên mỗi ngày miễn phí (chia sẻ theo tổ chức) · Đặt lại lúc 00:00 UTC. Sau đó tính phí theo mỗi lượt gọi.

Phòng thử nghiệm

Đầu vào
Query ID, obtained from /tiktok/app-v3/creator-search-insights response
Dimension list, separated by comma, options: gender, age, country
End timestamp (seconds), only for custom range
Start timestamp (seconds), only for custom range
Time range (past_7_days/past_30_days/past_60_days/past_6_months/custom)
Đầu raVí dụ
Phản hồioutputs · 1.3 KB · 64 dòng
[
  {
    "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": ""
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

TikTok Creator Search Insights Detail API

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.

Use cases

  • Check which age groups search for a topic before planning a video.
  • Inspect reported gender popularity buckets while preserving unknown; these are not verified population shares.
  • Inspect reported location popularity fields; they do not independently determine a posting language or target region.
  • Choose one explicit time range; comparison across ranges is a separate task and no audience-change experiment was performed here.

Request

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.

Parameters

NameTypeRequiredDescription
query_id_strstringYesQuery ID, obtained from /tiktok/app-v3/creator-search-insights response
dimension_liststringNoDimension list, separated by comma, options: gender, age, country
end_dateintegerNoEnd timestamp (seconds), only for custom range
start_dateintegerNoStart timestamp (seconds), only for custom range
time_rangestringNoTime range (past_7_days/past_30_days/past_60_days/past_6_months/custom)

Example response

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": ""
}

Response fields

FieldMeaning
demographics.age / demographics.gender / demographics.locationProvider demographic summary. It is separate from bucket arrays and is not guaranteed to be the largest bucket including others/unknown.
age[].categoryAge bucket label such as 25-34. The list also holds total and others rows.
age[].popularityReported 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[].categoryGender label such as male or unknown. The list also holds a total row.
gender[].popularityPopularity score for that gender value.
location[].categoryCountry name such as United Kingdom. The list also holds a total row.
location[].popularityPopularity score for that country.
status_code / status_msgCall status. status_code is 0 and status_msg is empty when the call succeeds.

Notes

  • Get 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.
  • Set dimension_list to a comma-separated mix of gender, age and country to choose which breakdowns you want.
  • For the popularity trend of a query over time, see TikTok Creator Search Insights Trend.

Pricing

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

Inspect one selected query's demographic fields

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.

Give your agent one search-insights task

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.01 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON

Hướng dẫn:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API TikTok Creator Search Insights Detail?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/app-v3/creator-search-insights-detail với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API TikTok Creator Search Insights Detail có giá bao nhiêu?

$0.001 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.

API TikTok Creator Search Insights Detail chấp nhận những tham số nào?

Bắt buộc: query_id_str (string). Tùy chọn: dimension_list (string), end_date (integer), start_date (integer) và time_range (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API TikTok Creator Search Insights Detail trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của TikTok không?

Không. TikTok Creator Search Insights Detail chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của TikTok.

past_30_days có phải mặc định và kết quả có lặp lại query ID không?

Schema không khai báo mặc định time_range; yêu cầu đã lưu cố ý chọn past_30_days. Kết quả của nó không lặp lại query_id_str hoặc time_range. Hãy lưu bối cảnh yêu cầu bạn đã chọn; đừng tự tạo một bước kiểm tra danh tính của phản hồi.

Tất cả các chiều nhân khẩu học có thể dùng chung một tổng cho phần trăm không?

Không. Tổng theo tuổi, giới tính và vị trí đã lưu khác nhau. Đây là các giá trị mức độ phổ biến của nhà cung cấp, không phải số người đã xác minh hay mẫu số chung. Giữ riêng tổng và các dòng bucket, và đừng tự bịa bucket quốc gia còn thiếu hoặc các chiều có giá trị 0.

Phần tóm tắt nhân khẩu học có xác định bucket lớn nhất không?

Không phải một cách tuyệt đối. Phần tóm tắt đã lưu cho biết 25-34, trong khi bucket tuổi khác lớn hơn. Giới tính chưa xác định vẫn là chưa xác định. Hãy giữ riêng dữ liệu tóm tắt và dữ liệu bucket; một tham chiếu đơn lẻ không chứng minh mức độ phù hợp của tệp người xem hay xu hướng tăng trưởng hiện tại.