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

Douyin Video search V4

API 文档
https://api.sandbase.ai/v1/api/douyin/search/video-search-v4

Fetch video search V4 on Douyin. Returns the platform data as structured JSON.

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

Playground

输入
Video title or keyword
Pagination cursor, 0 for the first request, then the cursor from the last response
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

Douyin Video search V4 API

Returns a page of Douyin video search results for a keyword. Each result includes the video ID, caption, author, engagement counts, cover image and play URLs. The request needs a keyword and an optional cursor.

Use cases

  • Find popular Douyin videos about a topic by sorting results on DiggCount and ShareCount.
  • Build a list of creators who post about a niche, using author nickname and follower count.
  • Collect video IDs and captions for a keyword to track which hashtags appear in them.
  • Pull cover images and play URLs to preview matching videos in a research tool.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/search/video-search-v4" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "猫咪", "cursor": 0}'

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

Parameters

NameTypeRequiredDescription
cursorintegerNoPagination cursor, 0 for the first request, then the cursor from the last response
keywordstringNoVideo title or keyword

Example response

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

{
  "code": 0,
  "data": {
    "cursor": 12,
    "hasMore": true,
    "itemList": [
      {
        "AwemeInfo": {
          "Author": {
            "AvatarMedium": {
              "Uri": "720x720/aweme-avatar/tos-cn-avt-0015_dce2e69766f648747e4a8a37d0384ee6",
              "UrlList": [
                "https://p26.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_dce2e69766f…"
              ]
            },
            "AvatarThumb": {},
            "FollowerCount": 19256,
            "LabelList": [],
            "Nickname": "一碗肉肉",
            "SecUid": "MS4wLjABAAAAI02THT4NuvuEm03thf3AiaNbcC5HjVq66fNCQi-IC2Q",
            "ShortId": "",
            "Signature": ""
          },
          "AwemeId": "7678569006274124793",
          "CreateTime": "1787806164000",
          "Desc": "咪就这样萌萌哒看着你 ⠀⢠⠋⠙⠲⠔⠒⠒⠒⠒⠒⠦⠒⠉⢳⠀⠀\n⠀⣸⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⡇⠀\n⢀⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢱⠀⁺ ⊹\n ⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀…",
          "IsPhoto": false,
          "Statistics": {
            "AwemeId": "",
            "CommentCount": 33,
            "DiggCount": 5640,
            "ShareCount": 3969
          },
          "Video": {
            "Cover": {
              "Uri": "tos-cn-i-0813c000-ce/oc87oFDW9AEJ1IASJPEEKHCAwAnwdeAMjqf37C",
              "UrlList": [
                "https://p3-sign.douyinpic.com/tos-cn-i-0813c000-ce/oc87oFDW9AEJ1IASJPEEKHCAwAnwd…"
              ]
            },
            "CreateTime": "1787806164",
            "ImageURL": {},
            "IsPhoto": false,
            "ItemID": "7678569006274124793",
            "ItemOptions": {},
            "PlayAddr": {
              "Height": 1024,
              "Uri": "v1e00fgi0000da7s1dvog65h4b22ova0",
              "UrlKey": "",
              "UrlList": [
                "https://v26-cold.douyinvod.com/9e488854a656f5efd2cc34ae0462de1e/6ae99c38/video/t…"
              ],
              "Width": 576
            },
            "Statistics": {}
          }
        },
        "HasLocalAnchor": false,
        "IsAd": false,
        "ItemSource": {
          "ItemGeneraion": 0,
          "SourceType": 1
        },
        "PlayletType": 1
      }
    ]
  },
  "msg": "success"
}

Response fields

FieldMeaning
data.cursorPagination value to send as cursor in the next request.
data.hasMoretrue when more results are available for this keyword.
data.itemList[].AwemeInfo.AwemeIdID of the video. The same value appears in Video.ItemID.
data.itemList[].AwemeInfo.DescCaption of the video, including its hashtags.
data.itemList[].AwemeInfo.CreateTimeCreation time of the video as a Unix timestamp in milliseconds, sent as a string.
data.itemList[].AwemeInfo.Statistics.DiggCount / CommentCount / ShareCountCounts of likes, comments and shares for the video.
data.itemList[].AwemeInfo.Author.Nickname / FollowerCountDisplay name of the author and the number of followers they have.
data.itemList[].AwemeInfo.Author.SecUidSecure user ID of the author. Use it to look up the author in user APIs.
data.itemList[].AwemeInfo.Video.PlayAddr.UrlListCandidate URLs for the video file. Width and Height give its pixel size.
data.itemList[].AwemeInfo.Video.Cover.UrlListCandidate URLs for the cover image of the video.

Notes

  • Send cursor as 0 for the first page. For the next page, send the data.cursor value from the last response, and stop when data.hasMore is false.
  • The cover URLs contain an x-expires parameter and are signed, so save the images soon if you need them.
  • Use AwemeId with Douyin Single Video Details to get the full details of one video.
  • Other versions of this search are available, such as Douyin Video search V3.

Pricing

$0.01 per successful call. Failed calls are not charged.

探索更多

相关 APIs

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

指南:Best Douyin API in 2026: Pricing Compared

问题

常见问题

如何使用 Douyin Video search V4 API?

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

Douyin Video search V4 API 的价格是多少?

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

Douyin Video search V4 API 接受哪些参数?

无需参数。 可选:keyword (string) 和 cursor (integer)。 Parameters 表和本页的 Playground 列出了每个字段。

Douyin Video search V4 API 返回什么?

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

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

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