获取作品垂类标签/Fetch item analysis involved vertical

Douyinapi

About

获取作品垂类标签/Fetch item analysis involved vertical

Documentation

获取作品垂类标签/Fetch item analysis involved vertical

[中文]

用途:

  • 获取指定时间段内投稿作品涉及的垂类标签
  • 用于后续调用投稿分析接口时的参数
  • 此接口需要用户提供有效的抖音创作者平台Cookie
  • 使用 POST 方法,Cookie 在请求体中传输,更安全

请求体参数:

  • cookie: 用户的抖音创作者平台Cookie(必填,在请求体中传输)
  • start_date: 开始日期,格式YYYYMMDD(必填)
  • end_date: 结束日期,格式YYYYMMDD(必填)
  • 注意:日期范围最多90天

返回数据说明:

  • primary_verticals: 垂类标签列表
    • 返回该账号在指定时间段内发布的作品涉及的垂类
    • 例如:["动物", "美食", "旅游"]

Cookie 获取方式:

  1. 登录抖音创作者平台 (https://creator.douyin.com)
  2. 打开浏览器开发者工具(F12)
  3. 切换到 Network 标签
  4. 刷新页面或进行操作
  5. 找到任意请求,复制 Cookie 请求头的值

[English]

Purpose:

  • Get 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

Request Body Parameters:

  • cookie: User's Douyin Creator Platform Cookie (required, transmitted in request body)
  • start_date: Start date in YYYYMMDD format (required)
  • end_date: End date in YYYYMMDD format (required)
  • Note: Date range maximum 90 days

Return Data Description:

  • primary_verticals: List of vertical tags
    • Returns the verticals involved in items published during the specified time period
    • Example: ["Animals", "Food", "Travel"]

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_date": "20250713",
    "end_date": "20251011"
}

返回数据示例/Response Example:

{
    "primary_verticals": ["动物", "美食", "旅游"],
    "status_code": 0,
    "status_msg": ""
}

数据解读/Data Interpretation:

  • primary_verticals列表包含该账号投稿作品涉及的所有垂类
  • 如果返回空列表,说明该时间段内没有投稿或垂类未分类
  • 获取到垂类后,可用于投稿分析接口的primary_verticals参数

注意事项/Notes:

  • 日期格式必须为YYYYMMDD(8位数字)
  • 时间跨度不能超过90天
  • 建议先调用此接口获取垂类,再调用投稿分析接口
  • 如果时间范围内无投稿,可能返回空列表

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

Try 获取作品垂类标签/Fetch item analysis involved vertical

Test this model in the Sandbase Playground with your own prompts.

Open in Playground

Related Models