Douyin creative keywords by category id
tikhub.x.douyin-index-fetch-content-creative-keywordsDouyin: fetch content creative keywords (index)
- Price
- $0.001/successAt list price
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- —Not verified yet
POSThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-index-fetch-content-creative-keywordsBeta- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
period | string | Optional | 时间周期/Period: 1=近1天, 3=近3天, 7=近7天 | 7 |
tag_id | string | Required | Category ID, **required, does NOT support 0=all**. Get full list via fetch_item_filter_options (excluding id=0) | |
end_date | string | Required | End date YYYYMMDD (**must be a Sunday only when period=7**; any day for period=1/3) | |
- Query parameters
periodstringOptional时间周期/Period: 1=近1天, 3=近3天, 7=近7天
Example:
7tag_idstringRequiredCategory ID, **required, does NOT support 0=all**. Get full list via fetch_item_filter_options (excluding id=0)
end_datestringRequiredEnd date YYYYMMDD (**must be a Sunday only when period=7**; any day for period=1/3)
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Beta
curl -X POST 'https://toolswitch.dev/v1/tools/tikhub.x.douyin-index-fetch-content-creative-keywords' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/tikhub.x.douyin-index-fetch-content-creative-keywords",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.douyin-index-fetch-content-creative-keywords", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in beta; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.001/success, including the service fee.