Threads-Web-API

搜索帖子/Search posts

Changed on

[中文]

用途:

  • 搜索Threads帖子
  • 价格:0.002$ / 次

参数:

  • query: 搜索关键词,例如:bitcoin

返回:

  • 搜索结果数据,包含:
    • results: 帖子列表数组,每条含:
      • post: 帖子内容(pk、caption、like_count、taken_at 等)
      • user: 发布者信息(pk、username、profile_pic_url、is_verified 等)
      • 媒体信息(image_versions2、video_versions、carousel_media 等)

[English]

Purpose:

  • Search Threads posts
  • Price: 0.002$ / time

Parameters:

  • query: Search keyword, for example: bitcoin

Return:

  • Search result data, including:
    • results: Post list array, each containing:
      • post: Post content (pk, caption, like_count, taken_at, etc.)
      • user: Author info (pk, username, profile_pic_url, is_verified, etc.)
      • Media info (image_versions2, video_versions, carousel_media, etc.)

[示例/Example]

query = "bitcoin"

get/api/v1/threads/web/search_posts

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

querystring required

搜索关键词/Search query

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