Threads-Web-API

获取帖子详情 V3(精简版)/Get post detail V3 (lightweight)

Changed on

[中文]

用途:

  • 获取Threads帖子详情(V3,精简版)
  • 价格:0.002$ / 次

三个帖子详情接口怎么选:

  • fetch_post_detail_v3(本接口):只要互动数据时用它。返回扁平的 11 个字段,体积约 800 字节,是 fetch_post_detail 的 1/15。入参为帖子URL。
  • fetch_post_detail:需要完整嵌套结构(作者信息、媒体列表等)时用。入参为帖子ID。
  • fetch_post_detail_v2:需要媒体直链、最完整字段时用。入参为帖子URL或短代码。

参数:

返回:

  • 帖子详情数据,包含 post 对象:
    • id: 帖子ID
    • code: 帖子短代码
    • username: 作者用户名
    • text: 帖子正文
    • taken_at: 发布时间戳
    • url: 帖子URL
    • like_count: 点赞数
    • reply_count: 回复数
    • repost_count: 转发数
    • quote_count: 引用数
    • view_count: 浏览数

[English]

Purpose:

  • Get Threads post detail (V3, lightweight)
  • Price: 0.002$ / time

Choosing among the three post detail endpoints:

  • fetch_post_detail_v3 (this one): use it when you only need engagement metrics. Returns 11 flat fields, about 800 bytes — 1/15 the size of fetch_post_detail. Takes a post URL.
  • fetch_post_detail: use it when you need the full nested structure (author info, media list, etc.). Takes a post ID.
  • fetch_post_detail_v2: use it when you need direct media URLs and the most complete fields. Takes a post URL or short code.

Parameters:

Return:

  • Post detail data, containing a post object:
    • id: Post ID
    • code: Post short code
    • username: Author username
    • text: Post text
    • taken_at: Publish timestamp
    • url: Post URL
    • like_count: Like count
    • reply_count: Reply count
    • repost_count: Repost count
    • quote_count: Quote count
    • view_count: View count

[示例/Example]

url = "https://www.threads.com/@zuck/post/DPVUglOjOUu"

get/api/v1/threads/web/fetch_post_detail_v3

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

urlstring required

帖子URL/Post URL

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