Douyin search suggestions
tikhub.x.douyin-search-fetch-search-suggestDouyin: fetch search suggest (search)
- Price
- $0.01/successAu prix du fournisseur
- Success rate
- 100 %Last 30 days · 5 calls
- Latency p50
- 1.2 sp95 1.3 s
- Last verified
- 28 juil. 2026Verified working
POSThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-search-fetch-search-suggestPreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Corps (JSON) | ||||
keyword | chaîne | Facultatif | The keyword to be suggested | 人工智能 |
- Corps (JSON)
keywordchaîneFacultatifThe keyword to be suggested
Exemple :
人工智能
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
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());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.01/success, frais de service inclus.