Google’s Custom Search JSON API shuts down on January 1, 2027. Google’s developer documentation says, "Existing Custom Search JSON API customers have until January 1, 2027 to transition to an alternative solution," in its words. The API is already closed to new customers.
Many small websites run their site search on Google without anyone remembering how it was set up. Some use Google’s embedded search box. Others use a plugin or custom code that calls the JSON API in the background. Those sites show results in their own design. The second group will see search stop working at the start of the year. This post covers how to tell which you have, what keeps working, and the replacements worth a look. Facts are as of November 24, 2026.
The short version: if your site search calls the Custom Search JSON API, plan a replacement in December. If you use Google’s embedded search box limited to your own site, you can probably keep it. Some engines are set to "Search the entire web" or cover more than 50 sites. Those also have to change by January 1.
What Google is changing
Google announced the changes on its Programmable Search Engine blog on January 20, 2026. There are two parts.
The JSON API ends. The Custom Search JSON API lets code request Google results as data. The site then displays them however it likes. It is closed to new customers now, and existing customers have until January 1, 2027. Google’s pricing note says pricing applies "until the service discontinuation on January 1, 2027," and not after.
Whole-web search ends for the search box. Google’s Programmable Search Element is the search box and results panel you embed on a page. Engines that search the entire web, or more than 50 domains, must also change by January 1, 2027. That is according to Google’s January post. New engines created since then are limited to a list of up to 50 sites.
What keeps working
Google is keeping the embedded search box for focused search. In its January post, Google calls the Search Element "the optimal solution for delivering highly optimized and focused results," as it put it. It describes the option to search up to 50 listed domains as a "free feature" in the same post.
So a typical nonprofit or association site that embeds Google’s search box and limits it to its own domain can keep it. You may want to check the styling. Google refreshed the Search Element design in February 2026. It said "no changes are required for most partners," though custom CSS may need adjustment.
How to tell whether your site uses the Custom Search JSON API
You may not know how your site search was built. Here is how to find out.
-
Look at the search results page. Do results appear in a Google-styled panel, often with Google branding and ads? Then you probably use the embedded Search Element. If results look exactly like the rest of your site, the site may be calling the JSON API.
-
Check your plugins or modules. On WordPress or Drupal, look for search add-ons that mention Google Custom Search or Programmable Search. Check their settings for an API key.
-
Search your code for the endpoint. Developers can search the codebase and configuration for
customsearch/v1orgoogleapis.com/customsearch. Any match means the site calls the JSON API. -
Check Google Cloud. In the Google Cloud console, look for a project with the Custom Search API turned on.
-
Check the engine’s settings. In the Programmable Search Engine control panel, see whether "Search the entire web" is on. Also count the sites the engine lists.
If any of steps 2 to 5 turn something up, add it to your December list.
Replacements for the Custom Search JSON API
There is no single drop-in replacement. Which one fits depends on what you search and how much control you need.
| Option | Fits when | Trade-off |
|---|---|---|
| Google Search Element, limited to your sites | You only search your own domain or a few related ones | Google’s layout and branding; up to 50 sites |
| Vertex AI Search on Google Cloud | You want Google technology with your own results design | Cloud setup and usage billing |
| Hosted site search (Algolia, Coveo, SearchStax and others) | You want fast, styled search with filters | Subscription cost and setup |
| Your CMS’s own search, improved | Your content all lives in WordPress or Drupal | May need a search server or plugin to work well |
For searching up to 50 domains with your own design, Google’s documentation says "Vertex AI Search is a favorable alternative" instead. For whole-web results, Google offers no self-serve replacement. Its documentation asks those customers to contact Google through an interest form.
We have covered several hosted options in more depth: Algolia, Coveo and SearchStax. For organizations that need to search across several systems at once, our federated search guide explains the approach.
What it costs today, and after
Google’s documentation says the JSON API gives 100 free queries per day. Extra queries "cost $5 per 1000 queries, up to 10k queries per day," Google says. Many small sites have stayed within the free tier for years. For them, search felt free.
Most replacements are not free. Hosted search services charge by plan or by request. Vertex AI Search bills by usage on Google Cloud. If your site gets little search traffic, Google’s embedded search box may be the cheapest option. Limited to your own domain, Google calls it free.
Budget for a little developer time either way. Even a simple swap means a new search page, a styling pass and testing.
A December plan for site owners
-
Find out what you use with the checks above. Ask your developer or agency if you are not sure.
-
If you use the JSON API, pick a replacement this week. Testing a new provider takes longer than it looks.
-
If you use "Search the entire web," switch to listed sites or another provider before January 1.
-
Test on a staging site. Check search results, filters, styling and mobile layout.
-
Turn off the old API key after the switch, and remove it from your code and plugin settings.
If you need to rebuild search anyway, this is a good time to look at what visitors search for.
Who this affects most
Associations and nonprofits with large resource libraries tend to lean on site search. Members look for past journal issues, event recordings, policy statements and course materials. If search breaks during year-end renewals or a January conference push, staff hear about it fast.
Sites with several related domains are the other group to watch. A national office with state chapters, or a university with many department sites, may have set up one Google engine to cover them all. If that engine lists more than 50 sites, it needs a new plan. Your analytics site search report, or Google Search Console’s queries, show what people expect to find.
Frequently Asked Questions
When does the Custom Search JSON API shut down?
Google says existing customers have until January 1, 2027 to move to an alternative. The API is already closed to new customers.
Does Google’s embedded search box still work after January 1?
Yes, for engines limited to a list of up to 50 sites. Google calls that option free. Engines set to search the entire web must change by January 1, 2027.
How do I know if my site uses the Custom Search JSON API?
Check search plugins or modules for a Google API key, search your code for customsearch/v1, and look in Google Cloud for a project with the Custom Search API enabled.
What does Google recommend instead?
For searching up to 50 domains with your own design, Google’s documentation points to Vertex AI Search. For whole-web results, it asks customers to contact Google.
Is there a free replacement for the Custom Search JSON API?
Google’s embedded Search Element limited to your own sites is free, according to Google. Most other replacements charge by plan or usage.
Will WordPress search plugins that use Google stop working?
Any plugin that calls the Custom Search JSON API will stop returning results after January 1, 2027. Check with the plugin’s developer for their plan.
What happens if we do nothing?
Site search that depends on the JSON API will stop returning results after the shutdown. Visitors will see empty or broken search.
Can we keep searching more than 50 sites?
Not with the free Search Element. Google limits new and remaining engines to 50 listed sites. Larger needs move to Vertex AI Search or another provider.