Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Douyin Video Search Suggestions

API 文档
https://api.sandbase.ai/v1/api/douyin/index/item-sug

Returns search suggestions and related video items based on a keyword query. Includes video titles, URLs, like counts, and author nicknames.

价格
$0.001美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 0 个可选

Playground

输入
Search keyword
输出示例
响应outputs · 5.0 KB · 82 行
[
  {
    "data": {
      "BaseResp": {
        "StatusCode": 0,
        "StatusMessage": ""
      },
      "data": [
        {
          "avatarUrl": "https://p6-byteindex-sign.byteimg.com/aweme-avatar/tos-cn-i-0813c001_oQZcr3AHeAIVtOACAG7UedEoeIBaLBAyCPAQhP~tplv-obj.image?rk3s=c8d089e8&x-expires=1787240807&x-signature=6ZugbbF6E7nTH1KfeTrtbkHBPoY%3D",
          "category_name": "科技",
          "index": "65809",
          "itemId": "7673819479272361262",
          "likes": "42329",
          "nickname": "科技财经派",
          "thumbnail": "https://p6-byteindex-sign.byteimg.com/tos-cn-p-0015/oAaqhpu3eAEfJiGPDeu7OygAdL2vcfXAKMIgCc~tplv-obj.image?rk3s=c8d089e8&x-expires=1787240807&x-signature=PSyVvcp9zH4Ev0ZOwdeI4Erd5XE%3D",
          "title": "AI机器人再进化,SDU Soft的全新软体机器人#机器人  #具身智能  #人工智能  #科技  #AI",
          "url": "https://www.douyin.com/video/7673819479272361262"
        },
        {
          "avatarUrl": "https://p6-byteindex-sign.byteimg.com/aweme-avatar/tos-cn-i-0813c000-ce_oE67eA7FVOAmYIQSAPLeJFgMjrSA9aIK7AGeBz~tplv-obj.image?rk3s=c8d089e8&x-expires=1787240807&x-signature=gs1onuOUJ4ziBopRRKcSKB2cWBg%3D",
          "category_name": "游戏",
          "index": "38952",
          "itemId": "7674210150537891113",
          "likes": "428425",
          "nickname": "鲤鱼Ace",
          "thumbnail": "https://p6-byteindex-sign.byteimg.com/tos-cn-p-0015/oYaM2he6Q0OGQEWAVPdAfjH8L6V7CpBAAQB2fU~tplv-obj.image?rk3s=c8d089e8&x-expires=1787240807&x-signature=85T%2FM3zcH9h5up%2F4SUqTLkNpLYE%3D",
          "title": "飞机安检模拟器 飞机安检模拟器\n⛔请勿相信其他任何自称是我(鲤鱼Ace)的言论或求助\n⛔我不会在任何社交平台上创建官方社群或添加好友\n⛔请勿相信由人为模仿或人工智能生成关于我(鲤鱼Ace)的任何内容\n⛔内容仅供娱乐,与现实中任何事件无关,请勿代入并联想,请勿模仿\n⛔未经授权,禁止转载",
          "url": "https://www.douyin.com/video/7674210150537891113"
        },
        {
          "avatarUrl": "https://p6-byteindex-sign.byteimg.com/aweme-avatar/tos-cn-avt-0015_fb8c6d6a3901cccfc5575b70a1b86084~tplv-obj.image?rk3s=c8d089e8&x-expires=1787240807&x-signature=I5S7TX1rn7zNSnQx2KfoKfa5%2FwI%3D",
          "category_name": "科技",
          "index": "20999",
          "itemId": "7674146814232260475",
          "likes": "17941",
          "nickname": "技敦敦(江西)网络信息技术有限公司",
          "thumbnail": "https://p6-byteindex-sign.byteimg.com/tos-cn-p-0015c000-ce/o81yC1smfAB6BRBJA91AWlIwuie0AQb65oiEES~tplv-obj.image?rk3s=c8d089e8&x-expires=1787240807&x-signature=%2F2rlVXJMhUgn%2FyIkQK7rh5%2B4ceg%3D",
          "title": "把握未来的时代机遇,会机器人调试维修的人才更受欢迎。 把时代风口变成自身底气。#工业机器人前景 #工业机器人 #推动中国机器人发展 #人工智能与就业 #学技术",
          "url": "https://www.douyin.com/video/7674146814232260475"
        },
        "… 17 more items in the full response"
      ],
      "itemSugResult": [
        {
          "avatarUrl": "https://p6-byteindex-sign.byteimg.com/aweme-avatar/tos-cn-i-0813c001_oQZcr3AHeAIVtOACAG7UedEoeIBaLBAyCPAQhP~tplv-obj.image?rk3s=c8d089e8&x-expires=1787240807&x-signature=6ZugbbF6E7nTH1KfeTrtbkHBPoY%3D",
          "category_name": "科技",
          "index": "65809",
          "itemId": "7673819479272361262",
          "likes": "42329",
          "nickname": "科技财经派",
          "thumbnail": "https://p6-byteindex-sign.byteimg.com/tos-cn-p-0015/oAaqhpu3eAEfJiGPDeu7OygAdL2vcfXAKMIgCc~tplv-obj.image?rk3s=c8d089e8&x-expires=1787240807&x-signature=PSyVvcp9zH4Ev0ZOwdeI4Erd5XE%3D",
          "title": "AI机器人再进化,SDU Soft的全新软体机器人#机器人  #具身智能  #人工智能  #科技  #AI",
          "url": "https://www.douyin.com/video/7673819479272361262"
        },
        {
          "avatarUrl": "https://p6-byteindex-sign.byteimg.com/aweme-avatar/tos-cn-i-0813c000-ce_oE67eA7FVOAmYIQSAPLeJFgMjrSA9aIK7AGeBz~tplv-obj.image?rk3s=c8d089e8&x-expires=1787240807&x-signature=gs1onuOUJ4ziBopRRKcSKB2cWBg%3D",
          "category_name": "游戏",
          "index": "38952",
          "itemId": "7674210150537891113",
          "likes": "428425",
          "nickname": "鲤鱼Ace",
          "thumbnail": "https://p6-byteindex-sign.byteimg.com/tos-cn-p-0015/oYaM2he6Q0OGQEWAVPdAfjH8L6V7CpBAAQB2fU~tplv-obj.image?rk3s=c8d089e8&x-expires=1787240807&x-signature=85T%2FM3zcH9h5up%2F4SUqTLkNpLYE%3D",
          "title": "飞机安检模拟器 飞机安检模拟器\n⛔请勿相信其他任何自称是我(鲤鱼Ace)的言论或求助\n⛔我不会在任何社交平台上创建官方社群或添加好友\n⛔请勿相信由人为模仿或人工智能生成关于我(鲤鱼Ace)的任何内容\n⛔内容仅供娱乐,与现实中任何事件无关,请勿代入并联想,请勿模仿\n⛔未经授权,禁止转载",
          "url": "https://www.douyin.com/video/7674210150537891113"
        },
        {
          "avatarUrl": "https://p6-byteindex-sign.byteimg.com/aweme-avatar/tos-cn-avt-0015_fb8c6d6a3901cccfc5575b70a1b86084~tplv-obj.image?rk3s=c8d089e8&x-expires=1787240807&x-signature=I5S7TX1rn7zNSnQx2KfoKfa5%2FwI%3D",
          "category_name": "科技",
          "index": "20999",
          "itemId": "7674146814232260475",
          "likes": "17941",
          "nickname": "技敦敦(江西)网络信息技术有限公司",
          "thumbnail": "https://p6-byteindex-sign.byteimg.com/tos-cn-p-0015c000-ce/o81yC1smfAB6BRBJA91AWlIwuie0AQb65oiEES~tplv-obj.image?rk3s=c8d089e8&x-expires=1787240807&x-signature=%2F2rlVXJMhUgn%2FyIkQK7rh5%2B4ceg%3D",
          "title": "把握未来的时代机遇,会机器人调试维修的人才更受欢迎。 把时代风口变成自身底气。#工业机器人前景 #工业机器人 #推动中国机器人发展 #人工智能与就业 #学技术",
          "url": "https://www.douyin.com/video/7674146814232260475"
        },
        "… 17 more items in the full response"
      ]
    }
  }
]

示例

选择一个示例,将其输入和结果加载到 playground 中。

API README

Douyin Video Search Suggestions API

Returns a list of Douyin videos that match a search keyword. Each item has the video title, URL, like count, author nickname, category and thumbnail. It needs one input, the query keyword.

Use cases

  • Find popular Douyin videos that mention a topic such as 人工智能.
  • Collect video URLs and itemId values to feed into other Douyin video lookups.
  • Compare which content categories a keyword appears in, using category_name.
  • Rank videos for a keyword by likes to spot the most engaging posts.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/item-sug" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "人工智能"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
querystringYesSearch keyword

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "BaseResp": {
    "StatusCode": 0,
    "StatusMessage": ""
  },
  "data": [
    {
      "avatarUrl": "https://p6-byteindex-sign.byteimg.com/aweme-avatar/tos-cn-avt-0015_c71d4aad59827…",
      "category_name": "美食",
      "index": "173099",
      "itemId": "7703073570793225579",
      "likes": "5052",
      "nickname": "康喜搞笑社",
      "thumbnail": "https://p6-byteindex-sign.byteimg.com/tos-cn-p-0015c000-ce/oMgVNnCfoAzND7BfgIWwz…",
      "title": "“人工智能打饭机”#万万想不到 #当代大学生精神状态 #哈哈哈哈哈哈我要笑死了 #人类迷惑行为 #剪映 视频中是可使用食材 可能引人不适谨慎观看 视频效果无不良…",
      "url": "https://www.douyin.com/video/7703073570793225579"
    }
  ],
  "itemSugResult": [
    {
      "avatarUrl": "https://p6-byteindex-sign.byteimg.com/aweme-avatar/tos-cn-avt-0015_c71d4aad59827…",
      "category_name": "美食",
      "index": "173099",
      "itemId": "7703073570793225579",
      "likes": "5052",
      "nickname": "康喜搞笑社",
      "thumbnail": "https://p6-byteindex-sign.byteimg.com/tos-cn-p-0015c000-ce/oMgVNnCfoAzND7BfgIWwz…",
      "title": "“人工智能打饭机”#万万想不到 #当代大学生精神状态 #哈哈哈哈哈哈我要笑死了 #人类迷惑行为 #剪映 视频中是可使用食材 可能引人不适谨慎观看 视频效果无不良…",
      "url": "https://www.douyin.com/video/7703073570793225579"
    }
  ]
}

Response fields

FieldMeaning
data[]List of matching video items for the keyword. Each entry holds the fields below.
data[].titleVideo caption text, including hashtags.
data[].urlLink to the video page on Douyin.
data[].itemIdID of the video. It is also the last part of url.
data[].likesLike count for the video, returned as a string.
data[].nicknameDisplay name of the video author.
data[].category_nameContent category of the video, for example 美食 or 教育校园.
data[].indexNumeric index value for the video, returned as a string.
data[].avatarUrl / data[].thumbnailSigned image URLs for the author avatar and the video cover.
itemSugResult[]Same list of video items as data[], with the same fields.

Notes

  • Pass the search keyword in query. The request has no pagination parameter.
  • data and itemSugResult hold the same items in this response, so read either one.
  • likes and index arrive as strings. Convert them to numbers before sorting.
  • To search videos with more filters, try Douyin Index Video Search.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相关 APIs

全部 APIs
API价格响应
Douyin$0.001 每次调用JSON
Douyin$0.001 每次调用JSON
Douyin$0.001 每次调用JSON
Douyin$0.001 每次调用JSON
Douyin$0.001 每次调用JSON
Douyin$0.001 每次调用JSON

指南:Best Douyin API in 2026: Pricing Compared

问题

常见问题

如何使用 Douyin Video Search Suggestions API?

向 https://api.sandbase.ai/v1/api/douyin/index/item-sug 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Douyin Video Search Suggestions API 的价格是多少?

每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

Douyin Video Search Suggestions API 接受哪些参数?

必填:query (string)。 Parameters 表和本页的 Playground 列出了每个字段。

Douyin Video Search Suggestions API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Douyin 开发者账户或 API key 吗?

不需要。Douyin Video Search Suggestions 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。