Douyin videos for a creative keyword by category id
tikhub.x.douyin-index-fetch-content-creative-keyword-itemsDouyin: fetch content creative keyword items (index)
- Price
- $0.001/successプロバイダー原価
- Success rate
- —成功率データはまだありませんLast 30 days · 1 calls
- Latency p50
- ——
- Last verified
- —Not verified yet
POSThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-index-fetch-content-creative-keyword-itemsPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
period | 文字列 | 任意 | Period: 1, 3, 7 | 7 |
tag_id | 文字列 | 必須 | Category ID, **required, does NOT support 0=all** | |
keyword | 文字列 | 必須 | Keyword (get from fetch_content_creative_keywords) | |
end_date | 文字列 | 必須 | End date YYYYMMDD (**must be a Sunday only when period=7**; any day for period=1/3) | |
- クエリパラメータ
period文字列任意Period: 1, 3, 7
例:
7tag_id文字列必須Category ID, **required, does NOT support 0=all**
keyword文字列必須Keyword (get from fetch_content_creative_keywords)
end_date文字列必須End date YYYYMMDD (**must be a Sunday only when period=7**; any day for period=1/3)
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/tikhub.x.douyin-index-fetch-content-creative-keyword-items' \
-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-keyword-items",
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-keyword-items", {
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());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.001/success です。サービス料を含みます。