Douyin search suggestions
tikhub.x.douyin-search-fetch-search-suggestDouyin: fetch search suggest (search)
- Price
- $0.01/successプロバイダー原価
- Success rate
- 100%Last 30 days · 5 calls
- Latency p50
- 1.2 sp95 1.3 s
- Last verified
- 2026/07/28Verified working
POSThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-search-fetch-search-suggestPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| リクエストボディ(JSON) | ||||
keyword | 文字列 | 任意 | The keyword to be suggested | 人工智能 |
- リクエストボディ(JSON)
keyword文字列任意The keyword to be suggested
例:
人工智能
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/tikhub.x.douyin-search-fetch-search-suggest' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"keyword":"人工智能"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/tikhub.x.douyin-search-fetch-search-suggest",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"keyword\":\"人工智能\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.douyin-search-fetch-search-suggest", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"keyword\":\"人工智能\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.01/success です。サービス料を含みます。