API DocsdouyinDataFetch item list
Fetch item list
What this API is for
- Get all published items within the specified time range
- Support pagination query, maximum 100 items per request
- Data update description:
- **Views, likes, comments, shares, favorites update in real-time**
- **Other metrics update hourly**
- **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_item_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_time: Start timestamp in milliseconds (required)
- end_time: End timestamp in milliseconds (required)
- count: Number of items per page, default 10, max 100 (optional)
- order_by: Sort method, supports 26 types (optional, default 1)
- fields: Fields to return, default "metrics,review,visibility" (optional)
- metrics: Traffic metrics (views, likes, comments, shares, favorites, etc.)
- review: Review status
- visibility: Visibility status
- need_cooperation: Need cooperation info, default true (optional)
- need_long_article: Include long articles, default true (optional)
- cursor: Pagination cursor, don't pass for first request, use returned cursor for pagination (optional)
| Name | Location / type | Required | Notes | Example |
|---|---|---|---|---|
| cookie | body / string | Yes |
| Your_Cookie_Here |
| count | body / integer | No |
| 10 |
| order_by | body / integer | No |
| 1 |
| fields | body / string | No |
| metrics,review,visibility |
| need_cooperation | body / boolean | No |
| true |
| start_time | body / integer | Yes |
| 1758988800000 |
| end_time | body / integer | Yes |
| 1760198399000 |
| need_long_article | body / boolean | No |
| true |
| cursor | body / integer | null | No |
|
Request body example
{
"cookie": "Your_Cookie_Here",
"start_time": 1758988800000,
"end_time": 1760198399000,
"count": 10,
"order_by": 1,
"fields": "metrics,review,visibility",
"need_cooperation": true,
"need_long_article": true
}Request examples
curl -X POST "https://api.trmesh.com/openapi/api/v1/douyin/creator_v2/fetch_item_list" \ -H "Authorization: Bearer sdc_your_project_token"
Response fields
- Item list data with detailed metric information
- has_more: Whether there are more items
- cursor: Cursor for next page, used for pagination
- items: Array of items
| Field | Type | Notes | Example |
|---|---|---|---|
| has_more | unknown |
| true |
| cursor | unknown |
| 1234567890 |
| items | 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
{
"has_more": true,
"cursor": 1234567890,
"items": [
{
"item_id": "7559536212910853422",
"metrics": {
"play_count": 12345,
"digg_count": 678,
"comment_count": 90,
"share_count": 45,
"collect_count": 123
},
"review": {
"status": 2
},
"visibility": {
"is_public": true
}
}
]
}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