Glasser
Glasser

数据提供商: TikHub

微博用户帖子搜索

$0.001 / 次调用在 40 秒内响应

可以通过 TikHub 搜索来自微博的用户帖文。每次调用发送一次请求;无论是否返回数据,TikHub 都对请求计费,空数据响应会标记为无结果。

如何调用

第 1 步接入

首次使用时,将提示词粘贴到 Agent 对话中。Skill 会自动安装 CLI 并完成登录。无法使用 shell 的 Agent 可通过 MCP 接入。

接入
set up https://glasser.ai/SKILL.md

Show me how to use the TikHub endpoint /api/v1/weibo/web_v2/search_user_posts on Glasser.

第 2 步尝试一个具体任务

制作研究简报时,可以查找与你的主题相关的已发布帖子,将它们用作资料来源。

复制此提示词到你的 Agent,查找研究简报所需的帖子。

提示词
Use tikhub:/api/v1/weibo/web_v2/search_user_posts on Glasser.
Find published content about my topic in the returned posts for a research brief.

接口结构

json
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "uid"
  ],
  "properties": {
    "q": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1,
      "description": "Search keyword (optional, empty string means search all content)"
    },
    "uid": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1,
      "description": "User ID (required)"
    },
    "page": {
      "type": "integer",
      "description": "Page number, starts from 1 (default 1)"
    },
    "hasori": {
      "type": "integer",
      "description": "Include original posts (default 1 include)"
    },
    "haspic": {
      "type": "integer",
      "description": "Include image posts (default 1 include)"
    },
    "hasret": {
      "type": "integer",
      "description": "Include retweets (default 1 include)"
    },
    "endtime": {
      "type": "integer",
      "description": "End timestamp (optional, Unix timestamp format)"
    },
    "hastext": {
      "type": "integer",
      "description": "Include text posts (default 1 include)"
    },
    "hasmusic": {
      "type": "integer",
      "description": "Include music posts (default 1 include)"
    },
    "hasvideo": {
      "type": "integer",
      "description": "Include video posts (default 1 include)"
    },
    "starttime": {
      "type": "integer",
      "description": "Start timestamp (optional, Unix timestamp format)"
    }
  },
  "additionalProperties": false
}

计费说明

返回数据或无匹配有无匹配数据均按此价格收费。$0.001
数据提供商错误数据提供商未能响应。$0.00
运行超时运行超过时间限制。$0.00
内部错误内部错误导致运行未能完成。$0.00