author_idstringจำเป็น
Anchor id, required parameter.
https://api.sandbase.ai/v1/api/tiktok/app-v3/live-room-product-listReturns the list of showcase products featured in a broadcast session based on the specified room and author identifiers, with support for region filtering and pagination.
[
{
"data": {
"code": 0,
"data": {
"AIGC_term_banner": null,
"all_product_ids": null,
"atmosphere_tag_info": null,
"bag_prom_logos": null,
"bonus_entry": null,
"buy_button_config": {
"live_bag_buy_button_config": {
"0": {
"background_color": "#fe2c55ff",
"background_color_dark_mode": "#ff3b5cff",
"display_text": "购买",
"display_text_color": "#ffffffff",
"display_text_color_dark_mode": "#ffffffff",
"toast": ""
},
"1": {
"background_color": "#16182319",
"background_color_dark_mode": "#ffffff19",
"display_text": "购买",
"display_text_color": "#00000052",
"display_text_color_dark_mode": "#ffffff57",
"toast": "商品已售罄"
},
"2": {
"background_color": "#16182319",
"background_color_dark_mode": "#ffffff19",
"display_text": "购买",
"display_text_color": "#00000052",
"display_text_color_dark_mode": "#ffffff57",
"toast": "商品已售罄"
},
"3": {
"background_color": "#16182319",
"background_color_dark_mode": "#ffffff19",
"display_text": "即将开始",
"display_text_color": "#00000052",
"display_text_color_dark_mode": "#ffffff57",
"toast": "你可以在直播秒杀开始时购买此商品。"
}
},
"pin_card_buy_button_config": {
"0": {
"background_color": "#FFFE2C55",
"background_color_dark_mode": "#FFFE2C55",
"display_text": "购买",
"display_text_color": "#FFFFFFFF",
"display_text_color_dark_mode": "#FFFFFFFF",
"toast": ""
},
"1": {
"background_color": "#0F161823",
"background_color_dark_mode": "#0F161823",
"display_text": "购买",
"display_text_color": "#52000000",
"display_text_color_dark_mode": "#52000000",
"toast": "商品已售罄"
},
"2": {
"background_color": "#0F161823",
"background_color_dark_mode": "#0F161823",
"display_text": "售罄",
"display_text_color": "#52000000",
"display_text_color_dark_mode": "#52000000",
"toast": "商品已售罄"
},
"3": {
"background_color": "#0F161823",
"background_color_dark_mode": "#0F161823",
"display_text": "即将开始",
"display_text_color": "#52000000",
"display_text_color_dark_mode": "#52000000",
"toast": "你可以在直播秒杀开始时购买此商品。"
}
}
},
"cart_entry": null,
"cart_meta_bar": null,
"coupon_entry": null,
"coupons_activity_ui_type": 3,
"flash_sale_atmosphere_info": [],
"flash_sale_refresh_control": {
"show_atmosphere_begin_millisecond": 1200000,
"show_atmosphere_stock_change_limit": 0,
"show_live_flash_sale_atmosphere": 1,
"weaken_live_flash_sale_atmosphere": 0
},
"hot_tags": null,
"intelligent_sort": false,
"introduce_id": "0",
"live_bag_and_pin_card_type": 0,
"live_bag_entry_layout": {
"bonus_entry": {
"link": ""
},
"cart_entry": {
"item_count": 0,
"link": "aweme://roma_redirect/?roma_default_schema=sslocal%3A%2F%2Fwebcast_lynxview%3Furl%3Dhttps%253A%252F%252Flf19-gecko-source.tiktokcdn.com%252Fobj%252Fbyte-gurd-source-sg%252Ftiktok%252Ffe%252Flive%252Ffe_tiktok_ecommerce_shop_cart%252Fall%252Fpages%252Fmain%252Ftemplate.js%26hide_nav_bar%3D1%26trans_status_bar%3D1%26hide_status_bar%3D0%26enable_code_cache%3D1%26target_handler%3Decom%252Cwebcast%26business_from%3Decom&roma_group_key=roma_schema_group_ecommerce_cart&roma_page_key=roma_schema_page_ecommerce_cart"
},
"coupon_entry": {
"coupon_first_tips": "",
"link": "aweme://roma_redirect/?spark_page=roma_schema_your_offer&roma_group_key=spark_page_roma_schema_your_offer&roma_page_key=p&trackParams=%7b%22previous_page%22%3a%22live%22%7d",
"text": "优惠"
},
"inside_entries": [],
"order_entry": {
"link": ""
},
"outside_entries": [
3,
2
],
"search_entry": {
"link": ""
},
"wallet_entry": null
},
"live_bag_minimalism": 0,
"order_entry_schema": "",
"pin_atmosphere_tags": null,
"pop_bag_index": 0,
"pop_product": null,
"popup": null,
"preview_version": "",
"product_unavailable_info": null,
"products": [],
"promotion_display_info": null,
"promotion_style": "{\"promotion_label_ui_config\":{ \"height\": 18, \"configs\": { \"1\": { \"bgColor\": { \"light\": \"#FE2C551A\", \"dark\": \"#FF3B5C1A\" }, \"textColor\": { \"light\": \"#000000FF\", \"dark\": \"#FFFFFFE6\" }, \"textFont\": 12, \"padding\": 4, \"gap\": 3, \"radius\": 4, …",
"server_time": 1790691269543,
"suggested_word_entry": null,
"total": 0,
"voucher_content": {
"show_anchor": false,
"voucher": null,
"voucher_auto_claimed": null,
"voucher_dialog_duration": 0
},
"voucher_display_info": null
},
"msg": "success"
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns the list of showcase products featured in a TikTok LIVE room, plus the display settings for the shopping bag. It needs a room_id and an author_id, and it accepts optional region, offset and page_size parameters.
total.region.curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/live-room-product-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"author_id": "7408859677050274859", "room_id": "7420741353250507562"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
author_id | string | Yes | Anchor id, required parameter. |
room_id | string | Yes | Live room id, required parameter. |
offset | integer | No | Page turning cursor, optional parameter, default is 0, increasing by 15 each time. |
page_size | integer | No | Number per page, optional parameter, default is 15. |
region | string | No | Region, optional parameter, default is US. Other regions (for example VN) may return no data. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"AIGC_term_banner": null,
"all_product_ids": null,
"atmosphere_tag_info": null,
"bag_prom_logos": null,
"bonus_entry": null,
"buy_button_config": {
"live_bag_buy_button_config": {
"0": {
"background_color": "#fe2c55ff",
"background_color_dark_mode": "#ff3b5cff",
"display_text": "购买",
"display_text_color": "#ffffffff",
"display_text_color_dark_mode": "#ffffffff",
"toast": ""
},
"1": {
"background_color": "#16182319",
"background_color_dark_mode": "#ffffff19",
"display_text": "购买",
"display_text_color": "#00000052",
"display_text_color_dark_mode": "#ffffff57",
"toast": "商品已售罄"
},
"2": {
"background_color": "#16182319",
"background_color_dark_mode": "#ffffff19",
"display_text": "购买",
"display_text_color": "#00000052",
"display_text_color_dark_mode": "#ffffff57",
"toast": "商品已售罄"
},
"3": {
"background_color": "#16182319",
"background_color_dark_mode": "#ffffff19",
"display_text": "即将开始",
"display_text_color": "#00000052",
"display_text_color_dark_mode": "#ffffff57",
"toast": "你可以在直播秒杀开始时购买此商品。"
}
},
"pin_card_buy_button_config": {
"0": {
"background_color": "#FFFE2C55",
"background_color_dark_mode": "#FFFE2C55",
"display_text": "购买",
"display_text_color": "#FFFFFFFF",
"display_text_color_dark_mode": "#FFFFFFFF",
"toast": ""
},
"1": {
"background_color": "#0F161823",
"background_color_dark_mode": "#0F161823",
"display_text": "购买",
"display_text_color": "#52000000",
"display_text_color_dark_mode": "#52000000",
"toast": "商品已售罄"
},
"2": {
"background_color": "#0F161823",
"background_color_dark_mode": "#0F161823",
"display_text": "售罄",
"display_text_color": "#52000000",
"display_text_color_dark_mode": "#52000000",
"toast": "商品已售罄"
},
"3": {
"background_color": "#0F161823",
"background_color_dark_mode": "#0F161823",
"display_text": "即将开始",
"display_text_color": "#52000000",
"display_text_color_dark_mode": "#52000000",
"toast": "你可以在直播秒杀开始时购买此商品。"
}
}
},
"cart_entry": null,
"cart_meta_bar": null,
"coupon_entry": null,
"coupons_activity_ui_type": 3,
"flash_sale_atmosphere_info": [],
"flash_sale_refresh_control": {
"show_atmosphere_begin_millisecond": 1200000,
"show_atmosphere_stock_change_limit": 0,
"show_live_flash_sale_atmosphere": 1,
"weaken_live_flash_sale_atmosphere": 0
}
},
"msg": "success"
}
| Field | Meaning |
|---|---|
code / msg | Status of the call. code is 0 and msg is success when the request worked. |
data.products[] | List of showcase products in the room. It is an empty list in this example, so the room had no products returned. |
data.total | Total number of products reported for the room. It is 0 in this example. |
data.all_product_ids | List of all product IDs in the room. It is null in this example. |
data.server_time | Server timestamp of the response. The value 1793691834763 has 13 digits. |
data.buy_button_config.live_bag_buy_button_config | Buy button styles for the shopping bag, keyed by state number (0 to 3). Each state has display_text, colors and a toast message. |
data.buy_button_config.pin_card_buy_button_config | Buy button styles for the pinned product card, keyed by the same state numbers. Each state has display_text, colors and a toast message. |
data.live_bag_entry_layout.coupon_entry / data.live_bag_entry_layout.cart_entry | Entry points shown in the shopping bag. Each one has a link, and the coupon entry also has a text label. |
data.flash_sale_refresh_control | Display settings for the flash sale banner, such as show_live_flash_sale_atmosphere and show_atmosphere_begin_millisecond. |
offset to page. The default is 0, and it grows by 15 for each page, matching the default page_size of 15.region defaults to US. Other regions, for example VN, may return no data.products list and total of 0. The rest of data holds display settings, and many of those keys are null.$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/tiktok/app-v3/live-room-product-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"room_id": "7420741353250507562",
"author_id": "7408859677050274859"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
author_idstringจำเป็นAnchor id, required parameter.
room_idstringจำเป็นLive room id, required parameter.
offsetintegerPage turning cursor, optional parameter, default is 0, increasing by 15 each time.
page_sizeintegerNumber per page, optional parameter, default is 15.
regionstringRegion, optional parameter, default is `US`. Other regions (for example `VN`) may return no data.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"code": 0,
"data": {
"AIGC_term_banner": null,
"all_product_ids": null,
"atmosphere_tag_info": null,
"bag_prom_logos": null,
"bonus_entry": null,
"buy_button_config": {
"live_bag_buy_button_config": {
"0": {
"background_color": "#fe2c55ff",
"background_color_dark_mode": "#ff3b5cff",
"display_text": "购买",
"display_text_color": "#ffffffff",
"display_text_color_dark_mode": "#ffffffff",
"toast": ""
},
"1": {
"background_color": "#16182319",
"background_color_dark_mode": "#ffffff19",
"display_text": "购买",
"display_text_color": "#00000052",
"display_text_color_dark_mode": "#ffffff57",
"toast": "商品已售罄"
},
"2": {
"background_color": "#16182319",
"background_color_dark_mode": "#ffffff19",
"display_text": "购买",
"display_text_color": "#00000052",
"display_text_color_dark_mode": "#ffffff57",
"toast": "商品已售罄"
},
"3": {
"background_color": "#16182319",
"background_color_dark_mode": "#ffffff19",
"display_text": "即将开始",
"display_text_color": "#00000052",
"display_text_color_dark_mode": "#ffffff57",
"toast": "你可以在直播秒杀开始时购买此商品。"
}
},
"pin_card_buy_button_config": {
"0": {
"background_color": "#FFFE2C55",
"background_color_dark_mode": "#FFFE2C55",
"display_text": "购买",
"display_text_color": "#FFFFFFFF",
"display_text_color_dark_mode": "#FFFFFFFF",
"toast": ""
},
"1": {
"background_color": "#0F161823",
"background_color_dark_mode": "#0F161823",
"display_text": "购买",
"display_text_color": "#52000000",
"display_text_color_dark_mode": "#52000000",
"toast": "商品已售罄"
},
"2": {
"background_color": "#0F161823",
"background_color_dark_mode": "#0F161823",
"display_text": "售罄",
"display_text_color": "#52000000",
"display_text_color_dark_mode": "#52000000",
"toast": "商品已售罄"
},
"3": {
"background_color": "#0F161823",
"background_color_dark_mode": "#0F161823",
"display_text": "即将开始",
"display_text_color": "#52000000",
"display_text_color_dark_mode": "#52000000",
"toast": "你可以在直播秒杀开始时购买此商品。"
}
}
},
"cart_entry": null,
"cart_meta_bar": null,
"coupon_entry": null,
"coupons_activity_ui_type": 3,
"flash_sale_atmosphere_info": [],
"flash_sale_refresh_control": {
"show_atmosphere_begin_millisecond": 1200000,
"show_atmosphere_stock_change_limit": 0,
"show_live_flash_sale_atmosphere": 1,
"weaken_live_flash_sale_atmosphere": 0
},
"hot_tags": null,
"intelligent_sort": false,
"introduce_id": "0",
"live_bag_and_pin_card_type": 0,
"live_bag_entry_layout": {
"bonus_entry": {
"link": ""
},
"cart_entry": {
"item_count": 0,
"link": "aweme://roma_redirect/?roma_default_schema=sslocal%3A%2F%2Fwebcast_lynxview%3Furl%3Dhttps%253A%252F%252Flf19-gecko-source.tiktokcdn.com%252Fobj%252Fbyte-gurd-source-sg%252Ftiktok%252Ffe%252Flive%252Ffe_tiktok_ecommerce_shop_cart%252Fall%252Fpages%252Fmain%252Ftemplate.js%26hide_nav_bar%3D1%26trans_status_bar%3D1%26hide_status_bar%3D0%26enable_code_cache%3D1%26target_handler%3Decom%252Cwebcast%26business_from%3Decom&roma_group_key=roma_schema_group_ecommerce_cart&roma_page_key=roma_schema_page_ecommerce_cart"
},
"coupon_entry": {
"coupon_first_tips": "",
"link": "aweme://roma_redirect/?spark_page=roma_schema_your_offer&roma_group_key=spark_page_roma_schema_your_offer&roma_page_key=p&trackParams=%7b%22previous_page%22%3a%22live%22%7d",
"text": "优惠"
},
"inside_entries": [],
"order_entry": {
"link": ""
},
"outside_entries": [
3,
2
],
"search_entry": {
"link": ""
},
"wallet_entry": null
},
"live_bag_minimalism": 0,
"order_entry_schema": "",
"pin_atmosphere_tags": null,
"pop_bag_index": 0,
"pop_product": null,
"popup": null,
"preview_version": "",
"product_unavailable_info": null,
"products": [],
"promotion_display_info": null,
"promotion_style": "{\"promotion_label_ui_config\":{ \"height\": 18, \"configs\": { \"1\": { \"bgColor\": { \"light\": \"#FE2C551A\", \"dark\": \"#FF3B5C1A\" }, \"textColor\": { \"light\": \"#000000FF\", \"dark\": \"#FFFFFFE6\" }, \"textFont\": 12, \"padding\": 4, \"gap\": 3, \"radius\": 4, …",
"server_time": 1790691269543,
"suggested_word_entry": null,
"total": 0,
"voucher_content": {
"show_anchor": false,
"voucher": null,
"voucher_auto_claimed": null,
"voucher_dialog_duration": 0
},
"voucher_display_info": null
},
"msg": "success"
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.01 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
คู่มือ:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/tiktok/app-v3/live-room-product-list โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: author_id (string) และ room_id (string). ตัวเลือก: offset (integer), page_size (integer) และ region (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น TikTok Livestream Room Product List ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก