Douyin topic suggestions by keyword
tikhub.x.douyin-index-fetch-topic-suggestDouyin: fetch topic suggest (index)
- Price
- $0.001/successプロバイダー原価
- Success rate
- —成功率データはまだありませんLast 30 days · 3 calls
- Latency p50
- ——
- Last verified
- —Not verified yet
POSThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-index-fetch-topic-suggestPreview- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
keyword | 文字列 | 必須 | Topic keyword | |
app_name | 文字列 | 任意 | 平台/Platform: aweme(抖音), toutiao(头条) | aweme |
- クエリパラメータ
keyword文字列必須Topic keyword
app_name文字列任意平台/Platform: aweme(抖音), toutiao(头条)
例:
aweme
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/tikhub.x.douyin-index-fetch-topic-suggest' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/tikhub.x.douyin-index-fetch-topic-suggest",
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-topic-suggest", {
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 です。サービス料を含みます。