webcast_idstringwajib
Room webcast_id
https://api.sandbase.ai/v1/api/douyin/web/user-live-videosRetrieves user broadcast video data from Douyin Web using a specific room identifier. Input the webcast ID to look up associated room records.
[
{
"data": {
"data": {
"auth_cert_info": "{\"CertDataMap\":{\"3988645375122519\":{\"CertLabelList\":[],\"DataMap\":{}}},\"BaseResp\":{\"StatusMessage\":\"\",\"StatusCode\":0}}",
"data": [
{
"AnchorABMap": {
"ab_admin_comment_on_wall": "0",
"ab_friend_chat": "4",
"admin_optimize_third": "1",
"admin_pin_ab_group": "1",
"admin_privilege_refine": "2",
"admin_screen_chat_value": "1",
"ai_container": "1",
"allow_join_guest_fansclub": "1",
"allow_shared_to_fans": "false",
"anchor_battle_enable_remote_pk": "1",
"anchor_battle_frame_notice_bar_layout": "1",
"anchor_other_device": "1",
"anchor_public_user_feature_suffix": "1",
"anchor_public_user_feature_suffix_v2": "1",
"anchor_public_user_feature_suffix_v3": "1",
"audience_linkmic_continue": "2",
"audio_1v8_stage_enlarge": "1",
"audio_double_enlarge_enable": "1",
"audio_goal_challenge": "1",
"audio_honor_rank": "1",
"audio_radio_v2": "1",
"audio_room_subtitle_opt": "3",
"audio_subtitle_default_open": "2",
"battle_match_rebuild_anchor": "2",
"big_party_enable_open_camera": "2",
"chat_intercommunicate_multi_anchor": "2",
"chat_intercommunicate_pk": "2",
"cold_start": "1",
"cross_default_enlarge": "1",
"cross_link_support_enlarge_guest": "1",
"cross_room_battle_pop_mode": "1",
"double_enlarge_enable": "1",
"ecom_room_disable_gift": "0",
"enable_enter_by_sharing": "2",
"enable_link_guest_enter": "2",
"enable_linkmic_manage_panel": "true",
"enable_multi_pk_change_sofa_position": "1",
"enter_message_tip_relation": "0",
"enter_source_mark": "0",
"faction_clash": "1",
"…": "139 more fields in the full response"
},
"admin_user_ids": [
4100493553706215,
1235498264700253,
"… 3 more items in the full response"
],
"admin_user_ids_str": [
"4100493553706215",
"1235498264700253",
"… 3 more items in the full response"
],
"admin_user_open_ids": [],
"admin_user_open_ids_str": [],
"basis": {
"foreign_user_room": 0,
"is_customize_audio_room": false,
"need_request_luckybox": 0,
"next_ping": 300,
"secret_room": 0
},
"cover": {
"url_list": [
"https://p3-webcast-sign.douyinpic.com/image-cut-tos-priv/17d9d94b5e72c72d6a27dd77d07cb411~tplv-qz53dukwul-common-resize:0:0.image?biz_tag=app_6383_webcast&from=webcast.room.pack&l=202608140131181A454B74D538629B2BB4&lk3s=39e7556e&s=enter_room&sc=webcast_cover&x-expires=1789234278&x-signature=Tv66iq8%…",
"https://p11-webcast-sign.douyinpic.com/image-cut-tos-priv/17d9d94b5e72c72d6a27dd77d07cb411~tplv-qz53dukwul-common-resize:0:0.image?biz_tag=app_6383_webcast&from=webcast.room.pack&l=202608140131181A454B74D538629B2BB4&lk3s=39e7556e&s=enter_room&sc=webcast_cover&x-expires=1789234278&x-signature=nleYGtv…"
]
},
"ecom_data": {
"instant_type": 0,
"intro_type": 0,
"reds_show_infos": [],
"route_rule": "",
"shop_author_header": ""
},
"fansclub_msg_style": 2,
"follow_msg_style": 2,
"game_data": {
"game_tag_info": {
"game_tag_id": 0,
"game_tag_name": "",
"is_game": 2
}
},
"gift_msg_style": 2,
"has_commerce_goods": false,
"id_str": "7673558501814848306",
"like_count": 53,
"linker_detail": {
"accept_audience_pre_apply": true,
"big_party_layout_config_version": 0,
"client_ui_info": "",
"enable_audience_linkmic": 0,
"enlarge_guest_turn_on_source": 0,
"feature_list": [],
"forbid_apply_from_other": false,
"function_type": "",
"init_source": "",
"ktv_exhibit_mode": 0,
"ktv_lyric_mode": "",
"linker_map_str": {},
"linker_play_modes": [],
"linker_ui_layout": 0,
"manual_open_ui": 0,
"playmode_detail": {}
},
"linker_map": {},
"live_room_mode": 0,
"mosaic_status": 0,
"mosaic_status_str": "0",
"others": {
"anchor_together_live": {
"is_show": true,
"is_together_live": 0,
"scene": 1,
"schema_url": "",
"title": "",
"user_list": []
},
"appointment_info": {
"appointment_id": 0,
"is_subscribe": false
},
"cloud_collaborate_data": {
"collaborate_room_id": 0,
"collaborate_room_id_str": "",
"rejoin_time": 0
},
"deco_detail": {},
"labels": {},
"lvideo_item_id": 0,
"metric_tracker_data_list": [],
"more_panel_info": {
"load_strategy": 3
},
"mosaic_version": 0,
"panel_guidance": "",
"participant_activity": "",
"programme": {
"enable_programme": false
},
"recognition_containers": {
"recognition_candidates": []
},
"redirect_from": 0,
"room_chat_guide_locale_city": "美国",
"web_live_port_optimization": {
"strategy_config": {
"background": "…",
"detail": "…",
"tab": "…"
},
"strategy_extra": ""
},
"web_skin": {
"enable_skin": false
}
},
"owner": {
"avatar_thumb": {
"url_list": [
"https://p11.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_b0e91c5733379646cc3e7b5de745ac3d.jpeg?from=3067671334",
"https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_b0e91c5733379646cc3e7b5de745ac3d.jpeg?from=3067671334",
"… 1 more items in the full response"
]
},
"follow_info": {
"follow_status": 0,
"follow_status_str": "0"
},
"foreign_user": 0,
"id_str": "3988645375122519",
"nickname": "周周大王👑(努力版)",
"open_id_str": "",
"sec_uid": "MS4wLjABAAAA1cXydqTuD4yjW6X0KXNirzUIzu-GXkkzSAczHlg-JAqk_aZoNa3TJEhq8cfLa_eh",
"subscribe": {
"buy_type": 0,
"identity_type": 0,
"is_member": false,
"level": 0,
"open": 0
}
},
"owner_open_id_str": "",
"owner_user_id_str": "",
"paid_live_data": {
"anchor_right": 0,
"delivery": 0,
"duration": 0,
"max_preview_duration": 0,
"need_delivery_notice": false,
"paid_type": 0,
"pay_ab_type": 0,
"privilege_info": {},
"privilege_info_map": {},
"view_right": 0
},
"pico_info": {
"client_live_type": 0,
"custom_info": "",
"pico_create_scene": "",
"pico_live_mode": 0,
"pico_live_type": 0,
"pico_virtual_live_bg_image_digest": "",
"pico_virtual_live_bg_image_uri": "",
"pico_vr_transfer": 0,
"pitch": 0,
"stream_mapping": {},
"virtual_live_bg_images": {
"converted_images": [],
"converted_list": [],
"is_upright": false,
"original_digest": ""
}
},
"preview_expose": {
"alive_checker": 0,
"chat_group_extend_data": [],
"chat_msgs": [],
"et_data": [],
"feed_enter_extra": "",
"feed_extra": "",
"force_insertion": [],
"is_aweme_video_feed": false,
"is_preview_use_websocket": 0,
"message_scroll_after_ms": 0,
"message_scroll_interval_ms": 0,
"metas": [],
"need_realtime": false,
"preview_enter_extra": "",
"preview_exit_guide_list": [],
"preview_intro": "",
"scroll_after_ms": 0,
"show_name_abbreviation": 0,
"show_preview_cards": false,
"show_similar_feed_button": false,
"show_uv_pv": 0,
"style": 0
},
"req_user": {
"enter_user_device_type": 0,
"user_share_room_score": 0
},
"room_auth": {
"AdminCommentWall": 0,
"AnchorMission": 0,
"AudioChat": 1,
"Banner": 1,
"BulletStyle": 0,
"CanSellTicket": 0,
"CastScreen": 1,
"CastScreenExplicit": 2,
"Chat": true,
"Collect": 2,
"CommentWall": 1,
"CommerceCard": 1,
"CommerceComponent": 1,
"Danmaku": true,
"DanmakuDefault": 0,
"Denounce": 0,
"Digg": true,
"Dislike": 0,
"DonationSticker": 0,
"DouPlus": 1,
"DouPlusPopularityGem": 0,
"DownloadVideo": 0,
"EmojiOutside": 0,
"EnterEffects": 0,
"ExpandScreen": 2,
"FansClub": 1,
"FansGroup": 2,
"FirstFeedHistChat": 1,
"FixedChat": 2,
"GamePointsPlaying": 2,
"Gift": true,
"GiftAnchorMt": 0,
"Highlights": 2,
"HourRank": 0,
"IndustryService": 0,
"KtvOrderSong": 2,
"Landscape": 1,
"LandscapeChat": 1,
"Like": 0,
"LongTouch": 2,
"…": "32 more fields in the full response"
},
"room_cart": {
"cart_icon": "",
"contain_cart": false,
"flash_total": 0,
"show_cart": 0,
"total": 0
},Pilih contoh untuk memuat input dan hasilnya ke playground.
This API returns the live room record for a Douyin room, looked up by webcast_id. The response includes the room ID, title, status, and basic details of the host account.
webcast_id.sec_uid and nickname so you can call a user profile API for that account.curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/user-live-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"webcast_id": "376034101029"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
webcast_id | string | Yes | Room webcast_id |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"auth_cert_info": "",
"data": [
{
"AnchorABMap": {},
"admin_user_ids": [],
"admin_user_ids_str": [],
"admin_user_open_ids": [],
"admin_user_open_ids_str": [],
"fansclub_msg_style": 0,
"follow_msg_style": 0,
"gift_msg_style": 0,
"has_commerce_goods": false,
"id_str": "7703585232380857123",
"like_count": 0,
"linker_map": {}
}
],
"enter_mode": 0,
"enter_room_id": "7703585232380857123",
"partition_road_map": {},
"qrcode_url": "",
"room_status": 2,
"shark_decision_conf": "",
"similar_rooms": [],
"user": {
"avatar_thumb": {
"url_list": [
"https://p11.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_3d5484c1ffb…"
]
},
"follow_info": {
"follow_status": 0,
"follow_status_str": "0"
},
"foreign_user": 0,
"id_str": "1722258143337120",
"nickname": "邓雨馨",
"open_id_str": "",
"sec_uid": "MS4wLjABAAAAfa6fIQF7wchh5UAYU6WgfR00rGeUCzBk5YBKsz-r4Ocza5JivsqLC0qild84a_pE"
}
},
"extra": {
"now": 1793691154095
},
"status_code": 0
}
| Field | Meaning |
|---|---|
data.enter_room_id | ID of the room that matches the webcast_id. Use it as the room ID in other live room calls. |
data.room_status | Numeric status of the room as a whole. The response gives no label for the values. |
data.data[].id_str | Room ID as a string. In this response it equals data.enter_room_id. |
data.data[].title | Title of the live room, as set by the host. |
data.data[].status / data.data[].status_str | Numeric status of the room entry and the same value as a string. |
data.data[].user_count_str | Viewer count for the room, given as a string. |
data.data[].like_count | Like count for the room. |
data.data[].has_commerce_goods | Shows true if the room has commerce goods attached, false if not. |
data.user.nickname | Display name of the host. |
data.user.sec_uid | Encrypted user ID of the host. Use it with APIs that take a sec_user_id. |
data.user.id_str | Numeric ID of the host, as a string. |
data.user.avatar_thumb.url_list[] | Image URLs for the host's small avatar (100x100). |
webcast_id as a string. Use Douyin Webcast ID Extraction to pull it from live room links.data.user.sec_uid with Douyin User Profile (Web) to load the host's profile.extra.now holds a numeric timestamp for the response, and status_code is 0 on success.admin_user_ids and similar_rooms, are empty or zero.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/user-live-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"webcast_id": "153857447459"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
webcast_idstringwajibRoom webcast_id
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"data": {
"data": {
"auth_cert_info": "{\"CertDataMap\":{\"3988645375122519\":{\"CertLabelList\":[],\"DataMap\":{}}},\"BaseResp\":{\"StatusMessage\":\"\",\"StatusCode\":0}}",
"data": [
{
"AnchorABMap": {
"ab_admin_comment_on_wall": "0",
"ab_friend_chat": "4",
"admin_optimize_third": "1",
"admin_pin_ab_group": "1",
"admin_privilege_refine": "2",
"admin_screen_chat_value": "1",
"ai_container": "1",
"allow_join_guest_fansclub": "1",
"allow_shared_to_fans": "false",
"anchor_battle_enable_remote_pk": "1",
"anchor_battle_frame_notice_bar_layout": "1",
"anchor_other_device": "1",
"anchor_public_user_feature_suffix": "1",
"anchor_public_user_feature_suffix_v2": "1",
"anchor_public_user_feature_suffix_v3": "1",
"audience_linkmic_continue": "2",
"audio_1v8_stage_enlarge": "1",
"audio_double_enlarge_enable": "1",
"audio_goal_challenge": "1",
"audio_honor_rank": "1",
"audio_radio_v2": "1",
"audio_room_subtitle_opt": "3",
"audio_subtitle_default_open": "2",
"battle_match_rebuild_anchor": "2",
"big_party_enable_open_camera": "2",
"chat_intercommunicate_multi_anchor": "2",
"chat_intercommunicate_pk": "2",
"cold_start": "1",
"cross_default_enlarge": "1",
"cross_link_support_enlarge_guest": "1",
"cross_room_battle_pop_mode": "1",
"double_enlarge_enable": "1",
"ecom_room_disable_gift": "0",
"enable_enter_by_sharing": "2",
"enable_link_guest_enter": "2",
"enable_linkmic_manage_panel": "true",
"enable_multi_pk_change_sofa_position": "1",
"enter_message_tip_relation": "0",
"enter_source_mark": "0",
"faction_clash": "1",
"…": "139 more fields in the full response"
},
"admin_user_ids": [
4100493553706215,
1235498264700253,
"… 3 more items in the full response"
],
"admin_user_ids_str": [
"4100493553706215",
"1235498264700253",
"… 3 more items in the full response"
],
"admin_user_open_ids": [],
"admin_user_open_ids_str": [],
"basis": {
"foreign_user_room": 0,
"is_customize_audio_room": false,
"need_request_luckybox": 0,
"next_ping": 300,
"secret_room": 0
},
"cover": {
"url_list": [
"https://p3-webcast-sign.douyinpic.com/image-cut-tos-priv/17d9d94b5e72c72d6a27dd77d07cb411~tplv-qz53dukwul-common-resize:0:0.image?biz_tag=app_6383_webcast&from=webcast.room.pack&l=202608140131181A454B74D538629B2BB4&lk3s=39e7556e&s=enter_room&sc=webcast_cover&x-expires=1789234278&x-signature=Tv66iq8%…",
"https://p11-webcast-sign.douyinpic.com/image-cut-tos-priv/17d9d94b5e72c72d6a27dd77d07cb411~tplv-qz53dukwul-common-resize:0:0.image?biz_tag=app_6383_webcast&from=webcast.room.pack&l=202608140131181A454B74D538629B2BB4&lk3s=39e7556e&s=enter_room&sc=webcast_cover&x-expires=1789234278&x-signature=nleYGtv…"
]
},
"ecom_data": {
"instant_type": 0,
"intro_type": 0,
"reds_show_infos": [],
"route_rule": "",
"shop_author_header": ""
},
"fansclub_msg_style": 2,
"follow_msg_style": 2,
"game_data": {
"game_tag_info": {
"game_tag_id": 0,
"game_tag_name": "",
"is_game": 2
}
},
"gift_msg_style": 2,
"has_commerce_goods": false,
"id_str": "7673558501814848306",
"like_count": 53,
"linker_detail": {
"accept_audience_pre_apply": true,
"big_party_layout_config_version": 0,
"client_ui_info": "",
"enable_audience_linkmic": 0,
"enlarge_guest_turn_on_source": 0,
"feature_list": [],
"forbid_apply_from_other": false,
"function_type": "",
"init_source": "",
"ktv_exhibit_mode": 0,
"ktv_lyric_mode": "",
"linker_map_str": {},
"linker_play_modes": [],
"linker_ui_layout": 0,
"manual_open_ui": 0,
"playmode_detail": {}
},
"linker_map": {},
"live_room_mode": 0,
"mosaic_status": 0,
"mosaic_status_str": "0",
"others": {
"anchor_together_live": {
"is_show": true,
"is_together_live": 0,
"scene": 1,
"schema_url": "",
"title": "",
"user_list": []
},
"appointment_info": {
"appointment_id": 0,
"is_subscribe": false
},
"cloud_collaborate_data": {
"collaborate_room_id": 0,
"collaborate_room_id_str": "",
"rejoin_time": 0
},
"deco_detail": {},
"labels": {},
"lvideo_item_id": 0,
"metric_tracker_data_list": [],
"more_panel_info": {
"load_strategy": 3
},
"mosaic_version": 0,
"panel_guidance": "",
"participant_activity": "",
"programme": {
"enable_programme": false
},
"recognition_containers": {
"recognition_candidates": []
},
"redirect_from": 0,
"room_chat_guide_locale_city": "美国",
"web_live_port_optimization": {
"strategy_config": {
"background": "…",
"detail": "…",
"tab": "…"
},
"strategy_extra": ""
},
"web_skin": {
"enable_skin": false
}
},
"owner": {
"avatar_thumb": {
"url_list": [
"https://p11.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_b0e91c5733379646cc3e7b5de745ac3d.jpeg?from=3067671334",
"https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_b0e91c5733379646cc3e7b5de745ac3d.jpeg?from=3067671334",
"… 1 more items in the full response"
]
},
"follow_info": {
"follow_status": 0,
"follow_status_str": "0"
},
"foreign_user": 0,
"id_str": "3988645375122519",
"nickname": "周周大王👑(努力版)",
"open_id_str": "",
"sec_uid": "MS4wLjABAAAA1cXydqTuD4yjW6X0KXNirzUIzu-GXkkzSAczHlg-JAqk_aZoNa3TJEhq8cfLa_eh",
"subscribe": {
"buy_type": 0,
"identity_type": 0,
"is_member": false,
"level": 0,
"open": 0
}
},
"owner_open_id_str": "",
"owner_user_id_str": "",
"paid_live_data": {
"anchor_right": 0,
"delivery": 0,
"duration": 0,
"max_preview_duration": 0,
"need_delivery_notice": false,
"paid_type": 0,
"pay_ab_type": 0,
"privilege_info": {},
"privilege_info_map": {},
"view_right": 0
},
"pico_info": {
"client_live_type": 0,
"custom_info": "",
"pico_create_scene": "",
"pico_live_mode": 0,
"pico_live_type": 0,
"pico_virtual_live_bg_image_digest": "",
"pico_virtual_live_bg_image_uri": "",
"pico_vr_transfer": 0,
"pitch": 0,
"stream_mapping": {},
"virtual_live_bg_images": {
"converted_images": [],
"converted_list": [],
"is_upright": false,
"original_digest": ""
}
},
"preview_expose": {
"alive_checker": 0,
"chat_group_extend_data": [],
"chat_msgs": [],
"et_data": [],
"feed_enter_extra": "",
"feed_extra": "",
"force_insertion": [],
"is_aweme_video_feed": false,
"is_preview_use_websocket": 0,
"message_scroll_after_ms": 0,
"message_scroll_interval_ms": 0,
"metas": [],
"need_realtime": false,
"preview_enter_extra": "",
"preview_exit_guide_list": [],
"preview_intro": "",
"scroll_after_ms": 0,
"show_name_abbreviation": 0,
"show_preview_cards": false,
"show_similar_feed_button": false,
"show_uv_pv": 0,
"style": 0
},
"req_user": {
"enter_user_device_type": 0,
"user_share_room_score": 0
},
"room_auth": {
"AdminCommentWall": 0,
"AnchorMission": 0,
"AudioChat": 1,
"Banner": 1,
"BulletStyle": 0,
"CanSellTicket": 0,
"CastScreen": 1,
"CastScreenExplicit": 2,
"Chat": true,
"Collect": 2,
"CommentWall": 1,
"CommerceCard": 1,
"CommerceComponent": 1,
"Danmaku": true,
"DanmakuDefault": 0,
"Denounce": 0,
"Digg": true,
"Dislike": 0,
"DonationSticker": 0,
"DouPlus": 1,
"DouPlusPopularityGem": 0,
"DownloadVideo": 0,
"EmojiOutside": 0,
"EnterEffects": 0,
"ExpandScreen": 2,
"FansClub": 1,
"FansGroup": 2,
"FirstFeedHistChat": 1,
"FixedChat": 2,
"GamePointsPlaying": 2,
"Gift": true,
"GiftAnchorMt": 0,
"Highlights": 2,
"HourRank": 0,
"IndustryService": 0,
"KtvOrderSong": 2,
"Landscape": 1,
"LandscapeChat": 1,
"Like": 0,
"LongTouch": 2,
"…": "32 more fields in the full response"
},
"room_cart": {
"cart_icon": "",
"contain_cart": false,
"flash_total": 0,
"show_cart": 0,
"total": 0
},
"room_view_stats": {
"display_long": "13在线观众",
"display_long_anchor": "13在线观众",
"display_middle": "13",
"display_middle_anchor": "13",
"display_short": "13",
"display_short_anchor": "13",
"display_type": 1,
"display_value": 13,
"display_version": 1663849727,
"incremental": false,
"is_hidden": false
},
"scene_type_info": {
"commentary_type": false,
"is_desire_room": 2,
"is_lasted_goods_room": 2,
"is_life": false,
"is_protected_room": 0,
"is_sub_orientation_vertical_room": 2,
"is_union_live_room": false
},
"share_msg_style": 2,
"short_touch_area_config": {
"big_card_display_strategy": {},
"elements": {
"1": {
"priority": 1,
"type": 1
},
"2": {
"priority": 1,
"type": 2
},
"3": {
"priority": 1,
"type": 3
},
"4": {
"priority": 3,
"type": 4
},
"5": {
"priority": 4,
"type": 5
},
"6": {
"priority": 3,
"type": 6
},
"7": {
"priority": 3,
"type": 7
},
"8": {
"priority": 3,
"type": 8
},
"9": {
"priority": 3,
"type": 9
},
"10": {
"priority": 3,
"type": 10
},
"12": {
"priority": 3,
"type": 12
},
"22": {
"priority": 1,
"type": 22
},
"27": {
"priority": 3,
"type": 27
},
"30": {
"priority": 2,
"type": 30
}
},
"forbidden_types_map": {},
"strategy_feat_whitelist": [
"feat_coin_lottery_amount",
"feat_redpack_amount",
"… 7 more items in the full response"
],
"temp_state_condition_map": {
"1": {
"minimum_gap": 900,
"type": "…"
},
"2": {
"minimum_gap": 900,
"type": "…"
},
"3": {
"minimum_gap": 900,
"type": "…"
},
"4": {
"minimum_gap": 0,
"type": "…"
},
"5": {
"minimum_gap": 0,
"type": "…"
},
"6": {
"minimum_gap": 0,
"type": "…"
},
"7": {
"minimum_gap": 0,
"type": "…"
}
},
"temp_state_global_condition": {
"allow_count": 1,
"duration_gap": 300,
"ignore_strategy_types": [
4
]
},
"temp_state_strategy": {
"4": {
"short_touch_type": 4,
"strategy_map": "…"
},
"7": {
"short_touch_type": 7,
"strategy_map": "…"
},
"8": {
"short_touch_type": 8,
"strategy_map": "…"
},
"86": {
"short_touch_type": 86,
"strategy_map": "…"
},
"97": {
"short_touch_type": 97,
"strategy_map": "…"
},
"136": {
"short_touch_type": 136,
"strategy_map": "…"
},
"141": {
"short_touch_type": 141,
"strategy_map": "…"
},
"149": {
"short_touch_type": 149,
"strategy_map": "…"
},
"152": {
"short_touch_type": 152,
"strategy_map": "…"
},
"153": {
"short_touch_type": 153,
"strategy_map": "…"
},
"159": {
"short_touch_type": 159,
"strategy_map": "…"
},
"161": {
"short_touch_type": 161,
"strategy_map": "…"
},
"210": {
"short_touch_type": 210,
"strategy_map": "…"
},
"217": {
"short_touch_type": 217,
"strategy_map": "…"
},
"222": {
"short_touch_type": 222,
"strategy_map": "…"
},
"228": {
"short_touch_type": 228,
"strategy_map": "…"
},
"229": {
"short_touch_type": 229,
"strategy_map": "…"
},
"230": {
"short_touch_type": 230,
"strategy_map": "…"
},
"306": {
"short_touch_type": 306,
"strategy_map": "…"
},
"307": {
"short_touch_type": 307,
"strategy_map": "…"
},
"308": {
"short_touch_type": 308,
"strategy_map": "…"
},
"311": {
"short_touch_type": 311,
"strategy_map": "…"
},
"312": {
"short_touch_type": 312,
"strategy_map": "…"
},
"313": {
"short_touch_type": 313,
"strategy_map": "…"
}
}
},
"stats": {
"like_count": 0,
"total_user_desp": "",
"total_user_str": "171",
"user_count_str": "13"
},
"status": 2,
"status_str": "2",
"stream_url": {
"default_resolution": "HD1",
"extra": {
"anchor_interact_profile": 0,
"audience_interact_profile": 0,
"bframe_enable": false,
"bitrate_adapt_strategy": 0,
"bytevc1_enable": false,
"default_bitrate": 0,
"fps": 0,
"gop_sec": 0,
"h265_enable": false,
"hardware_encode": false,
"height": 1920,
"max_bitrate": 0,
"min_bitrate": 0,
"roi": false,
"sw_roi": false,
"video_profile": 0,
"width": 1080
},
"flv_pull_url": {
"FULL_HD1": "http://pull-flv-l26.douyincdn.com/stage/stream-119899349238677643_or4.flv?expire=6a8739e6&sign=587808a3029f5bb369acbdad15ccda98&exp_hrchy=w1&arch_hrchy=w1&major_anchor_level=common&unique_id=stream-119899349238677643_139_flv_or4&t_id=037-202608140131181A454B74D538629B2BB4-sG93qi",
"HD1": "http://pull-flv-l26.douyincdn.com/stage/stream-119899349238677643_Stage0T000hd.flv?expire=6a8739e6&sign=0602d9c4ac6acb0fb8473b7514b807e8&arch_hrchy=w1&exp_hrchy=w1&major_anchor_level=common&unique_id=stream-119899349238677643_139_flv_Stage0T000hd&t_id=037-202608140131181A454B74D538629B2BB4-sG93qi",
"SD1": "http://pull-flv-l26.douyincdn.com/stage/stream-119899349238677643_Stage0T000ld.flv?expire=6a8739e6&sign=bbd33f7e282c1461cefb9f612e455722&arch_hrchy=w1&major_anchor_level=common&exp_hrchy=w1&unique_id=stream-119899349238677643_139_flv_Stage0T000ld&t_id=037-202608140131181A454B74D538629B2BB4-sG93qi",
"SD2": "http://pull-flv-l26.douyincdn.com/stage/stream-119899349238677643_Stage0T000sd.flv?expire=6a8739e6&sign=6581022dfab53026eeff5045b3b52759&arch_hrchy=w1&exp_hrchy=w1&major_anchor_level=common&unique_id=stream-119899349238677643_139_flv_Stage0T000sd&t_id=037-202608140131181A454B74D538629B2BB4-sG93qi"
},
"hls_pull_url": "http://pull-hls-l26.douyincdn.com/stage/stream-119899349238677643_or4.m3u8?expire=6a8739e6&sign=05d3f71db95348e9dc0755688df872b6&exp_hrchy=w1&arch_hrchy=w1&major_anchor_level=common&t_id=037-202608140131181A454B74D538629B2BB4-sG93qi",
"hls_pull_url_map": {
"FULL_HD1": "http://pull-hls-l26.douyincdn.com/stage/stream-119899349238677643_or4.m3u8?expire=6a8739e6&sign=05d3f71db95348e9dc0755688df872b6&exp_hrchy=w1&arch_hrchy=w1&major_anchor_level=common&t_id=037-202608140131181A454B74D538629B2BB4-sG93qi",
"HD1": "http://pull-hls-l26.douyincdn.com/stage/stream-119899349238677643_Stage0T000hd.m3u8?expire=6a8739e6&sign=e548b572158d74bb362480f1a4e50de7&arch_hrchy=w1&exp_hrchy=w1&major_anchor_level=common&t_id=037-202608140131181A454B74D538629B2BB4-sG93qi",
"SD1": "http://pull-hls-l26.douyincdn.com/stage/stream-119899349238677643_Stage0T000ld.m3u8?expire=6a8739e6&sign=09b7da6d87bae68d14ba9c6e20ccc287&exp_hrchy=w1&arch_hrchy=w1&major_anchor_level=common&t_id=037-202608140131181A454B74D538629B2BB4-sG93qi",
"SD2": "http://pull-hls-l26.douyincdn.com/stage/stream-119899349238677643_Stage0T000sd.m3u8?expire=6a8739e6&sign=ce93c6a19edc669664fb3357b0d6cd26&major_anchor_level=common&arch_hrchy=w1&exp_hrchy=w1&t_id=037-202608140131181A454B74D538629B2BB4-sG93qi"
},
"live_core_sdk_data": {
"pull_data": {
"options": "…",
"stream_data": "{\"common\":{\"ts\":\"1786642278\",\"session_id\":\"037-202608140131181A454B74D538629B2BB4-sG93qi\",\"stream\":\"119899349238677643\",\"version\":0,\"rule_ids\":\"{\\\"ab_version_trace\\\":null,\\\"sched\\\":\\\"{\\\\\\\"result\\\\\\\":{\\\\\\\"hit\\\\\\\":\\\\\\\"default\\\\\\\",\\\\\\\"cdn\\\\\\\":185}}\\\"}\",\"common_trace\":\"{\\\"StrategyTrace\\\":{\\\"Neptune\\\":{\\…"
}
},
"pull_datas": {},
"stream_orientation": 1
},
"title": "不进来邦邦两拳",
"toolbar_data": {
"entrance_list": [
{
"component_type": 24,
"data_status": 1,
"extra": "",
"group_id": 5,
"op_type": 0,
"schema_url": "",
"show_type": 1,
"text": "更多"
},
{
"component_type": 29,
"data_status": 1,
"extra": "{\"id\":463,\"name\":\"小心心\",\"type\":1,\"diamond_count\":1,\"combo\":true,\"image\":{\"url_list\":[\"https://p3-webcast.douyinpic.com/img/webcast/7ef47758a435313180e6b78b056dda4e.png~tplv-obj.image\",\"https://p11-webcast.douyinpic.com/img/webcast/7ef47758a435313180e6b78b056dda4e.png~tplv-obj.image\"],\"uri\":\"webcast/7…",
"group_id": 6,
"icon": "…",
"op_type": 0,
"schema_url": "",
"show_type": 3,
"text": "快捷送礼"
},
"… 3 more items in the full response"
],
"extra_info": {
"game_promotion_coexist": 0
},
"landscape_up_right": [],
"max_entrance_cnt": 4,
"max_entrance_cnt_landscape": 4,
"more_panel": [
{
"component_type": 20,
"data_status": 1,
"extra": "{\"ShareStory\":1}",
"group_id": 1,
"op_type": 0,
"schema_url": "",
"show_type": 1,
"text": "分享"
},
{
"component_type": 31,
"data_status": 1,
"extra": "",
"group_id": 10,
"op_type": 0,
"schema_url": "",
"show_type": 1,
"text": "聊天频道"
}
],
"permutation": {
"block_component_list": [],
"general": {
"ComponentSequence": "… 32 items in the full response",
"GroupPriority": "… 21 items in the full response"
},
"on_demand_component_list": []
},
"skin_resource": {}
},
"…": "1 more fields in the full response"
}
],
"enter_mode": 0,
"enter_room_id": "7673558501814848306",
"extra": {
"digg_color": "0",
"is_official_channel": false,
"pay_scores": "0",
"signature": "",
"vr_type": 0
},
"login_lead": {
"is_login": true,
"items": {},
"level": 0
},
"partition_road_map": {},
"qrcode_url": "https://p3-pc.douyinpic.com/img/aweme-qrcode/btoaAK7673558860262606627~c5_720x720.webp?from=746027608",
"room_status": 0,
"shark_decision_conf": "",
"similar_rooms": [],
"user": {
"avatar_thumb": {
"url_list": [
"https://p26.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_b0e91c5733379646cc3e7b5de745ac3d.jpeg?from=3067671334",
"https://p11.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_b0e91c5733379646cc3e7b5de745ac3d.jpeg?from=3067671334",
"… 1 more items in the full response"
]
},
"follow_info": {
"follow_status": 0,
"follow_status_str": "0"
},
"foreign_user": 0,
"id_str": "3988645375122519",
"nickname": "周周大王👑(努力版)",
"open_id_str": "",
"sec_uid": "MS4wLjABAAAA1cXydqTuD4yjW6X0KXNirzUIzu-GXkkzSAczHlg-JAqk_aZoNa3TJEhq8cfLa_eh"
},
"web_stream_url": {
"default_resolution": "",
"flv_pull_url": {},
"hls_pull_url": "",
"hls_pull_url_map": {},
"pull_datas": {},
"stream_orientation": 0
}
},
"extra": {
"now": 1786642278973
},
"status_code": 0
}
}
]Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.03 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/web/user-live-videos dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: webcast_id (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Douyin User Webcast Video Records berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Douyin secara terpisah.