SeerMarTech 文档控制台

Google News Live Advanced

POST/v3/serp/google/news/live/advanced

实时获取 Google News 搜索结果,包含新闻标题、来源、发布时间、摘要。适用于品牌舆情监控、行业热点追踪、内容营销选题。

参考价:¥0.0320 / 次(实际以请求返回为准)

请求体

参数类型必填说明
keywordstring新闻搜索关键词
location_codeinteger地理位置代码
language_codestring语言代码
depthinteger返回条数,默认 100

请求示例

curl

curl -X POST "https://api.seermartech.cn/v3/serp/google/news/live/advanced" \ -H "Authorization: Bearer smt_live_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '[{ "keyword": "人工智能 监管", "location_code": 2156, "language_code": "zh" }]'

Python

import requests resp = requests.post( "https://api.seermartech.cn/v3/serp/google/news/live/advanced", headers={"Authorization": "Bearer smt_live_YOUR_KEY"}, json=[{"keyword": "人工智能 监管", "location_code": 2156, "language_code": "zh"}], timeout=60, ) for item in resp.json()["tasks"][0]["result"][0]["items"][:5]: print(item.get("title"), "—", item.get("source"))

TypeScript

const resp = await fetch( "https://api.seermartech.cn/v3/serp/google/news/live/advanced", { method: "POST", headers: { Authorization: "Bearer smt_live_YOUR_KEY", "Content-Type": "application/json", }, body: JSON.stringify([{ keyword: "人工智能 监管", location_code: 2156, language_code: "zh", }]), } ); const data = await resp.json(); data.tasks[0].result[0].items.slice(0, 5).forEach((item: { title?: string; source?: string }) => { console.log(item.title, "—", item.source); });

响应字段(常用)

字段说明
items[].title新闻标题
items[].url原文链接
items[].source媒体来源
items[].timestamp发布时间
items[].snippet摘要

业务场景