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

Douyin DOU+ Promotable Items

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/douplus/promotable-item-list

Returns the promotable video item list for a Douyin account on the DOU+ promotion page. Includes item details based on specified promotion targets and optimization objectives.

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

Phòng thử nghiệm

Đầu vào
sec_uid of the delivery account (required)
Optional advanced parameter — optimization objective code(s), comma separated.
Number of items, default 30
Promotion target (the goal card on the DOU+ page), default 31 (likes & comments).
Đầu raVí dụ
Phản hồioutputs · 136 B · 10 dòng
[
  {
    "data": {
      "cursor": "0",
      "has_more": 0,
      "status_code": 301000,
      "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 DOU+ Promotable Items API

Returns the list of videos on a Douyin account that can be promoted with DOU+, with the author and basic video details for each. It needs the account's sec_uid. You can also set the promotion goal with target_id and the number of items with count.

Use cases

  • Build a list of videos on a Douyin account that can be chosen for a DOU+ campaign.
  • Skip videos that are already promoted or too old by checking is_item_promotional and is_over_90_days.
  • Page through all promotable videos of an account to review its recent posts.
  • Compare which videos qualify under different target_id goals.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/douplus/promotable-item-list" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_"}'

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

Parameters

NameTypeRequiredDescription
sec_uidstringYessec_uid of the delivery account (required)
aim_idsstringNoOptional advanced parameter — optimization objective code(s), comma separated.
countstringNoNumber of items, default 30
target_idstringNoPromotion target (the goal card on the DOU+ page), default 31 (likes & comments).

Example response

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

{
  "cursor": "1779354857000",
  "has_more": 1,
  "item_info_list": [
    {
      "aweme_info": {
        "author": {
          "avatar_medium": {
            "uri": "720x720/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843",
            "url_list": [
              "https://p26.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_9186d2f6f96…"
            ]
          },
          "nickname": "栗子味",
          "sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_"
        },
        "aweme_id": "7701639863695617457",
        "can_play": false,
        "create_time": 1793177767000,
        "desc": "伊人妆 秋眉晃 宛在水中央",
        "is_daily_story": false,
        "is_photo": false,
        "is_slides": false
      },
      "disable_multi_select": false,
      "douplus_user_post_tag": "爆款预定",
      "is_ad": false,
      "is_friend_video": false,
      "is_item_promotional": false,
      "is_over_90_days": false,
      "item_can_mount_enterprise_cart": 0,
      "item_source": {
        "item_generaion": 0,
        "source_type": 0
      },
      "playlet_type": 0
    }
  ],
  "status_code": 0,
  "status_msg": "",
  "support_tabs": [
    1
  ]
}

Response fields

FieldMeaning
item_info_list[]One promotable video with its details and promotion flags.
item_info_list[].aweme_info.aweme_idID of the video, as a string.
item_info_list[].aweme_info.descCaption text of the video.
item_info_list[].aweme_info.create_timeTime the video was posted, as a 13-digit number that looks like a millisecond Unix timestamp.
item_info_list[].aweme_info.author.nickname / item_info_list[].aweme_info.author.sec_uidDisplay name and sec_uid of the account that posted the video.
item_info_list[].aweme_info.is_photo / item_info_list[].aweme_info.is_slides / item_info_list[].aweme_info.is_daily_storyFlags that show whether the item is a photo post, a slideshow, or a daily story.
item_info_list[].is_item_promotional / item_info_list[].is_over_90_days / item_info_list[].is_adFlags for whether the item is already promotional, is older than 90 days, or is an ad.
item_info_list[].douplus_user_post_tagShort label shown on some items, such as 爆款预定. It is missing on other items.
cursor / has_morePaging values. has_more is 1 when more items are available.
support_tabsList of tab codes the account supports on the DOU+ page.

Notes

  • sec_uid is the long string that starts with MS4w. It is the same value that appears in item_info_list[].aweme_info.author.sec_uid.
  • count sets the number of items per call. target_id defaults to 31 (likes and comments). aim_ids takes comma separated codes.
  • cursor and has_more are returned in the response. The request schema has no cursor parameter, so use count to control the size of the list.
  • To get full video data for an aweme_id, call Douyin Douplus Video Detail.

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 DOU+ Promotable Items?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/douplus/promotable-item-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 DOU+ Promotable Items có giá bao nhiêu?

$0.001 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 DOU+ Promotable Items chấp nhận những tham số nào?

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

API Douyin DOU+ Promotable Items 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 DOU+ Promotable Items 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.