---
title: "搜索帖子/Search posts"
method: GET
path: "/api/v1/threads/web/search_posts"
tags: ["Threads-Web-API"]
---

# 搜索帖子/Search posts

`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)
- URL: `https://api.tikhub.io/api/v1/threads/web/search_posts`
- Auth: HTTP bearer

# [中文]
### 用途:
- 搜索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"

## Query parameters

- `query` string, required: 搜索关键词/Search query

## Response `200`

Successful Response

- ResponseModel
  - `code` integer: HTTP status code | HTTP状态码
  - `request_id` string, nullable: Unique request identifier | 唯一请求标识符
  - `message` string: Response message (EN-US) | 响应消息 (English)
  - `message_zh` string: Response message (ZH-CN) | 响应消息 (中文)
  - `support` string: Support message | 支持消息
  - `time` string: The time the response was generated | 生成响应的时间
  - `time_stamp` integer: The timestamp the response was generated | 生成响应的时间戳
  - `time_zone` string: The timezone of the response time | 响应时间的时区
  - `docs` string, nullable: Link to the API Swagger documentation for this endpoint | 此端点的 API Swagger 文档链接
  - `cache_message` string, nullable: Cache message (EN-US) | 缓存消息 (English)
  - `cache_message_zh` string, nullable: Cache message (ZH-CN) | 缓存消息 (中文)
  - `cache_url` string, nullable: The URL to access the cached result | 访问缓存结果的 URL
  - `router` string: The endpoint that generated this response | 生成此响应的端点
  - `params` unknown
  - `data` unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-08** `96a122a5f220`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-09-25** `dbec2aeaa295`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tikhub/apis/tikhub-douyin-tiktok-xiaohongshu-lemon8-bilibili-kuaishou-pi/changes/api/v1/threads/web/search_posts/get.md)

---

[API](https://skmtc.dev/tikhub/apis/tikhub-douyin-tiktok-xiaohongshu-lemon8-bilibili-kuaishou-pi.md) - [All operations](https://skmtc.dev/tikhub/apis/tikhub-douyin-tiktok-xiaohongshu-lemon8-bilibili-kuaishou-pi/llms.txt) - [OpenAPI document](https://skmtc.dev/tikhub/apis/tikhub-douyin-tiktok-xiaohongshu-lemon8-bilibili-kuaishou-pi/revisions/86a3483c705a?raw)
