TikTok-Web-API

获取单个作品的AI长文内容/Get AI-generated article of a single video

Changed on

[中文]

用途:

  • 获取单个作品由 TikTok 官方 AI 根据视频内容生成的长文与内容概览
  • 可用于内容分析、选题参考、SEO 关键词挖掘等场景

参数:

  • itemId: 作品id

返回:

  • itemCustomTDK 字段中包含以下内容:
    • title: AI 生成的标题
    • desc: AI 生成的内容概览(摘要)
    • keywords: AI 提取的关键词列表
    • article: AI 根据视频内容生成的长文正文

备注:

  • 并非所有作品都有 AI 生成内容。若该作品没有,响应中不会出现 itemCustomTDK 字段。
  • 部分作品只有 title/desc/keywords,article 为空字符串。
  • 长文内容的语种由作品本身决定,不受请求参数影响。

[English]

Purpose:

  • Get the AI-generated article and content overview that TikTok generates from the video content
  • Useful for content analysis, topic research and SEO keyword mining

Parameters:

  • itemId: Video id

Return:

  • The itemCustomTDK field contains:
    • title: AI-generated title
    • desc: AI-generated content overview (summary)
    • keywords: AI-extracted keyword list
    • article: AI-generated article body based on the video content

Note:

  • Not every video has AI-generated content. If a video has none, the itemCustomTDK field is absent from the response.
  • Some videos only have title/desc/keywords, with article being an empty string.
  • The language of the article is determined by the video itself and is not affected by request parameters.

[示例/Example]

itemId = "7651935877744168194"

get/api/v1/tiktok/web/fetch_post_ai_article

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

itemIdstring required

作品id/Video id

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