通用搜索可调用
Google AI Mode
Google's AI Mode answer to a question, as plain text and as Markdown with its headings, lists and tables, plus the pages it cites with their real URLs.
- 接口地址
- POST https://api.serpbase.dev/google/ai_mode
- 价格
- 3 积分
- 鉴权方式
- X-API-Key
只有成功的请求才收费。每个接口有固定的积分价格(大多是 1 或 2 积分),失败的请求会自动退还积分。 计费 →
示例
cURL
curl -X POST 'https://api.serpbase.dev/google/ai_mode' \
-H "Content-Type: application/json" \
-H 'X-API-Key: YOUR_API_KEY' \
--max-time 60 \
-d '{"gl":"us","hl":"en","q":"how does a heat pump work"}'这个接口暂未发布真实返回示例。可以在 Playground 运行上面的请求查看实时结果。
参数 · 返回字段常见问题
Google AI Mode API 怎么收费?
每次请求消耗 3 积分。积分来自预付积分包或月度套餐,新账号自带免费积分。
如何调用 Google AI Mode API?
向 https://api.serpbase.dev/google/ai_mode 发送 POST 请求,并在 X-API-Key 请求头中带上你的 API Key。返回 JSON,请检查 status(0 表示成功)。
Google AI Mode API 现在可以用吗?
可以,任何有效的 API Key 都能调用。