# Weibo user post search

Search for content containing specific keywords in a specified user's posts. Needs uid. Served by TikHub.

Purpose:
- Search for content containing specific keywords in a specified user's posts.
Parameters:
- uid: User ID (required)
- q: Search keyword (optional, empty string means search all content)
- page: Page number, starts from 1 (default 1)
- starttime: Start timestamp (optional, Unix timestamp format)
- endtime: End timestamp (optional, Unix timestamp format)
- hasori: Include original posts (default 1 include)
- hasret: Include retweets (default 1 include)
- hastext: Include text posts (default 1 include)
- haspic: Include image posts (default 1 include)
- hasvideo: Include video posts (default 1 include)
- hasmusic: Include music posts (default 1 include)
Return:
- Search result list, including post content, author info, interaction data
Note:
- Search results affected by user privacy settings
- Timestamp parameters use Unix timestamp format

- Tool ID: `tikhub/weibo-web-v2-search-user-posts`
- Name in the catalog: Weibo, Search user posts
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [Weibo search](/tools/weibo/search.md)
- Price: $0.001 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.001
}
```

Pricing source: [https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info](https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info). Official per-success route price USD 0.001; daily upstream discounts may reduce provider cost. No discount invented for the customer. 10/second.

Price verification date: 2026-10-05.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "uid": {
      "type": "string",
      "description": "用户ID/User ID",
      "title": "Uid"
    },
    "q": {
      "type": "string",
      "description": "搜索关键词/Search keyword",
      "default": "",
      "title": "Q"
    },
    "page": {
      "type": "integer",
      "description": "页数/Page number",
      "default": 1,
      "title": "Page"
    },
    "starttime": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "description": "开始时间戳/Start timestamp",
      "default": 1772294400,
      "title": "Starttime"
    },
    "endtime": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "description": "结束时间戳/End timestamp",
      "default": 1772294400,
      "title": "Endtime"
    },
    "hasori": {
      "type": "integer",
      "description": "是否包含原创微博，1=包含，0=不包含/Include original posts, 1=include, 0=exclude",
      "default": 1,
      "title": "Hasori"
    },
    "hasret": {
      "type": "integer",
      "description": "是否包含转发微博，1=包含，0=不包含/Include retweets, 1=include, 0=exclude",
      "default": 1,
      "title": "Hasret"
    },
    "hastext": {
      "type": "integer",
      "description": "是否包含文字微博，1=包含，0=不包含/Include text posts, 1=include, 0=exclude",
      "default": 1,
      "title": "Hastext"
    },
    "haspic": {
      "type": "integer",
      "description": "是否包含图片微博，1=包含，0=不包含/Include image posts, 1=include, 0=exclude",
      "default": 1,
      "title": "Haspic"
    },
    "hasvideo": {
      "type": "integer",
      "description": "是否包含视频微博，1=包含，0=不包含/Include video posts, 1=include, 0=exclude",
      "default": 1,
      "title": "Hasvideo"
    },
    "hasmusic": {
      "type": "integer",
      "description": "是否包含音乐微博，1=包含，0=不包含/Include music posts, 1=include, 0=exclude",
      "default": 1,
      "title": "Hasmusic"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "tikhub/weibo-web-v2-search-user-posts",
  "input": {
    "uid": "7277477906",
    "q": "",
    "page": 1,
    "starttime": 1772294400,
    "endtime": 1772294400,
    "hasori": 1,
    "hasret": 1,
    "hastext": 1,
    "haspic": 1,
    "hasvideo": 1,
    "hasmusic": 1
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://api.tikhub.io/#/Weibo-Web-V2-API/search_user_posts_api_v1_weibo_web_v2_search_user_posts_get)

[REST inspection](https://api.agentik.cc/v1/tools/tikhub/weibo-web-v2-search-user-posts) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tikhub/weibo-web-v2-search-user-posts) · [Agent index](/llms.txt)
