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

Douyin Hashtag Video List

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/app-v3/hashtag-video-list

Returns a list of videos associated with a specific Douyin hashtag. Supports sorting by comprehensive rank, most likes, or latest release along with cursor pagination.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 3 tùy chọn
100 lượt gọi miễn phí / ngày100 lượt gọi đầu tiên mỗi ngày miễn phí (chia sẻ theo tổ chức) · Đặt lại lúc 00:00 UTC. Sau đó tính phí theo mỗi lượt gọi.

Phòng thử nghiệm

Đầu vào
Hashtag id
Number Please keep the default, otherwise there will be BUG.
Cursor, used for paging, the first page is 0, the second page is the cursor value in the first response.
0: Comprehensive sorting 1: Most likes 2: Latest release
Đầu raVí dụ
Phản hồioutputs · 166 B · 11 dòng
[
  {
    "data": {
      "log_pb": {
        "impr_id": "20260820174439574388BD3F6F05227EDF"
      },
      "status_code": 5,
      "status_msg": "参数不合法"
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

Douyin Hashtag Video List API

Returns a page of videos posted under one Douyin hashtag. It needs the hashtag id in ch_id, and you can sort by default rank, most likes or latest release.

Use cases

  • Collect the videos posted under a campaign hashtag to see who is taking part.
  • Pull the most liked videos for a hashtag with sort_type set to 1 to study what content works.
  • Pull the newest videos for a hashtag with sort_type set to 2 to watch new posts as they appear.
  • Build a list of creators active in a topic from the author data of each video.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/hashtag-video-list" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ch_id": "1575791821492238"}'

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

Parameters

NameTypeRequiredDescription
ch_idstringYesHashtag id
countintegerNoNumber Please keep the default, otherwise there will be BUG.
cursorintegerNoCursor, used for paging, the first page is 0, the second page is the cursor value in the first response.
sort_typeintegerNo0: Comprehensive sorting 1: Most likes 2: Latest release

Example response

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

{
  "aweme_list": [],
  "cursor": 10,
  "extra": {
    "fatal_item_ids": [],
    "logid": "20261103153135911EFF7F3C1CEA5D8041",
    "now": 1793691096000
  },
  "has_more": 1,
  "log_pb": {
    "impr_id": "20261103153135911EFF7F3C1CEA5D8041"
  },
  "mix_list": [
    {
      "aweme_info": {
        "activity_video_type": -1,
        "ad_charge_passive_unlock_config": {
          "broadcast_btn_config": {
            "btn_show_frequency": 1,
            "btn_show_second": 5,
            "btn_text": "秒后解锁下一集",
            "show_second_type": 2
          },
          "trial_btn_config": {
            "btn_show_frequency": 1,
            "btn_show_second": 3,
            "btn_text": "秒后解锁本集",
            "show_second_type": 2
          }
        },
        "ai_follow_images": null,
        "anchors": null,
        "authentication_token": "MS4wLjAA…",
        "author": {
          "accept_private_policy": false,
          "account_region": "",
          "ad_cover_url": null,
          "allow_story_normal_like": false,
          "apple_account": 0,
          "authority_status": 0,
          "avatar_168x168": {
            "height": 720,
            "uri": "168x168/aweme-avatar/tos-cn-i-0813c000-ce_oUiarAJqYAblEMeAi89JB9lEe1gfI2DAAgdwEB",
            "url_list": [
              "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813c000-ce_oUiarAJqYAblEMeAi…"
            ],
            "width": 720
          },
          "avatar_300x300": {
            "height": 720,
            "uri": "300x300/aweme-avatar/tos-cn-i-0813c000-ce_oUiarAJqYAblEMeAi89JB9lEe1gfI2DAAgdwEB",
            "url_list": [
              "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813c000-ce_oUiarAJqYAblEMeAi…"
            ],
            "width": 720
          }
        },
        "author_mask_tag": 0,
        "author_user_id": 7640751860513522725
      },
      "search_result_id": "7700554531473526057",
      "type": 1
    }
  ],
  "status_code": 0
}

Response fields

FieldMeaning
mix_list[]The list of results on this page. Each item wraps one video.
mix_list[].aweme_infoThe video object. It holds the author, the video controls and other video data.
mix_list[].search_result_idThe id of the video result, as a string. It matches the video id format used by other Douyin video APIs.
mix_list[].aweme_info.authorThe creator of the video. It includes avatar images as avatar_168x168 and avatar_300x300, each with a url_list of image links.
mix_list[].aweme_info.author_user_idThe numeric id of the creator who posted the video.
mix_list[].aweme_info.aweme_control.can_comment / can_forward / can_shareBoolean flags that show whether commenting, forwarding and sharing are allowed on the video.
cursorThe cursor value to send in the next request to get the following page.
has_moreShows whether more results exist. The value 1 means there is another page.
status_codeThe status of the call. The value 0 was returned for this successful request.

Notes

  • Start with cursor set to 0. For the next page, send the cursor value from the previous response.
  • Check has_more before you request another page. The aweme_list array was empty in this response, and the videos were in mix_list.
  • Keep count at its default. The parameter description warns that other values can cause bugs.
  • Use Douyin Hashtag Details for information about the hashtag itself, and Douyin Single Video Details to look up one video by its id.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 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 Hashtag Video List?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/app-v3/hashtag-video-list 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 Hashtag Video List có giá bao nhiêu?

$0.001 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.

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

Bắt buộc: ch_id (string). Tùy chọn: count (integer), cursor (integer) và sort_type (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Douyin Hashtag Video List 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 Hashtag Video List 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.