sec_uidstringจำเป็น
sec_uid of the delivery account (required)
https://api.sandbase.ai/v1/api/douyin/douplus/promotable-item-listReturns 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.
[
{
"data": {
"cursor": "0",
"has_more": 0,
"status_code": 301000,
"status_msg": "系统遇到问题,稍后再试"
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
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.
is_item_promotional and is_over_90_days.target_id goals.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.
| Name | Type | Required | Description |
|---|---|---|---|
sec_uid | string | Yes | sec_uid of the delivery account (required) |
aim_ids | string | No | Optional advanced parameter — optimization objective code(s), comma separated. |
count | string | No | Number of items, default 30 |
target_id | string | No | Promotion target (the goal card on the DOU+ page), default 31 (likes & comments). |
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
]
}
| Field | Meaning |
|---|---|
item_info_list[] | One promotable video with its details and promotion flags. |
item_info_list[].aweme_info.aweme_id | ID of the video, as a string. |
item_info_list[].aweme_info.desc | Caption text of the video. |
item_info_list[].aweme_info.create_time | Time 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_uid | Display 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_story | Flags 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_ad | Flags for whether the item is already promotional, is older than 90 days, or is an ad. |
item_info_list[].douplus_user_post_tag | Short label shown on some items, such as 爆款预定. It is missing on other items. |
cursor / has_more | Paging values. has_more is 1 when more items are available. |
support_tabs | List of tab codes the account supports on the DOU+ page. |
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.aweme_id, call Douyin Douplus Video Detail.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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": "example"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
sec_uidstringจำเป็นsec_uid of the delivery account (required)
aim_idsanyOptional advanced parameter — optimization objective code(s), comma separated.
countanyNumber of items, default 30
target_idanyPromotion target (the goal card on the DOU+ page), default 31 (likes & comments).
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"cursor": "0",
"has_more": 0,
"status_code": 301000,
"status_msg": "系统遇到问题,稍后再试"
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin DOU+ Promotable ItemsAPI นี้ Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/douplus/promotable-item-list โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: sec_uid (string). ตัวเลือก: aim_ids (any), count (any) และ target_id (any). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin DOU+ Promotable Items ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก