Douyin Fetch User Live Videos
Retrieve live-stream data for a Douyin live room. Input: webcast_id (required string), the numeric identifier at the end of the live-room URL. For https://www.douyin.com/root/live/376034101029, use "376034101029". Pass the identifier, not the full URL. webcast_id is different from room_id and should not be replaced with it. Result: a response containing live-stream data in data, along with status information. data may be null, and its internal fields are not specified by the documented schema.
Pricing
| Condition | Charge |
|---|---|
| Each call | 2.07 credits/call |
2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
webcast_id | string | Yes | 直播间webcast_id/Room webcast_id | — |
Invocation example
Copy the request and explore its response example.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_douyin_fetch_user_live_videos' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"webcast_id": "380585749527"
}
}'{
"code": 200,
"data": {
"data": {
"auth_cert_info": "",
"data": [
{
"AnchorABMap": {},
"admin_user_ids": [],
"admin_user_ids_str": [],
"admin_user_open_ids": [],
"status": 4,
"title": "双十一康纳斯圳琦餐饮具专卖店"
}
],
"enter_mode": 0,
"enter_room_id": "7706713256919993114",
"partition_road_map": {},
"qrcode_url": ""
},
"extra": {
"now": 1794390084520
},
"status_code": 0
},
"docs": "https://api.tikhub.io/#/Douyin-Web-API/fetch_user_live_videos_api_v1_douyin_web_fetch_user_live_videos_get",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"params": {
"webcast_id": "380585749527"
}
}This example shows part of the response. Copied content is valid JSON.

