Fetch live room history list

Browse registered social-data routes across platforms, then dive into detailed reference docs

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_list

Price: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 headerAuthorization: Bearer YOUR_API_TOKEN

Request 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)
NameLocation / typeRequiredNotesExample
cookiebody / stringYes
  • User Cookie
Your_Cookie_Here
start_datebody / stringYes
  • Start date (format YYYY-MM-DD)
2025-09-11
end_datebody / stringYes
  • End date (format YYYY-MM-DD)
2025-10-11
limitbody / integerNo
  • Limit per page (最多400条)
400
need_livingbody / integerNo
  • Include living rooms: 0=不包含, 1=包含
1
downloadbody / integerNo
  • Download: 0=不下载, 1=下载
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
FieldTypeNotesExample
roomIDunknown
  • Live room ID
roomTitleunknown
  • Live title
coverUriunknown
  • Live cover image URL
startTimeunknown
  • Start time (format: "YYYY-MM-DD HH:mm:ss")
endTimeunknown
  • End time (format: "YYYY-MM-DD HH:mm:ss")
liveDurationWithoutPauseunknown
  • Duration without pause (format: "1 minute 5 seconds")
playStatusunknown
  • Play status (4=Ended)
watchCntunknown
  • Total watch count
serverWatchUcntTdDirectunknown
  • Direct watch user count (from server statistics)
pcuunknown
  • Peak Concurrent Users
liveServerWatchDurationTdPavgunknown
  • Average watch duration
serverLikeCntTdunknown
  • Likes count
clientCommentUcntTdunknown
  • Comment user count
liveNewFollowUcntunknown
  • New followers count
liveConsumeUcntunknown
  • Consuming user count
liveFansConsumeUcntTdunknown
  • Fan consuming user count
roomLiveEarnScoreunknown
  • Live room earn score

Common response envelope

Common fields for response status, request identifiers and data

FieldTypeNotesExample
codeinteger
  • HTTP status code | HTTP状态码
request_idstring | null
  • Unique request identifier | 唯一请求标识符
messagestring
  • Response message (EN-US) | 响应消息 (English)
message_zhstring
  • Response message (ZH-CN) | 响应消息 (中文)
supportstring
  • Support message | 支持消息
timestring
  • The time the response was generated | 生成响应的时间
time_stampinteger
  • The timestamp the response was generated | 生成响应的时间戳
time_zonestring
  • The timezone of the response time | 响应时间的时区
docsstring | null
  • Link to the API Swagger documentation for this endpoint | 此端点的 API Swagger 文档链接
cache_messagestring | null
  • Cache message (EN-US) | 缓存消息 (English)
cache_message_zhstring | null
  • Cache message (ZH-CN) | 缓存消息 (中文)
cache_urlstring | null
  • The URL to access the cached result | 访问缓存结果的 URL
routerstring
  • The endpoint that generated this response | 生成此响应的端点
paramsunknown
  • The parameters used in the request | 请求中使用的参数
dataunknown | null
  • The response data | 响应数据

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

CodeMeaningNotes
200SuccessThe request completed and returned the standard response envelope.
401UnauthorizedThe token is missing, invalid, or no longer active.
429Rate limitedThe request exceeded token, user, or plan-level throughput limits.
502Service unavailableThe gateway could not obtain a healthy result. Retry in a moment.
Next steps

New to the API? Read the guide or explore examples