Google AI Mode answer for a question (text only)
crawl4ai.google.serp.ai_modeGoogle's own AI Mode / AI Overview answer for a question, word for word, with answer.source naming which. deep must be 0, so the text is never written by another model; answered is false, and free, when Google shows no direct answer. Text only: no product, place or ad cards.
- 价格
- $0.00015/success按供应商原价
- 成功率
- 64.8%近 30 天 · 1,230 次
- 延迟 p50
- 1.8 秒p95 5.7 秒
- 最后验证
- 2026年10月7日实测可用
GEThttps://toolswitch.dev/v1/tools/crawl4ai.google.serp.ai_mode?q=what+is+a+stock+split&deep=0预览在线试用即将上线供应商文档 ↗
- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
q | 字符串 | 必填 | the question, up to 4,000 characters | what is a stock split |
gl | 字符串 | 可选 | search country, e.g. us | |
hl | 字符串 | 可选 | search language, e.g. en | |
deep | 字符串 | 必填 | must be 0: only Google's own answer | 0 |
nocache | 字符串 | 可选 | 1 skips every cache | |
- 查询参数
q字符串必填the question, up to 4,000 characters
示例:
what is a stock splitgl字符串可选search country, e.g. us
hl字符串可选search language, e.g. en
deep字符串必填must be 0: only Google's own answer
示例:
0nocache字符串可选1 skips every cache
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
预览
curl -X GET 'https://toolswitch.dev/v1/tools/crawl4ai.google.serp.ai_mode?q=what+is+a+stock+split&deep=0' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/crawl4ai.google.serp.ai_mode?q=what+is+a+stock+split&deep=0",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/crawl4ai.google.serp.ai_mode?q=what+is+a+stock+split&deep=0", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.00015/success 计费,已含服务费。