Douyin-Index-API

获取热点详情分析/Get hot topic detail

Changed on

[中文]

用途:

  • 获取单个热点的完整分析数据,一次请求覆盖热点详情页的全部模块

参数:

  • topic_name: 热点名称,可从 fetch_current_hot_topic 的结果中获取

返回:

  • trend_item: 热点指数趋势(按时间点的指数值)
  • content_item: 热门内容列表(视频标题、链接、封面、作者、点赞/评论数等)
  • play_rank_author_item: 相关达人榜(按播放量排序)
  • digg_rank_author_item: 相关达人榜(按点赞数排序)
  • fans_rank_author_item: 相关达人榜(按粉丝数排序)
  • comment_rank_author_item: 相关达人榜(按评论数排序)
  • portrait: 人群画像,包含地域分布(province)、城市(city)、性别(gender)、 年龄(age) 四个维度,各维度 value 为占比小数

[English]

Purpose:

  • Get full analysis of a single hot topic; one request covers every module of the hot topic detail page

Parameters:

  • topic_name: Hot topic name, obtained from fetch_current_hot_topic results

Return:

  • trend_item: Hot index trend (index value per timestamp)
  • content_item: Hot content list (video title, url, cover, author, digg/comment counts)
  • play_rank_author_item: Related creators ranked by play count
  • digg_rank_author_item: Related creators ranked by digg count
  • fans_rank_author_item: Related creators ranked by fans count
  • comment_rank_author_item: Related creators ranked by comment count
  • portrait: Audience portrait with four dimensions - province, city, gender, age; each label value is a percentage in decimal form

[示例/Example]

topic_name = "詹姆斯宣布加盟76人"

get/api/v1/douyin/index/fetch_hot_detail

Request

  • Base URL
    https://api.tikhub.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Query parameters

topic_namestring required

热点名称/Hot topic name

Response

Successful Response

codeinteger

HTTP status code | HTTP状态码

request_idstring nullable

Unique request identifier | 唯一请求标识符

messagestring

Response message (EN-US) | 响应消息 (English)

message_zhstring

Response message (ZH-CN) | 响应消息 (中文)

supportstring

Support message | 支持消息

timestring

The time the response was generated | 生成响应的时间

time_stampinteger

The timestamp the response was generated | 生成响应的时间戳

time_zonestring

The timezone of the response time | 响应时间的时区

docsstring nullable

Link to the API Swagger documentation for this endpoint | 此端点的 API Swagger 文档链接

cache_messagestring nullable

Cache message (EN-US) | 缓存消息 (English)

cache_message_zhstring nullable

Cache message (ZH-CN) | 缓存消息 (中文)

cache_urlstring nullable

The URL to access the cached result | 访问缓存结果的 URL

routerstring

The endpoint that generated this response | 生成此响应的端点

paramsunknown
dataunknown

Changes