Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Douyin Video Search Suggestions

Documentación de la 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.

Precio
$0.001USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 0 opcionales

Entorno de pruebas

Entrada
Search keyword
SalidaEjemplo
Respuestaoutputs · 5.0 KB · 82 líneas
[
  {
    "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"
      ]
    }
  }
]

Ejemplos

Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.

README de la 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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Douyin$0.001 por llamadaJSON
Douyin$0.001 por llamadaJSON
Douyin$0.001 por llamadaJSON
Douyin$0.001 por llamadaJSON
Douyin$0.001 por llamadaJSON
Douyin$0.001 por llamadaJSON

Guías:Best Douyin API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de Douyin Video Search Suggestions?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/douyin/index/item-sug con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Douyin Video Search Suggestions?

$0.001 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Douyin Video Search Suggestions?

Requeridos: query (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Douyin Video Search Suggestions?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Douyin?

No. Douyin Video Search Suggestions funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Douyin por separado.