Glasser
Glasser

数据提供商: SerpApi

使用 SerpApi 搜索某个关键词在百度上的新闻结果

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

通过SerpApi在百度新闻中查询得到的新闻报道:包括标题、来源、发布日期、链接以及报道摘要。每次调用发送一次请求;SerpApi 对每个完成的请求计数,空结果集会标记为无结果。

如何调用

第 1 步接入

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

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

Show me how to use the SerpApi endpoint /search?engine=baidu_news on Glasser.

第 2 步尝试一个具体任务

制作公司监测报告时,可以将相关新闻标题整理成近期报道简报。

复制此提示词到你的 Agent,根据返回的新闻标题生成简报。

提示词
Use serpapi:/search?engine=baidu_news on Glasser.
Summarize the returned headlines into a short briefing for my company-monitoring report.

接口结构

json
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "q"
  ],
  "properties": {
    "q": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
    },
    "pn": {
      "type": "integer",
      "maximum": 100,
      "minimum": 0
    }
  },
  "additionalProperties": false
}

计费说明

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