Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Douyin Video Search Suggestions

Documentazione 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.

Prezzo
$0.001USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 0 opzionali

Playground

Input
Search keyword
OutputEsempio
Rispostaoutputs · 5.0 KB · 82 righe
[
  {
    "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"
      ]
    }
  }
]

Esempi

Seleziona un esempio per caricare i suoi input e il risultato nel playground.

README API

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.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Douyin$0.001 per chiamataJSON
Douyin$0.001 per chiamataJSON
Douyin$0.001 per chiamataJSON
Douyin$0.001 per chiamataJSON
Douyin$0.001 per chiamataJSON
Douyin$0.001 per chiamataJSON

Guide:Best Douyin API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API Douyin Video Search Suggestions?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/douyin/index/item-sug con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Douyin Video Search Suggestions?

$0.001 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Douyin Video Search Suggestions?

Richiesti: query (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Douyin Video Search Suggestions?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Douyin?

No. Douyin Video Search Suggestions funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Douyin.