Douyin modelsapi generation api

douyin/creator-v2/item-play-source

Get Douyin item play source statistics Statistics of the proportion of item views from different sources **If a channel is not shown, it means there are no views from that channel yet** **For newly published items, the r...

Input
Idle

Example output — click Run to generate your own

API README

Fetch item play source statistics

Purpose:

  • Get Douyin item play source statistics
  • Statistics of the proportion of item views from different sources
  • If a channel is not shown, it means there are no views from that channel yet
  • For newly published items, the recommended page traffic may be low initially, please wait for system distribution
  • 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)
  • item_id: Item ID (required)

Return Data Description:

  • play_source: List of traffic sources with play proportion for each channel
    • key: Traffic source channel identifier
    • value: Current proportion (decimal between 0-1, e.g., 0.85 means 85%)
    • history_difference: Difference from historical data
    • app_id: Application ID

Traffic Source Channel Description:

  • homepage_hot: Recommended page (system recommendation traffic)
  • familiar: Friends page (followed people, friend recommendations)
  • search: Search (user active search)
  • homepage: Personal homepage (views from homepage visits)
  • message: Message page (through message entry)
  • other: Other (other sources)

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",
    "item_id": "7559536212910853422"
}
{
    "play_source": [
        {
            "app_id": 1128,
            "history_difference": 0.8543689320388349,
            "key": "homepage_hot",
            "value": 0.8543689320388349
        },
        {
            "app_id": 1128,
            "history_difference": 0.05825242718446602,
            "key": "familiar",
            "value": 0.05825242718446602
        },
        {
            "app_id": 1128,
            "history_difference": 0.04854368932038835,
            "key": "search",
            "value": 0.04854368932038835
        }
    ],
    "status_code": 0,
    "status_msg": ""
}

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-listGet 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**