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.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON

指南:Best Douyin API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Douyin Video Search Suggestions API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/index/item-sug。您也可以直接在本頁的 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 金鑰嗎?

不需要。Douyin Video Search Suggestions 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。