Douyin modelsapi generation api

douyin/creator-v2/item-list

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 u...

Input
Idle

Example output — click Run to generate your own

API README

Fetch item list

Purpose:

  • 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

Request Body 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)

Sort Options (order_by):

ValueSort FieldDirectionUpdate FreqDescription
1Publish TimeDesc ↓-Default, newest first
2Publish TimeAsc ↑-Oldest first
3ViewsDesc ↓Real-timeVideo views count
4ViewsAsc ↑Real-timeLeast views first
5LikesDesc ↓Real-timeLikes count
6LikesAsc ↑Real-timeLeast likes first
7CommentsDesc ↓Real-timeComments count
8CommentsAsc ↑Real-timeLeast comments first
9SharesDesc ↓Real-timeShares count
10SharesAsc ↑Real-timeLeast shares first
11FavoritesDesc ↓Real-timeFavorites count
12FavoritesAsc ↑Real-timeLeast favorites first
132s Bounce RateDesc ↓HourlyViews bounced within 2s / total views
142s Bounce RateAsc ↑HourlyLowest bounce rate first
155s CompletionDesc ↓HourlyViews over 5s / total views
165s CompletionAsc ↑HourlyLowest 5s completion first
17Completion RateDesc ↓HourlyFull plays / total views
18Completion RateAsc ↑HourlyLowest completion rate first
19Cover CTRDesc ↓HourlyCover clicks / cover impressions
20Cover CTRAsc ↑HourlyLowest CTR first
21Avg Play DurationDesc ↓HourlyAverage video play duration
22Avg Play DurationAsc ↑HourlyShortest duration first
23Profile VisitsDesc ↓DailyProfile visits after watching
24Profile VisitsAsc ↑DailyLeast profile visits first
25Follower GrowthDesc ↓HourlyNew followers from this video
26Follower GrowthAsc ↑HourlyLeast follower growth first

Sort Usage Tips:

  • Find Hits: Use order_by=3 (Views↓) or order_by=5 (Likes↓)
  • Content Optimization: Use order_by=13 (Bounce Rate↓) to find videos to improve
  • Improve Completion: Use order_by=17 (Completion↓) to analyze high-completion videos
  • Follower Analysis: Use order_by=25 (Follower Growth↓) to find best performing videos
  • Cover Optimization: Use order_by=19 (Cover CTR↓) to analyze cover attractiveness

Return:

  • 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

Usage Flow:

  1. First request: Don't pass cursor parameter, get first page
  2. Check has_more: If true, there are more items
  3. Paginate: Use returned cursor value as cursor parameter for next request
  4. Repeat steps 2-3: Until has_more is false

Limitations:

  • Only supports filtering: Top 100 items by genre in selected period
  • For exporting more data, use /fetch_item_list_download API (supports top 1000 items)

Timestamp Conversion:

  • JavaScript: new Date('2025-07-01').getTime() -> 1719763200000
  • Python: int(datetime(2025, 7, 1).timestamp() * 1000) -> 1719763200000

How to get Cookie:

  1. Login to Douyin Creator Platform (https://creator.douyin.com)
  2. Open browser developer tools (F12)
  3. Switch to Network tab
  4. Refresh page or perform operations
  5. Find any request and copy the Cookie header value

[Example]

{
    "cookie": "Your_Cookie_Here",
    "start_time": 1758988800000,
    "end_time": 1760198399000,
    "count": 10
}
{
    "cookie": "Your_Cookie_Here",
    "start_time": 1758988800000,
    "end_time": 1760198399000,
    "count": 20,
    "order_by": 3
}
{
    "cookie": "Your_Cookie_Here",
    "start_time": 1758988800000,
    "end_time": 1760198399000,
    "count": 20,
    "order_by": 17
}
{
    "cookie": "Your_Cookie_Here",
    "start_time": 1758988800000,
    "end_time": 1760198399000,
    "count": 20,
    "order_by": 25
}
{
    "cookie": "Your_Cookie_Here",
    "start_time": 1758988800000,
    "end_time": 1760198399000,
    "count": 10,
    "cursor": 1234567890
}
{
    "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
            }
        }
    ]
}

Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

Related Models

douyin/creator-v2/author-diagnosisGet Douyin creator account diagnosis data and optimization suggestions Automatically analyze account performance for the past 7 days Provide assessment and improvement suggestions for key metrics Help creators understand account health and optimize content strategy **This API requires valid Douyin Creator Platform Cookie** **Use POST method, Cookie transmitted in request body, more secure** **No need to specify time range, system automatically fetches data for past 7 days**douyin/creator-v2/item-analysis-involved-verticalGet the vertical tags involved in submitted items within the specified time period Used as parameters for subsequent calls to the submission analysis interface **This API requires users to provide valid Douyin Creator Platform Cookie** **Use POST method, Cookie is transmitted in request body, more secure**douyin/creator-v2/item-analysis-item-performanceGet performance data for submitted items, including views, likes, comments, shares, etc. Analyze content performance across different genres and verticals **This API requires users to provide valid Douyin Creator Platform Cookie** **Use POST method, Cookie is transmitted in request body, more secure** **Recommend calling fetch_item_analysis_involved_vertical first to get vertical tags**douyin/creator-v2/item-analysis-overviewGet comprehensive analysis data for account submitted items Including submission performance statistics for different genres and verticals **This API requires users to provide valid Douyin Creator Platform Cookie** **Use POST method, Cookie is transmitted in request body, more secure** **Recommend calling fetch_item_analysis_involved_vertical first to get vertical tags**douyin/creator-v2/item-audience-othersGet Douyin item audience other data analysis, including audience distribution and audience keywords Understand whether the audience are fans and what topics they are interested in **This API requires users to provide valid Douyin Creator Platform Cookie** **Use POST method, Cookie is transmitted in request body, more secure**douyin/creator-v2/item-audience-portraitGet Douyin item audience portrait data Understand viewer demographic characteristics Includes active distribution, gender distribution, region distribution, age distribution Help creators precisely target audiences and optimize content strategy **This API requires users to provide valid Douyin Creator Platform Cookie** **Use POST method, Cookie is transmitted in request body, more secure**douyin/creator-v2/item-danmaku-analysisGet Douyin item bullet (danmaku) analysis data Understand audience bullet interaction at various video time points Help creators identify hot segments and audience reactions **This API requires users to provide valid Douyin Creator Platform Cookie** **Use POST method, Cookie is transmitted in request body, more secure**douyin/creator-v2/item-list-downloadExport detailed data of top 1000 items within the specified time range Support filtering export content by genre types **This API is for batch export, not suitable for real-time queries** **Export tasks are processed asynchronously, need to wait for server to generate file** **This API requires users to provide valid Douyin Creator Platform Cookie** **Use POST method, Cookie is transmitted in request body, more secure**