Threads-Web-API

搜索用户档案 V2/Search profiles V2

Changed on

[中文]

用途:

  • 搜索Threads用户档案(V2)
  • 价格:0.002$ / 次

与 search_profiles 的区别:

  • V2 换用了另一条数据链路,返回字段更精简,稳定性更好。
  • 两个接口可互为备份:其中一个报错时可切换到另一个重试。
  • 本接口不支持分页,单次返回约 8 条结果。

参数:

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

返回:

  • 搜索结果数据,包含:
    • results: 用户列表,每个元素为 node 对象,含:
      • pk: 用户ID
      • username: 用户名
      • full_name: 全名
      • profile_pic_url: 头像URL
      • is_verified: 是否认证
      • follower_count: 粉丝数
      • 等等...

[English]

Purpose:

  • Search Threads user profiles (V2)
  • Price: 0.002$ / time

Differences from search_profiles:

  • V2 uses a different data path, returning more compact fields with better stability.
  • The two endpoints back each other up: if one fails, retry with the other.
  • No pagination; a single call returns about 8 results.

Parameters:

  • query: Search query, for example: jlo

Return:

  • Search result data, including:
    • results: User list, each item is a node object containing:
      • pk: User ID
      • username: Username
      • full_name: Full name
      • profile_pic_url: Profile picture URL
      • is_verified: Is verified
      • follower_count: Follower count
      • etc...

[示例/Example]

query = "jlo"

get/api/v1/threads/web/search_profiles_v2

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