# TikTok Creator Search Insights Detail API

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

Source: https://www.sandbase.ai/model/tiktok/app-v3/creator-search-insights-detail
API reference: https://www.sandbase.ai/model/tiktok/app-v3/creator-search-insights-detail/docs

## Facts

- Provider: TikTok
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/tiktok/app-v3/creator-search-insights-detail`
- Price: $0.0015 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, tiktok
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/tiktok/app-v3/creator-search-insights-detail` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query_id_str` | string | yes |  |
| `dimension_list` | string | no |  |
| `end_date` | integer | no |  |
| `start_date` | integer | no |  |
| `time_range` | string | no |  |

## FAQ

### How do I use the TikTok Creator Search Insights Detail API?

Send a POST request to https://api.sandbase.ai/v1/api/tiktok/app-v3/creator-search-insights-detail with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the TikTok Creator Search Insights Detail API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the TikTok Creator Search Insights Detail API accept?

Required: query_id_str (string). Optional: dimension_list (string), end_date (integer), start_date (integer) and time_range (string). The Parameters table and the Playground on this page list every field.

### What does the TikTok Creator Search Insights Detail API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

### Do I need a TikTok developer account or API key?

No. TikTok Creator Search Insights Detail runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for TikTok API access separately.

## README

### TikTok Creator Search Insights Detail API

Pass a `query_id_str` from Creator Search Insights and get its popularity trend and searcher demographics.

#### Use cases

- Understand who searches for a topic.
- Validate content ideas with demand data.
- Target content by age and country.

#### Request

```bash
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"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `query_id_str` | string | Yes | Query ID, obtained from fetch_creator_search_insights response |
| `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) |
| `dimension_list` | string | No | Dimension list, separated by comma, options: gender, age, country |

#### Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

```json
{
  "demographics": {
    "age": "25-34",
    "gender": "unknown",
    "location": "United Kingdom"
  },
  "age": [
    {
      "category": "total",
      "popularity": 433427
    },
    {
      "category": "others",
      "popularity": 330399
    },
    {
      "category": "25-34",
      "popularity": 49214
    }
  ],
  "gender": [
    {
      "category": "total",
      "popularity": 493646
    },
    {
      "category": "unknown",
      "popularity": 439331
    },
    {
      "category": "male",
      "popularity": 29608
    }
  ],
  "location": [
    {
      "category": "total",
      "popularity": 401003
    },
    {
      "category": "United Kingdom",
      "popularity": 159147
    },
    {
      "category": "United States of America",
      "popularity": 124437
    }
  ]
}
```

#### Notes

- Get `query_id_str` from the Creator Search Insights API.
- `time_range`: past_7_days, past_30_days, past_60_days, past_6_months or custom.

#### Related APIs

- [TikTok LIVE Status](/model/tiktok/app-v3/check-live-room-online): Check whether a TikTok LIVE room is currently live by room ID.
- [TikTok Creator Search Insights](/model/tiktok/app-v3/creator-search-insights): Get TikTok Creator Search Insights: trending search queries with popularity scores, trend history and video counts, including content-gap topics, by category a…
- [TikTok Search](/model/tiktok/app-v3/general-search-result): Search TikTok by keyword across videos and users (Top tab).
