Fetch item watch trend analysis
Retrieve item watch trend analysis with the Douyin API. The request takes an item ID. Use it for catalog research or marketplace monitoring. The POST request schema also lists item_id, analysis_type. 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...
Fetch item watch trend analysis
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_urlstringcodeintegerdataobjectanalysis_trendobjectcurrent_itemobject[]keystringvaluenumber
similar_authorobject[]keystringvaluenumber
status_codeintegerstatus_msgstring
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?: {
analysis_trend?: {
current_item?: Array<{
key?: string;
value?: number;
}>;
similar_author?: Array<{
key?: string;
value?: number;
}>;
};
status_code?: number;
status_msg?: 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 Fetch item watch trend analysis · 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_item_watch_trend- 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_item_watch_trend' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"analysis_type": 1,
"cookie": "<REDACTED_PUBLIC_EXAMPLE>",
"item_id": "7559536212910853422"
}'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 |
item_id | JSON request bodybody | string | Yes | 作品ID/Item ID |
analysis_type | JSON request bodybody | integer | No | 分析类型/Analysis type: 1=留存分析(Retention), 2=点赞分析(Like), 7=跳出分析(Bounce) |
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": {
"analysis_trend": {
"current_item": [
{
"key": "00:00",
"value": 0.2653
},
{
"key": "00:01",
"value": 0.2653
},
{
"key": "00:05",
"value": 0.0272
},
{
"key": "00:10",
"value": 0.1429
}
],
"similar_author": [
{
"key": "00:00",
"value": 0.1594
},
{
"key": "00:01",
"value": 0.2229
}
]
},
"status_code": 0,
"status_msg": ""
},
"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
# Fetch item watch trend analysis
Retrieve item watch trend analysis with the Douyin API. The request takes an item ID. Use it for catalog research or marketplace monitoring. The POST request schema also lists item_id, analysis_type. Use the data to compare content across accounts or review audience feedback by video.
## Available implementations
tikhub · Fetch item watch trend analysis: https://openany.si/markets/apis/capabilities/douyin-fetch-item-watch-trend-analysis?offering=92273240-7d4a-4595-867c-9a8b0c7e618a · $0.001 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/douyin-fetch-item-watch-trend-analysis
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/tikhub/api/v1/douyin/creator_v2/fetch_item_watch_trend
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_item_watch_trend' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"analysis_type": 1,
"cookie": "<REDACTED_PUBLIC_EXAMPLE>",
"item_id": "7559536212910853422"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "Fetch item watch trend analysis",
"endpoint": "https://api.openany.si/v1/agent-apis/tikhub/api/v1/douyin/creator_v2/fetch_item_watch_trend",
"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": "作品ID/Item ID",
"location": "body",
"name": "item_id",
"nullable": false,
"pointer": "/item_id",
"required": true,
"type": "string"
},
{
"description": "分析类型/Analysis type: 1=留存分析(Retention), 2=点赞分析(Like), 7=跳出分析(Bounce)",
"location": "body",
"name": "analysis_type",
"nullable": false,
"pointer": "/analysis_type",
"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": {
"analysis_type": 1,
"cookie": "<REDACTED_PUBLIC_EXAMPLE>",
"item_id": "7559536212910853422"
},
"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": {
"analysis_trend": {
"current_item": [
{
"key": "00:00",
"value": 0.2653
},
{
"key": "00:01",
"value": 0.2653
},
{
"key": "00:05",
"value": 0.0272
},
{
"key": "00:10",
"value": 0.1429
}
],
"similar_author": [
{
"key": "00:00",
"value": 0.1594
},
{
"key": "00:01",
"value": 0.2229
}
]
},
"status_code": 0,
"status_msg": ""
},
"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 3
Review these request fields before running. Keep the published provider and request method unchanged.
cookie- 用户Cookie/User Cookie
item_id- 作品ID/Item ID
analysis_type- 分析类型/Analysis type: 1=留存分析(Retention), 2=点赞分析(Like), 7=跳出分析(Bounce)
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/tikhub/api/v1/douyin/creator_v2/fetch_item_watch_trend' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "analysis_type": 1, "cookie": "<REDACTED_PUBLIC_EXAMPLE>", "item_id": "7559536212910853422" }'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": { "analysis_trend": { "current_item": [ { "key": "00:00", "value": 0.2653 }, { "key": "00:01", "value": 0.2653 }, { "key": "00:05", "value": 0.0272 }, { "key": "00:10", "value": 0.1429 } ], "similar_author": [ { "key": "00:00", "value": 0.1594 }, { "key": "00:01", "value": 0.2229 } ] }, "status_code": 0, "status_msg": "" }, "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" }