Glasser
Glasser

数据提供商: SerpApi

使用 SerpApi 按关键词在 Google 新闻中进行搜索

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

通过SerpApi在Google News中搜索某个关键词所获得的新闻文章:这些文章会显示标题、来源、链接、发布日期和缩略图,同时还提供主题分类和出版信息菜单。每次调用发送一次请求;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=google_news on Glasser.

第 2 步尝试一个具体任务

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

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

提示词
Use serpapi:/search?engine=google_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": 500,
      "minLength": 1
    },
    "gl": {
      "type": "string",
      "maxLength": 8,
      "minLength": 1
    },
    "hl": {
      "type": "string",
      "maxLength": 8,
      "minLength": 1
    }
  },
  "additionalProperties": false
}

计费说明

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