Search Douyin across multiple types
tikhub.x.douyin-search-fetch-multi-searchDouyin: fetch multi search (search)
- Price
- $0.01/successプロバイダー原価
- Success rate
- —成功率データはまだありませんLast 30 days · 1 calls
- Latency p50
- ——
- Last verified
- 2026/07/28Verified working
POSThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-search-fetch-multi-searchPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| リクエストボディ(JSON) | ||||
cursor | 整数 | 任意 | Offset cursor for pagination, obtained from the last response | 0 |
keyword | 文字列 | 任意 | Keyword | 猫咪 |
backtrace | 文字列 | 任意 | Backtrace for pagination, obtained from the last response | |
search_id | 文字列 | 任意 | Search ID for pagination, obtained from the last response | |
sort_type | 文字列 | 任意 | Sort type: 0=Comprehensive, 1=Most Likes, 2=Latest | 0 |
content_type | 文字列 | 任意 | Content type: 0=All, 1=Video, 2=Picture, 3=Article | 0 |
publish_time | 文字列 | 任意 | Publish time filter: 0=Unlimited, 1=Last day, 7=Last week, 180=Last half year | 0 |
filter_duration | 文字列 | 任意 | Video duration filter: 0=Unlimited, 0-1=Within 1 minute, 1-5=1 to 5 minutes, 5-10000=More than 5 minutes | 0 |
- リクエストボディ(JSON)
cursor整数任意Offset cursor for pagination, obtained from the last response
例:
0keyword文字列任意Keyword
例:
猫咪backtrace文字列任意Backtrace for pagination, obtained from the last response
search_id文字列任意Search ID for pagination, obtained from the last response
sort_type文字列任意Sort type: 0=Comprehensive, 1=Most Likes, 2=Latest
例:
0content_type文字列任意Content type: 0=All, 1=Video, 2=Picture, 3=Article
例:
0publish_time文字列任意Publish time filter: 0=Unlimited, 1=Last day, 7=Last week, 180=Last half year
例:
0filter_duration文字列任意Video duration filter: 0=Unlimited, 0-1=Within 1 minute, 1-5=1 to 5 minutes, 5-10000=More than 5 minutes
例:
0
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/tikhub.x.douyin-search-fetch-multi-search' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"cursor":0,"keyword":"猫咪","sort_type":"0","content_type":"0","publish_time":"0","filter_duration":"0"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/tikhub.x.douyin-search-fetch-multi-search",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"cursor\":0,\"keyword\":\"猫咪\",\"sort_type\":\"0\",\"content_type\":\"0\",\"publish_time\":\"0\",\"filter_duration\":\"0\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.douyin-search-fetch-multi-search", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"cursor\":0,\"keyword\":\"猫咪\",\"sort_type\":\"0\",\"content_type\":\"0\",\"publish_time\":\"0\",\"filter_duration\":\"0\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.01/success です。サービス料を含みます。