Douyin: fetch live room history list (creator_v2)
Retrieve live room history list (creator_v2) with the Douyin API. Supply a start date and an end date. Sample fields include time series. Monitor live content or build a stream discovery view. The POST request schema also lists start_date, end_date, limit. Use the data to compare content across accounts or review audience feedback by video.
- Selected price
- $0.001 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Douyin: fetch live room history list (creator_v2)
Prepare your request, then continue with your agent.
Selected price
$0.001 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
cache_messagestringcache_message_zhstringcache_urlstringcodeintegerdataobjectdataobjectcodeintegercomponentIDstringdataobjectseriesobject[]clientCommentUcntTdstringcoverUristringendTimestringliveConsumeUcntstringliveDurationWithoutPausestringliveFansConsumeUcntTdstringliveNewFollowUcntstringliveServerWatchDurationTdPavgstringpcustringplayStatusstringroomIDstringroomLiveEarnScorestringroomTitlestringserverLikeCntTdstringserverWatchUcntTdDirectstringstartTimestringwatchCntstring
metastring
docsstringmessagestringmessage_zhstringparamsobjectrequest_idstringrouterstringsupportstringtimestringtime_stampintegertime_zonestring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
cache_message?: string;
cache_message_zh?: string;
cache_url?: string;
code?: number;
data?: {
data?: {
code?: number;
componentID?: string;
data?: {
series?: Array<{
clientCommentUcntTd?: string;
coverUri?: string;
endTime?: string;
liveConsumeUcnt?: string;
liveDurationWithoutPause?: string;
liveFansConsumeUcntTd?: string;
liveNewFollowUcnt?: string;
liveServerWatchDurationTdPavg?: string;
pcu?: string;
playStatus?: string;
roomID?: string;
roomLiveEarnScore?: string;
roomTitle?: string;
serverLikeCntTd?: string;
serverWatchUcntTdDirect?: string;
startTime?: string;
watchCnt?: string;
}>;
};
meta?: string;
};
};
docs?: string;
message?: string;
message_zh?: string;
params?: Record<string, unknown>;
request_id?: string;
router?: string;
support?: string;
time?: string;
time_stamp?: number;
time_zone?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
tikhubCurrent Douyin: fetch live room history list (creator_v2) · POST · View API reference | $0.001 / call | — | —successP50— |
- Unit price
- $0.001
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
Total $0.1
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/tikhub/api/v1/douyin/creator_v2/fetch_live_room_history_list- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/tikhub/api/v1/douyin/creator_v2/fetch_live_room_history_list' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"cookie": "<REDACTED_PUBLIC_EXAMPLE>",
"download": 0,
"end_date": "2025-10-11",
"limit": 400,
"need_living": 1,
"start_date": "2025-09-11"
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
cookie | JSON request bodybody | string | Yes | 用户Cookie/User Cookie |
start_date | JSON request bodybody | string | Yes | 开始日期(格式YYYY-MM-DD)/Start date (format YYYY-MM-DD) |
end_date | JSON request bodybody | string | Yes | 结束日期(格式YYYY-MM-DD)/End date (format YYYY-MM-DD) |
limit | JSON request bodybody | integer | No | 每页数量限制/Limit per page (最多400条) |
need_living | JSON request bodybody | integer | No | 是否包含正在直播的场次/Include living rooms: 0=不包含, 1=包含 |
download | JSON request bodybody | integer | No | 是否下载/Download: 0=不下载, 1=下载 |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Response template · not a real response · Configured HTTP 200; actual status is unverified. Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
{
"cache_message": "This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.",
"cache_message_zh": "本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。",
"cache_url": "<cache_url>",
"code": 200,
"data": {
"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": ""
}
},
"docs": "<docs>",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"params": {},
"request_id": "<request_id>",
"router": "",
"support": "Discord: https://discord.gg/aMEAS8Xsvz",
"time": "<time>",
"time_stamp": 0,
"time_zone": "America/Los_Angeles"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Douyin: fetch live room history list (creator_v2)
Retrieve live room history list (creator_v2) with the Douyin API. Supply a start date and an end date. Sample fields include time series. Monitor live content or build a stream discovery view. The POST request schema also lists start_date, end_date, limit. Use the data to compare content across accounts or review audience feedback by video.
## Available implementations
tikhub · Douyin: fetch live room history list (creator_v2): https://openany.si/markets/apis/capabilities/douyin-fetch-live-room-history-list-creator-v2?offering=6c200b4c-f471-4531-8e56-0b0d36026096 · $0.001 / call
## Selected API contract
Documentation: https://openany.si/apis/6c200b4c-f471-4531-8e56-0b0d36026096
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/tikhub/api/v1/douyin/creator_v2/fetch_live_room_history_list
Price: $0.001 / call
Provider: tikhub
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/tikhub/api/v1/douyin/creator_v2/fetch_live_room_history_list' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"cookie": "<REDACTED_PUBLIC_EXAMPLE>",
"download": 0,
"end_date": "2025-10-11",
"limit": 400,
"need_living": 1,
"start_date": "2025-09-11"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "Douyin: fetch live room history list (creator_v2)",
"endpoint": "https://api.openany.si/v1/agent-apis/tikhub/api/v1/douyin/creator_v2/fetch_live_room_history_list",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "用户Cookie/User Cookie",
"location": "body",
"name": "cookie",
"nullable": false,
"pointer": "/cookie",
"required": true,
"type": "string"
},
{
"description": "开始日期(格式YYYY-MM-DD)/Start date (format YYYY-MM-DD)",
"location": "body",
"name": "start_date",
"nullable": false,
"pointer": "/start_date",
"required": true,
"type": "string"
},
{
"description": "结束日期(格式YYYY-MM-DD)/End date (format YYYY-MM-DD)",
"location": "body",
"name": "end_date",
"nullable": false,
"pointer": "/end_date",
"required": true,
"type": "string"
},
{
"description": "每页数量限制/Limit per page (最多400条)",
"location": "body",
"name": "limit",
"nullable": false,
"pointer": "/limit",
"required": false,
"type": "integer"
},
{
"description": "是否包含正在直播的场次/Include living rooms: 0=不包含, 1=包含",
"location": "body",
"name": "need_living",
"nullable": false,
"pointer": "/need_living",
"required": false,
"type": "integer"
},
{
"description": "是否下载/Download: 0=不下载, 1=下载",
"location": "body",
"name": "download",
"nullable": false,
"pointer": "/download",
"required": false,
"type": "integer"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "1000",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Documentation template (abridged; HTTP assumed)",
"request": {
"body": {
"cookie": "<REDACTED_PUBLIC_EXAMPLE>",
"download": 0,
"end_date": "2025-10-11",
"limit": 400,
"need_living": 1,
"start_date": "2025-09-11"
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"cache_message": "This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.",
"cache_message_zh": "本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。",
"cache_url": "<cache_url>",
"code": 200,
"data": {
"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": ""
}
},
"docs": "<docs>",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"params": {},
"request_id": "<request_id>",
"router": "",
"support": "Discord: https://discord.gg/aMEAS8Xsvz",
"time": "<time>",
"time_stamp": 0,
"time_zone": "America/Los_Angeles"
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Documentation template (abridged; HTTP assumed)
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 6
Review these request fields before running. Keep the published provider and request method unchanged.
cookie- 用户Cookie/User Cookie
start_date- 开始日期(格式YYYY-MM-DD)/Start date (format YYYY-MM-DD)
end_date- 结束日期(格式YYYY-MM-DD)/End date (format YYYY-MM-DD)
limit- 每页数量限制/Limit per page (最多400条)
need_living- 是否包含正在直播的场次/Include living rooms: 0=不包含, 1=包含
download- 是否下载/Download: 0=不下载, 1=下载
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/tikhub/api/v1/douyin/creator_v2/fetch_live_room_history_list' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "cookie": "<REDACTED_PUBLIC_EXAMPLE>", "download": 0, "end_date": "2025-10-11", "limit": 400, "need_living": 1, "start_date": "2025-09-11" }'Check the response
Response template · not a real response · Configured HTTP 200; actual status is unverified.
Response template · not a real response{ "cache_message": "This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.", "cache_message_zh": "本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。", "cache_url": "<cache_url>", "code": 200, "data": { "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": "" } }, "docs": "<docs>", "message": "Request successful. This request will incur a charge.", "message_zh": "请求成功,本次请求将被计费。", "params": {}, "request_id": "<request_id>", "router": "", "support": "Discord: https://discord.gg/aMEAS8Xsvz", "time": "<time>", "time_stamp": 0, "time_zone": "America/Los_Angeles" }