Google AI 概览 API
向 Google 搜索提交一个提示词,获取该次抓取中 Google 生成的 AI 概览,以及 Google 列出的全部来源。Google 每次搜索都会重新生成概览,所以同一提示词可能返回不同的措辞和不同的来源列表。
US$1.50/千次请求,按请求付费,无需订阅。
{"title": "Photosynthesis - National Geographic Education","url": "https://education.nationalgeographic.org/resource/photosynthesis","index": 1}
价格与服务商
Google AI 概览 API 价格:一个 API,4 个可互换的服务商
最便宜的服务商优先响应。如果它失败,下一个会在同一次调用中接手。
试一试
一个请求获取 Google AI 概览
这个示例展示了 12 个字段中的 11 个。查看全部字段
{
"found": true,
"data": {
"prompt": "How does photosynthesis work?",
"answer": "Photosynthesis is the process plants, algae, and some bacteria use to convert light energy into chemical energy. Chlorophyll in the chloroplasts absorbs sunlight, which powers reactions that split water molecules and combine carbon dioxide with hydrogen to produce glucose, releasing oxygen as a byproduct. The overall reaction is 6CO2 + 6H2O + light energy to C6H12O6 + 6O2.",
"answerMarkdown": "Photosynthesis is the process plants, algae, and some bacteria use to convert light energy into chemical energy.\n\n**How it works:**\n1. Chlorophyll in the chloroplasts absorbs sunlight\n2. Light energy splits water molecules (photolysis)\n3. Carbon dioxide combines with hydrogen to produce glucose\n4. Oxygen is released as a byproduct\n\nOverall reaction: 6CO2 + 6H2O + light energy to C6H12O6 + 6O2",
"scrapedAt": "2026-09-27T14:32:00Z",
"language": "en",
"citations": [
{
"title": "Photosynthesis - National Geographic Education",
"url": "https://education.nationalgeographic.org/resource/photosynthesis",
"index": 1
},
{
"title": "The Basics of Photosynthesis - Khan Academy",
"url": "https://www.khanacademy.org/science/biology/photosynthesis-in-plants",
"index": 2
},
{
"title": "Photosynthesis, respiration and transpiration - BBC Bitesize",
"url": "https://www.bbc.co.uk/bitesize/topics/z9ss4wx",
"index": 3
}
]
}
}完整的参数与响应参考:这个接口的每个字段、类型和示例。
参考
一个请求,一种响应结构。
你发送的每个字段和收到的每个字段,都附有真实示例。
最近验证于 2026-11-14 · 可用率和延迟按 30d 统计
请求体
JSON,POST 到这个接口。
- promptstring
How does photosynthesis work?
要用 Google AI 概览回答的问题或提示词。
- requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `scrapedAt`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge.
响应
JSON,每个字段一个示例值。
The 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.
- answerstring
Photosynthesis is the process plants, algae, and some bacteria use to convert light energy into chemical energy. Chlorophyll in the chloroplasts absorbs sunlight, which powers reactions that split water molecules and combine carbon dioxide with hydrogen to produce glucose, releasing oxygen as a byproduct. The overall reaction is 6CO2 + 6H2O + light energy to C6H12O6 + 6O2.
The AI Overview answer as plain text, as generated for this scrape. Populated whenever the provider has data for the entity.
- answerMarkdownstring
Photosynthesis is the process plants, algae, and some bacteria use to convert light energy into chemical energy. **How it works:** 1. Chlorophyll in the chloroplasts absorbs sunlight 2. Light energy splits water molecules (photolysis) 3. Carbon dioxide combines with hydrogen to produce glucose 4. Oxygen is released as a byproduct Overall reaction: 6CO2 + 6H2O + light energy to C6H12O6 + 6O2
The same answer in Markdown, preserving the headings and lists Google rendered. Populated whenever the provider has data for the entity.
- languagestring
en
Two-letter language code the overview was generated in.
- promptstring
How does photosynthesis work?
The prompt Google answered. Populated whenever the provider has data for the entity.
- scrapedAtstring可设为必填
2026-09-27T14:32:00Z
When this overview was captured, ISO 8601 UTC. Because Google regenerates the overview per search, this identifies which generation the other fields describe.
Every source Google listed with a usable URL for this overview, in Google's own order. References without a URL are omitted. 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.
- indexinteger
1
Google's position for this source within the overview, starting at 1.
- titlestring
Photosynthesis - National Geographic Education
The cited source title as Google presented it, which may carry a trailing date and snippet.
- urlstring
https://education.nationalgeographic.org/resource/photosynthesis
The cited source URL. When Google withholds the destination this is a Google redirect link (google.com/goto?url=...), which google.resolve_links turns into the destination URL.
- foundboolean
true
Whether 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.
常见问题
关于 Google AI 概览 API
AnyAPI 的 Google AI 概览 API 只需一次 POST 请求 /v1/run/google.ai_overview,就以统一格式的 JSON 返回 Google 数据。向 Google 搜索提交一个提示词,获取该次抓取中 Google 生成的 AI 概览,以及 Google 列出的全部来源。Google 每次搜索都会重新生成概览,所以同一提示词可能返回不同的措辞和不同的来源列表。AnyAPI 会在 4 个数据源之间路由每个请求,某个数据源失败时自动切换。费用:每千次请求 US$1.50 起,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 Google AI 概览 API 调用中有 86.4% 成功,响应时间中位数为 16.3 秒,共测量 28,867 次调用。