Douyin/抖音

搜索流

POST
https://api.getoneapi.com/api/douyin/search_general

请求参数

Header 参数

Cookie string 必需

需传入已登录的Cookie

默认值: YOUR_CREDENTIAL
Authorization string 必需

在 Header 添加参数 Authorization,其值为在 Bearer 之后拼接 apikey

默认值: Bearer YOUR_API_KEY
Content-Type string 必需
默认值: application/json

Body 参数

application/json
keyword string 关键词 必需
count number 必需

返回的数量,建议10

默认值: 10
最小值:10 最大值:10
offset string 翻页参数 必需

建议0

默认值: 0
publish_time enum<string> 发布时间 必需
枚举值:
0 不限
1 一天内
7 七天内
180 半年内
content_type enum<string> 内容形式 必需
枚举值:
0 不限
1 视频
2 图文
filter_duration enum<string> 视频时长 必需
枚举值:
0 不限
0-1 一分钟内
1-5 1-5分钟
5-10000 5分钟以上
sort_type enum<string> 排序 必需
枚举值:
0 综合排序
1 最多点赞
2 最新发布
示例
{
  "keyword" : "罗永浩",
  "count" : 10,
  "offset" : "0",
  "publish_time" : "0",
  "content_type" : "0",
  "filter_duration" : "",
  "sort_type" : "0"
}

返回响应

响应 200

application/json
code integer 必需
message string 必需
data object 必需
示例
{
  "code" : 200,
  "message" : "success",
  "data" : { }
}

请求示例代码

替换 YOUR_API_KEY、参数占位符与请求数据后使用。第三方客户端需先安装对应依赖。

curl --globoff --request POST 'https://api.getoneapi.com/api/douyin/search_general' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "keyword" : "罗永浩",
  "count" : 10,
  "offset" : "0",
  "publish_time" : "0",
  "content_type" : "0",
  "filter_duration" : "",
  "sort_type" : "0"
}'

更新于 2026-11-10 19:04:28

在线调试

POSThttps://api.getoneapi.com/api/douyin/search_general

使用你的 API Key 发起真实请求,成功调用按账户规则计费。勾选后可将密钥保存在此浏览器,下次自动填入,可随时清除。

请求头(JSON)

可设置 Authorization、Content-Type、Accept。

正在准备调试参数…