- Google Custom Search JSON API ends
Google's Custom Search JSON API ends on January 1, 2027
The Custom Search JSON API is closed to new customers, and Google's overview page says existing customers have until January 1, 2027 to move to something else. That covers direct calls to www.googleapis.com/customsearch/v1, the customsearch client in Google's API libraries, and wrappers built on top of it, such as LangChain's GoogleSearchAPIWrapper with its GOOGLE_CSE_ID setting.
What breaks
Anything that starts from a Google query stops working on that day: site search boxes, research agents that cite web pages, tools that collect links for later processing.
How to fix it
Google suggests Vertex AI Search if you search up to 50 domains, and asks customers who need full web search to contact them. Other routes are a self-hosted SearXNG instance or a paid web search API (Brave Search, or one of the SERP APIs). Results, quotas, terms and prices differ between them, so try two or three on your own queries before you choose.
The scanner lists every place that needs that decision: the endpoint, the client, the LangChain wrapper and the search engine ID setting.
Check a repository for this
Calls to the customsearch/v1 endpoint, Custom Search API clients, LangChain Google Search wrappers and GOOGLE_CSE_ID settings.
These rules live only on this site; there is no command-line version.
Sources
Dates and wording re-read on the official pages on . Vendors move dates; the official page wins.