room_idstringจำเป็น
Live room id
https://api.sandbase.ai/v1/api/tiktok/app-v3/live-room-infoReturns data and details for a specified broadcast stream room on TikTok. Requires the unique target stream identifier to retrieve room status and metrics.
[
{
"data": {
"data": {
"AnchorABMap": {},
"add_ttls_product_ts": 0,
"adjust_display_order": 1,
"admin_ec_show_permission": {},
"admin_user_ids": [],
"age_restricted": {
"AgeInterval": 0,
"restricted": false,
"source": 0
},
"aigc_self_disclosure_switch": false,
"all_emoji_list": [],
"allow_preview_time": -1,
"anchor_live_pro_info": {
"banner_starling_key": "",
"gamer_banner_starling_key": "",
"is_live_pro": false,
"live_pro_type": 0,
"show_banner": false
},
"anchor_scheduled_time_text": "",
"anchor_share_text": "",
"anchor_tab_type": 7,
"answering_question_content": "",
"app_id": 1233,
"audio_mute": 0,
"auto_cover": 0,
"ba_leads_gen_info": {
"leads_gen_model": "",
"leads_gen_permission": false
},
"ba_link_info": {
"ba_link_data": "",
"ba_link_permission": 0
},
"biz_sticker_list": [],
"blurred_cover": {
"avg_color": "#EBFBFF",
"height": 100,
"image_type": 0,
"is_animated": false,
"open_web_url": "",
"uri": "tos-alisg-avt-0068/0776355531a417072c4262e9071f0c4a",
"url_list": [
"https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/0776355531a417072c4262e9071f0c4a~tplv-tiktokx-resize-blur:100:100:4.webp?dr=9616&refresh_token=7320624f&x-expires=1791194400&x-signature=vey69jotd4EKglfoTyXNBXd01T4%3D&t=4d5b0474&ps=13740610&shp=97fb53a0&shcp=2de197d8&idc=useast8&ftpl=1",
"https://p19-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/0776355531a417072c4262e9071f0c4a~tplv-tiktokx-resize-blur:100:100:4.webp?dr=9616&refresh_token=eae5b25f&x-expires=1791194400&x-signature=fBtySpkQoC1nVwBugGBzAqta9k8%3D&t=4d5b0474&ps=13740610&shp=97fb53a0&shcp=2de197d8&idc=useast8&ftpl=1",
"… 1 more items in the full response"
],
"width": 100
},
"book_end_time": 0,
"book_time": 0,
"business_live": 0,
"caption_info": {
"align_stream": false,
"location": 0,
"open": false,
"show_type": 0,
"support_lang": []
},
"challenge_info": "",
"client_version": 460800,
"comment_has_text_emoji_emote": 2,
"comment_name_mode": 0,
"commerce_info": {
"bottom_button_layout": 0,
"commerce_permission": 0,
"oec_live_enter_room_init_data": "",
"product_num": 0,
"use_async_load": false,
"use_new_promotion": 0
},
"commercial_content_toggle": {
"open_commercial_content_toggle": false,
"promote_myself": false,
"promote_third_party": false
},
"common_label_list": "",
"content_tag": "",
"continuous_room_quota_config": {
"1": {
"component_type": 1,
"count": 1,
"coutinuous_room_cnt": 3
}
},
"cover": {
"avg_color": "",
"height": 0,
"image_type": 0,
"is_animated": false,
"open_web_url": "",
"uri": "720x720/tos-alisg-avt-0068/0776355531a417072c4262e9071f0c4a",
"url_list": [
"https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/0776355531a417072c4262e9071f0c4a~tplv-tiktokx-cropcenter:720:720.webp?dr=9640&refresh_token=5b483cf1&x-expires=1791345600&x-signature=usU7bEACKzzyMzjaNoeynYNDsak%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast8",
"https://p19-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/0776355531a417072c4262e9071f0c4a~tplv-tiktokx-cropcenter:720:720.webp?dr=9640&refresh_token=7b4f0312&x-expires=1791345600&x-signature=dyWlKggP4EeRD4Ur71DJR2vCYTI%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast8",
"… 1 more items in the full response"
],
"width": 0
},
"cover_type": 1,
"cpp_version": 0,
"create_time": 1791168785,
"deco_list": [],
"deprecated10": "",
"…": "221 more fields in the full response"
},
"extra": {
"cache_version": 0,
"digg_color": 16759041,
"enter_boost_cache_version": 0,
"finished_perception_msg": "",
"is_official_channel": false,
"is_same_app_language": true,
"now": 1791173357899,
"pay_scores": 0,
"region": "US",
"room_base64_data": "",
"room_data": null,
"room_diff_fields_index": [],
"smart_do_enter_token": "",
"use_enter_boost_cache": 0,
"use_room_cache": false,
"user_enigma_subscription_state": 2,
"user_restricted_mode": 0
},
"status_code": 0
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Look up details and stream data for a specific room using its room_id. This endpoint provides metadata for TikTok broadcasts.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/live-room-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"room_id": "7385461256746060575"}'
| Name | Type | Required | Description |
|---|---|---|---|
room_id | string | Yes | Live room id |
room_id.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/live-room-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"room_id": "7693011018813426439"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
room_idstringจำเป็นLive room id
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"data": {
"AnchorABMap": {},
"add_ttls_product_ts": 0,
"adjust_display_order": 1,
"admin_ec_show_permission": {},
"admin_user_ids": [],
"age_restricted": {
"AgeInterval": 0,
"restricted": false,
"source": 0
},
"aigc_self_disclosure_switch": false,
"all_emoji_list": [],
"allow_preview_time": -1,
"anchor_live_pro_info": {
"banner_starling_key": "",
"gamer_banner_starling_key": "",
"is_live_pro": false,
"live_pro_type": 0,
"show_banner": false
},
"anchor_scheduled_time_text": "",
"anchor_share_text": "",
"anchor_tab_type": 7,
"answering_question_content": "",
"app_id": 1233,
"audio_mute": 0,
"auto_cover": 0,
"ba_leads_gen_info": {
"leads_gen_model": "",
"leads_gen_permission": false
},
"ba_link_info": {
"ba_link_data": "",
"ba_link_permission": 0
},
"biz_sticker_list": [],
"blurred_cover": {
"avg_color": "#EBFBFF",
"height": 100,
"image_type": 0,
"is_animated": false,
"open_web_url": "",
"uri": "tos-alisg-avt-0068/0776355531a417072c4262e9071f0c4a",
"url_list": [
"https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/0776355531a417072c4262e9071f0c4a~tplv-tiktokx-resize-blur:100:100:4.webp?dr=9616&refresh_token=7320624f&x-expires=1791194400&x-signature=vey69jotd4EKglfoTyXNBXd01T4%3D&t=4d5b0474&ps=13740610&shp=97fb53a0&shcp=2de197d8&idc=useast8&ftpl=1",
"https://p19-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/0776355531a417072c4262e9071f0c4a~tplv-tiktokx-resize-blur:100:100:4.webp?dr=9616&refresh_token=eae5b25f&x-expires=1791194400&x-signature=fBtySpkQoC1nVwBugGBzAqta9k8%3D&t=4d5b0474&ps=13740610&shp=97fb53a0&shcp=2de197d8&idc=useast8&ftpl=1",
"… 1 more items in the full response"
],
"width": 100
},
"book_end_time": 0,
"book_time": 0,
"business_live": 0,
"caption_info": {
"align_stream": false,
"location": 0,
"open": false,
"show_type": 0,
"support_lang": []
},
"challenge_info": "",
"client_version": 460800,
"comment_has_text_emoji_emote": 2,
"comment_name_mode": 0,
"commerce_info": {
"bottom_button_layout": 0,
"commerce_permission": 0,
"oec_live_enter_room_init_data": "",
"product_num": 0,
"use_async_load": false,
"use_new_promotion": 0
},
"commercial_content_toggle": {
"open_commercial_content_toggle": false,
"promote_myself": false,
"promote_third_party": false
},
"common_label_list": "",
"content_tag": "",
"continuous_room_quota_config": {
"1": {
"component_type": 1,
"count": 1,
"coutinuous_room_cnt": 3
}
},
"cover": {
"avg_color": "",
"height": 0,
"image_type": 0,
"is_animated": false,
"open_web_url": "",
"uri": "720x720/tos-alisg-avt-0068/0776355531a417072c4262e9071f0c4a",
"url_list": [
"https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/0776355531a417072c4262e9071f0c4a~tplv-tiktokx-cropcenter:720:720.webp?dr=9640&refresh_token=5b483cf1&x-expires=1791345600&x-signature=usU7bEACKzzyMzjaNoeynYNDsak%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast8",
"https://p19-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/0776355531a417072c4262e9071f0c4a~tplv-tiktokx-cropcenter:720:720.webp?dr=9640&refresh_token=7b4f0312&x-expires=1791345600&x-signature=dyWlKggP4EeRD4Ur71DJR2vCYTI%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast8",
"… 1 more items in the full response"
],
"width": 0
},
"cover_type": 1,
"cpp_version": 0,
"create_time": 1791168785,
"deco_list": [],
"deprecated10": "",
"…": "221 more fields in the full response"
},
"extra": {
"cache_version": 0,
"digg_color": 16759041,
"enter_boost_cache_version": 0,
"finished_perception_msg": "",
"is_official_channel": false,
"is_same_app_language": true,
"now": 1791173357899,
"pay_scores": 0,
"region": "US",
"room_base64_data": "",
"room_data": null,
"room_diff_fields_index": [],
"smart_do_enter_token": "",
"use_enter_boost_cache": 0,
"use_room_cache": false,
"user_enigma_subscription_state": 2,
"user_restricted_mode": 0
},
"status_code": 0
}
}
]สำรวจเพิ่มเติม
| 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-info โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: room_id (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส)
ไม่จำเป็น TikTok Broadcast Room Information ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก