API DocsdouyinDataFetch live room history list
Fetch live room history list
What this API is for
- Get Douyin creator's live room history list
- View all live session data within a specified time range
- Support querying ongoing and historical live sessions
- **This API requires users to provide valid Douyin Creator Platform Cookie**
- **Use POST method, Cookie is transmitted in request body, more secure**
POST
/openapi/api/v1/douyin/creator_v2/fetch_live_room_history_listPrice:Price unavailable · Actual charges depend on free quota and account discounts
Authentication
All API requests require a Bearer project token in the Authorization header
Authorization header
Authorization: Bearer YOUR_API_TOKENRequest parameters
- cookie: User's Douyin Creator Platform Cookie (required, transmitted in request body)
- start_date: Start date in YYYY-MM-DD format (required, e.g., "2025-09-11")
- end_date: End date in YYYY-MM-DD format (required, e.g., "2025-10-11")
- limit: Limit per page, default 400, max 400
- need_living: Include ongoing live sessions (0=No, 1=Yes, default 1)
- download: Download flag (0=No download, 1=Download, default 0)
| Name | Location / type | Required | Notes | Example |
|---|---|---|---|---|
| cookie | body / string | Yes |
| Your_Cookie_Here |
| start_date | body / string | Yes |
| 2025-09-11 |
| end_date | body / string | Yes |
| 2025-10-11 |
| limit | body / integer | No |
| 400 |
| need_living | body / integer | No |
| 1 |
| download | body / integer | No |
| 0 |
Request body example
{
"cookie": "Your_Cookie_Here",
"start_date": "2025-09-11",
"end_date": "2025-10-11",
"limit": 400,
"need_living": 1,
"download": 0
}Request examples
curl -X POST "https://api.trmesh.com/openapi/api/v1/douyin/creator_v2/fetch_live_room_history_list" \ -H "Authorization: Bearer sdc_your_project_token"
Response fields
- Returns a list of live session history, data is located in data.data.series array, each session includes:
- **Basic Info**:
- roomID: Live room ID
- roomTitle: Live title
- coverUri: Live cover image URL
- startTime: Start time (format: "YYYY-MM-DD HH:mm:ss")
- endTime: End time (format: "YYYY-MM-DD HH:mm:ss")
- liveDurationWithoutPause: Duration without pause (format: "1 minute 5 seconds")
- playStatus: Play status (4=Ended)
- **Traffic Data**:
- watchCnt: Total watch count
- serverWatchUcntTdDirect: Direct watch user count (from server statistics)
- pcu: Peak Concurrent Users
- liveServerWatchDurationTdPavg: Average watch duration
- **Engagement Data**:
- serverLikeCntTd: Likes count
- clientCommentUcntTd: Comment user count
- liveNewFollowUcnt: New followers count
- **Consumption/Conversion Data**:
- liveConsumeUcnt: Consuming user count
- liveFansConsumeUcntTd: Fan consuming user count
- roomLiveEarnScore: Live room earn score
| Field | Type | Notes | Example |
|---|---|---|---|
| roomID | unknown |
| |
| roomTitle | unknown |
| |
| coverUri | unknown |
| |
| startTime | unknown |
| |
| endTime | unknown |
| |
| liveDurationWithoutPause | unknown |
| |
| playStatus | unknown |
| |
| watchCnt | unknown |
| |
| serverWatchUcntTdDirect | unknown |
| |
| pcu | unknown |
| |
| liveServerWatchDurationTdPavg | unknown |
| |
| serverLikeCntTd | unknown |
| |
| clientCommentUcntTd | unknown |
| |
| liveNewFollowUcnt | unknown |
| |
| liveConsumeUcnt | unknown |
| |
| liveFansConsumeUcntTd | unknown |
| |
| roomLiveEarnScore | unknown |
|
Common response envelope
Common fields for response status, request identifiers and data
| Field | Type | Notes | Example |
|---|---|---|---|
| code | integer |
| |
| request_id | string | null |
| |
| message | string |
| |
| message_zh | string |
| |
| support | string |
| |
| time | string |
| |
| time_stamp | integer |
| |
| time_zone | string |
| |
| docs | string | null |
| |
| cache_message | string | null |
| |
| cache_message_zh | string | null |
| |
| cache_url | string | null |
| |
| router | string |
| |
| params | unknown |
| |
| data | unknown | null |
|
Response example
{
"data": {
"code": 0,
"componentID": "",
"data": {
"series": [
{
"clientCommentUcntTd": "0",
"coverUri": "https://p3-webcast-sign.douyinpic.com/...",
"endTime": "2025-11-20 13:52:20",
"liveConsumeUcnt": "1",
"liveDurationWithoutPause": "1分钟5秒",
"liveFansConsumeUcntTd": "1",
"liveNewFollowUcnt": "0",
"liveServerWatchDurationTdPavg": "0.5666666666666667",
"pcu": "1",
"playStatus": "4",
"roomID": "75746809889xxxxxx",
"roomLiveEarnScore": "1",
"roomTitle": "xxxxxxxx",
"serverLikeCntTd": "0",
"serverWatchUcntTdDirect": "1",
"startTime": "2025-11-20 13:51:15",
"watchCnt": "1"
}
]
},
"meta": ""
}
}Errors and limits
The docs cover not only success responses, but also auth failures, rate limits, and data-service errors
| Code | Meaning | Notes |
|---|---|---|
| 200 | Success | The request completed and returned the standard response envelope. |
| 401 | Unauthorized | The token is missing, invalid, or no longer active. |
| 429 | Rate limited | The request exceeded token, user, or plan-level throughput limits. |
| 502 | Service unavailable | The gateway could not obtain a healthy result. Retry in a moment. |
Next steps
New to the API? Read the guide or explore examples