Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Douyin Video search V4

Tài liệu 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.

Giá
$0.01USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
Video title or keyword
Pagination cursor, 0 for the first request, then the cursor from the last response
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Douyin$0.01 mỗi lần gọiJSON
Douyin$0.01 mỗi lần gọiJSON
Douyin$0.01 mỗi lần gọiJSON
Douyin$0.01 mỗi lần gọiJSON
Douyin$0.01 mỗi lần gọiJSON
Douyin$0.01 mỗi lần gọiJSON

Hướng dẫn:Best Douyin API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Douyin Video search V4?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/search/video-search-v4 với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Douyin Video search V4 có giá bao nhiêu?

$0.01 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Douyin Video search V4 chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: keyword (string) và cursor (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Douyin Video search V4 trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Douyin không?

Không. Douyin Video search V4 chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.