Google API

Google AI 概览 API

向 Google 搜索提交一个提示词,获取该次抓取中 Google 生成的 AI 概览,以及 Google 列出的全部来源。Google 每次搜索都会重新生成概览,所以同一提示词可能返回不同的措辞和不同的来源列表。

POST/v1/run/google.ai_overview
可用率
85.44%
30d · 982 次调用
请求数
982
30d · 按周,近 12 周
响应时间
17.0s
中位数 · 30d

价格

一个价格,以美元计

标记为暂停服务的服务商因响应不稳定,已移出轮换,你的调用会转到其他服务商。它恢复稳定响应后会自动重新加入。

试一试

发出你的第一个请求

打开于
获取免费密钥
示例响应
免费运行只返回前 3 条结果。为密钥充值即可获得完整响应。
{
  "data": {
    "answer": "example",
    "answerMarkdown": "example",
    "citations": [
      {
        "index": 1,
        "title": "Example title",
        "url": "https://example.com/page"
      }
    ],
    "language": "en",
    "prompt": "example",
    "scrapedAt": "example"
  },
  "found": true,
  "reason": "not_found"
}
响应类型定义
interface GoogleAiOverviewResponse {
  data: {
    answer: string;
    answerMarkdown: string;
    citations: {
      index?: number;
      title: string;
      url: string;
    }[];
    language?: string;
    prompt: string;
    scrapedAt?: string;
  } | null;
  found: boolean;
  reason?: "not_found";
}

完整的参数与响应参考:这个接口的每个字段、类型和示例。

参考

请求、响应与价格

最近验证于 2026-09-29 · 可用率和延迟按 30d 统计
POST /v1/run/google.ai_overview
curl -X POST https://api.getanyapi.com/v1/run/google.ai_overview \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"How does photosynthesis work?"}'
字段类型示例值
请求体
promptstring"How does photosynthesis work?"要用 Google AI 概览回答的问题或提示词。
响应
dataobjectThe AI Overview Google generated for this scrape, or null when Google returned no overview. Google regenerates the overview on each search, so two calls with the same prompt can return different wording and a different set of sources. Treat a response as a timestamped observation of what Google served, not as a stable record.
data.answerstringThe AI Overview answer as plain text, as generated for this scrape. Populated whenever the provider has data for the entity.
data.answerMarkdownstringThe same answer in Markdown, preserving the headings and lists Google rendered. Populated whenever the provider has data for the entity.
data.citationsobject[]Every source Google listed for this overview, in Google's own order. This is the full list behind the overview, not only the few sources Google renders inline before the list is expanded, so it is routinely longer than what a reader sees at a glance.
data.citations[].indexintegerGoogle's position for this source within the overview, starting at 1.
data.citations[].titlestringThe cited source title as Google presented it, which may carry a trailing date and snippet.
data.citations[].urlstringThe cited source URL.
data.languagestringTwo-letter language code the overview was generated in.
data.promptstringThe prompt Google answered. Populated whenever the provider has data for the entity.
data.scrapedAtstringWhen this overview was captured, ISO 8601 UTC. Because Google regenerates the overview per search, this identifies which generation the other fields describe.
foundbooleanWhether Google Search returned an AI Overview for this prompt.
reason"not_found"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
价格
每次请求价格USDUS$0.0048
价格(/千次请求)USDUS$4.80

常见问题

关于 Google AI 概览 API

AnyAPI 的 Google AI 概览 API 只需一次 POST 请求 /v1/run/google.ai_overview,就以统一格式的 JSON 返回 Google 数据。向 Google 搜索提交一个提示词,获取该次抓取中 Google 生成的 AI 概览,以及 Google 列出的全部来源。Google 每次搜索都会重新生成概览,所以同一提示词可能返回不同的措辞和不同的来源列表。无论哪个数据源提供服务,AnyAPI 都返回同一套统一的 schema。费用:每千次请求 US$4.80 起,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 Google AI 概览 API 调用中有 85.4% 成功,响应时间中位数为 17.0 秒,共测量 982 次调用。

费用:每千次请求 US$4.80 起,以美元计价,无需订阅,也没有每月最低消费。你只需为一个美元钱包充值,每次调用从中扣费。部分由钱包付费的失败请求会产生处理费用,我们按成本原价转嫁,不加价;错误响应会显示收取的金额。

向 Google 搜索提交一个提示词,获取该次抓取中 Google 生成的 AI 概览,以及 Google 列出的全部来源。Google 每次搜索都会重新生成概览,所以同一提示词可能返回不同的措辞和不同的来源列表。响应是统一格式的 JSON,外层结构与每个 AnyAPI 接口相同,所以解析另一个接口只需换一个 URL,别的都不用改。

过去 30 天,通过 AnyAPI 发起的 Google AI 概览 API 调用中有 85.4% 成功,响应时间中位数为 17.0 秒,共测量 982 次调用。这些是 AnyAPI 对经过网关的流量的自有测量,持续重新计算,并非公开承诺的服务等级目标。