Search Douyin users
tikhub.x.douyin-search-fetch-user-searchDouyin: fetch user search (search)
- 价格
- $0.01/success按供应商原价
- 成功率
- —暂无成功率数据近 30 天 · 2 次
- 延迟 p50
- ——
- 最后验证
- 2026年7月28日实测可用
POSThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-search-fetch-user-search预览- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 请求体(JSON) | ||||
cursor | 整数 | 可选 | Offset cursor for pagination, obtained from the last response | 0 |
keyword | 字符串 | 可选 | Keyword | 猫咪 |
search_id | 字符串 | 可选 | Search ID for pagination, obtained from the last response | |
douyin_user_fans | 字符串 | 可选 | Fans filter: empty=No limit, 0_1k=Under 1k, etc. | |
douyin_user_type | 字符串 | 可选 | User type filter: empty=No limit, 300=Creator, 900=Shop, 700=Musician, 800=Celebrity | |
- 请求体(JSON)
cursor整数可选Offset cursor for pagination, obtained from the last response
示例:
0keyword字符串可选Keyword
示例:
猫咪search_id字符串可选Search ID for pagination, obtained from the last response
douyin_user_fans字符串可选Fans filter: empty=No limit, 0_1k=Under 1k, etc.
douyin_user_type字符串可选User type filter: empty=No limit, 300=Creator, 900=Shop, 700=Musician, 800=Celebrity
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
预览
curl -X POST 'https://toolswitch.dev/v1/tools/tikhub.x.douyin-search-fetch-user-search' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"cursor":0,"keyword":"猫咪"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/tikhub.x.douyin-search-fetch-user-search",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"cursor\":0,\"keyword\":\"猫咪\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.douyin-search-fetch-user-search", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"cursor\":0,\"keyword\":\"猫咪\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.01/success 计费,已含服务费。