# Douyin video play source statistics

Needs item id. Served by TikHub.

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

- Tool ID: `tikhub/douyin-creator-v2-fetch-item-play-source`
- Name in the catalog: Douyin, Fetch item play source statistics
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [Douyin creator analytics](/tools/douyin/creator-analytics.md)
- Price: $0.001 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.001
}
```

Pricing source: [https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info](https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info). Official per-success route price USD 0.001; daily upstream discounts may reduce provider cost. No discount invented for the customer. 10/second.

Price verification date: 2026-10-05.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "item_id": {
      "type": "string",
      "title": "Item Id",
      "description": "作品ID/Item ID"
    }
  },
  "required": [
    "item_id"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "tikhub/douyin-creator-v2-fetch-item-play-source",
  "input": {
    "item_id": "7559536212910853422"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://api.tikhub.io/#/Douyin-Creator-V2-API/fetch_item_play_source_api_v1_douyin_creator_v2_fetch_item_play_source_post)

[REST inspection](https://api.agentik.cc/v1/tools/tikhub/douyin-creator-v2-fetch-item-play-source) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tikhub/douyin-creator-v2-fetch-item-play-source) · [Agent index](/llms.txt)
