# Google Custom Search API 2027 年关停

Original title: Google Kills Custom Search API on Jan 1, 2027

> Hacker News story 48942250 · language: zh · submitted 2026-07-17
> Web version: https://zeli.app/zh/story/48942250
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 52 · by [alexey-salmin](<https://news.ycombinator.com/user?id=alexey-salmin>) · 💬 28
[original](<https://thenextgennexus.com/2026/05/14/google-kills-custom-search-api-on-jan-1-2027-you-have-9-months/>) · [HN discussion](<https://news.ycombinator.com/item?id=48942250>)

## Summary

Google Custom Search API 将在 2027 年 1 月 1 日正式关停，开发者仅剩 9 个月迁移窗口。Google 推荐的 Vertex AI Search 仅支持私有语料库，无法替代原有的公网搜索功能。对于依赖 CSE 进行 RAG 管道构建、学术研究和网站搜索的团队，第三方服务商如 SerpApi 和 ScaleSerp 虽可用但需重写解析层。文章重点推荐了 google-cse-replacement 方案，它能完美复刻 CSE 的 JSON 结构，仅需修改两行代码即可无缝迁移，是独立开发者和 SaaS 公司的救命稻草。

## Key quote

> Google 的官方立场是，对于“大规模网络搜索”，开发者应“探索第三方供应商”——这不过是企业行话，意思就是他们要退出这项业务了。

## HN discussion (28 comments)

- 有评论者指出 Google 此举意在构建护城河，确保只有 Gemini 能直接访问搜索能力，而非让 AI 竞争对手使用其搜索基础设施。
- 一位从业者提到 SerpApi 等替代方案正面临 Google 的诉讼，且 Microsoft 此前已先例性地关闭了 Bing Search API 的免费和付费层级。
- 部分用户质疑在 LLM 亟需实时搜索能力的背景下，Google 放弃成为'所有 AI 的搜索引擎'这一战略机会，转而追求自身成为 AI 应用而非底层设施。
- 亲历者推荐 Brave Search 作为替代方案，因其提供每月 1000 次搜索的免费层级，优于其他需付费或无免费额度的竞品。
- 有观点反驳称该 API 仅通过重定向实现，开发者可自行编码替代，但也有人指出 SearXNG 已停止开发，其继任者 Hister 并非直接替代品。

---

## Cite

- Page: https://zeli.app/zh/story/48942250
- Date: 2026-07-17
- Source: thenextgennexus.com (https://thenextgennexus.com/2026/05/14/google-kills-custom-search-api-on-jan-1-2027-you-have-9-months/)
- Hacker News: https://news.ycombinator.com/item?id=48942250
