Software

Google Custom Search API Discontinued in 2027

BEBlogs Byte Editorial·Dec 5, 2026·13 min read
Share
Google Custom Search API Discontinued in 2027 — Software guide cover
Software

Google Custom Search API discontinued: closed to new customers, over for existing ones on Jan 1, 2027. Who is affected, the replacement and what it costs.

The Google Custom Search API is discontinued on January 1, 2027. Google's own documentation says the Custom Search JSON API is closed to new customers and that existing customers "have until January 1, 2027 to transition to an alternative solution." As of December 1, 2026, that leaves 31 days.

We opened Google's Custom Search JSON API pages, its Programmable Search Engine help pages, the product's own blog post and the Agent Search pricing page on December 1, 2026, and copied the dates and numbers from them. Where Google's pages leave a question open, such as what a call returns after the deadline, this post says so instead of guessing.

The date is not the only thing to check. Two products sit under the Programmable Search name, and only one of them has a hard deadline for everyone. Below: the timeline, who is affected, what Google points to instead, what it costs today and with the replacement, and what the pages do not say. A date that somebody else picks is a familiar feeling for developers. We covered the same pattern in Deno Deploy shutdown date.

Google Custom Search API discontinued: the dates

DateWhat happenedWhere it is stated
January 20, 2026Programmable Search Engine announced it is "transitioning to more focused solutions." All new engines must use "Sites to search", up to 50 domains.Help page "Update sites in your search engine" and the product blog
November 19, 2026"Last updated" date of the Custom Search JSON API overview page, which carries the closure note.Page footer
December 1, 2026The day we read the pages. Google's migration guide for the Site Restricted JSON API also shows this as its last update.Page footer
January 1, 2027The Custom Search JSON API stops for existing customers. Engines set to "Search the entire web" also have until this date.JSON API overview, product blog

Google's pricing note adds that the pricing it lists "applies only to existing Custom Search JSON API customers until the service discontinuation on January 1, 2027. This API is not available for new customers." Google's own word is discontinuation. Dates also move after the first headlines: the Windows 10 Extended Security Updates end date shifted by a year, so keep checking the primary page.

Google Custom Search API deprecated, or discontinued? What the pages say

People search for both words, and the second is the accurate one. The overview page does not use the word deprecated. It says the API is "closed to new customers", that existing customers must transition, and that the pricing runs "until the service discontinuation on January 1, 2027."

The help page "Update sites in your search engine" adds a detail for engines: "All new engines must now be configured to use the 'Sites to search' feature." It also says an existing engine already set to "Search the entire web" "will remain unaffected and can continue to use this option until January 1, 2027." One more line matters if you tinker: once you switch "Search the entire web" off, it "can not be toggled back to On."

The help page "What is Programmable Search Engine?" calls the entire-web option "no new creation supported." That is consistent with everything above. Another rule that takes effect on a set date is in Will Snapchat delete my memories.

Who is affected

Google's blog post separates three groups. The table puts them next to what we read for each.

What you useWhat Google saysDeadline
Custom Search JSON API (existing customer)Move to an alternative. Vertex AI Search, now being renamed Agent Search, is "a favorable alternative for searching up to 50 domains." For full web search, "contact us".January 1, 2027
Custom Search JSON API (new customer)Closed.Already closed
Search Element with "Sites to search", 50 or fewer domains"Remains the optimal solution." The feature is free.No deadline stated
Search Element set to "Search the entire web", or more than 50 domains"Your transition to an alternative solution needs to be completed" by the date.January 1, 2027
Site Restricted JSON APIGoogle publishes a migration guide to Agent Search.Not stated on the pages we read

Two exceptions to the 50-domain cap appear on the help page: search engines registered for eligible nonprofit organizations, accredited educational institutions and government agencies are exempt from the 50-domain limit. The same page lists a maximum of 5,000 URL patterns per engine and says patterns with a public suffix such as .com or .co.uk are not allowed.

A note on a related help page: it advises including no more than 20 unique sites for results closer to Google.com, which is advice about result quality, not the 50-domain cap. Google's own limits are worth reading on the page rather than from memory, as we found with the Gemini file upload limit.

Google Custom Search JSON API alternative: what Google points to

Google names one alternative for up to 50 domains: Agent Search, the product that was Vertex AI Search. A note at the top of its migration page says "Vertex AI Search is being renamed to Agent Search. We are in the process of updating content to reflect the new branding," so you will see both names while the pages catch up.

The migration page is written for the Site Restricted JSON API, and Google's main JSON API note points to the same product. What changes in practice, according to that page:

  • Authentication. The Site Restricted API uses an API key. Agent Search, "with a couple of exceptions", requires OAuth 2.0. To keep an API key you call the searchLite method.
  • No widget with an API key. The table on that page shows the search widget is available with the search method and OAuth 2.0, and not with searchLite.
  • Enterprise edition. The page says "Make sure Enterprise edition features is turned on. This is required for website search."
  • Advanced features cost extra. Generated summaries, follow-up questions and extractive answers: Google says getting them "requires domain verification and incurs additional indexing costs." Turning off Generative Responses and Advanced website indexing "gives you functionality similar to" the Site Restricted API.

Different code is needed on the client side. A call to the old API is a GET request with a key and an engine ID, and the Agent Search calls go to another endpoint, discoveryengine.googleapis.com, and may return a different response shape. Our cURL to fetch converter turns an existing curl call into fetch code, and a sample response turned into types helps when you compare the old and new response shapes. If your key and engine ID sit in a .env file, compare the old and new files by key name, so nothing is missing after the move.

Third-party search APIs also exist, and several vendors have published their own migration guides. We have not tested any of them and cannot vouch for their claims, so we do not list or rank them here.

Google Custom Search API free tier and daily limit

The rules that apply today, and only to existing customers, come from Google's overview page: "Custom Search JSON API provides 100 search queries per day for free. If you need more, you may sign up for billing in the API Console. Additional requests cost $5 per 1000 queries, up to 10k queries per day."

So there are two numbers behind the free tier: 100 free queries a day, and a ceiling of 10,000 queries a day even if you pay. The Google Custom Search API daily limit is therefore 10,000 queries. Google changes its own prices by date too, as we showed in Gemini API price increase. Over a 30-day month the free tier is 3,000 queries. Google's older overview page, last updated August 21, 2024, lists the same $5 per thousand queries and the same 10,000-queries-a-day ceiling for the JSON API, and it also lists a Paid Search Element at $5 per thousand queries with no daily limit. The current pages do not say what happens to that paid element after the transition, and we do not guess.

Google Custom Search API pricing, and what the replacement costs

This is where a decision needs numbers. The table uses Google's list prices and our arithmetic. We assume a 30-day month, a steady number of queries a day, Agent Search General pricing, Enterprise Edition (required for website search), no generative answers and no discounts.

Queries a dayCustom Search JSON API (monthly)Agent Search Enterprise (monthly)
100$0$0
300$30$0
500$60$20
1,000$135$80
5,000$735$560
10,000$1,485$1,160

Here is how we got the numbers, a unit rate times a volume, the same sum our AI API Cost Calculator does for model prices. For the JSON API: queries above 100 a day, times 30 days, times $5 per 1,000. At 500 a day that is 400 x 30 = 12,000 billable queries, or $60. For Agent Search: Google lists Search Enterprise Edition at $4.00 per 1,000 queries and a free trial of "10,000 queries per account, per month at no cost." At 500 a day that is 15,000 queries a month, 5,000 above the free amount, or $20.

Three cautions apply. Google calls the 10,000 queries a free trial "to explore Agent Search," and it does not say how long it lasts, so a bill without it would be higher. The Standard Edition at $1.50 per 1,000 queries does not include website search, so it is not a substitute here. Indexing is billed separately: Google says a website data store is counted as 500 KiB per page, that a 1,000-page site comes to about $2.38 a month, and that the first 10 GiB a month of storage is a free quota shared across Agent Search. Our 1,000-page example is about 0.48 GiB.

What the pages do not say

We read these pages for answers and did not find them. We state each gap instead of filling it. Some dates also come as a span rather than a day, as with the December rollout in Apple Intelligence China release date, so read the exact wording.

  • What a call returns after January 1, 2027. No page says whether the API returns an error, an empty result or nothing.
  • A separate date for the Site Restricted JSON API. The migration guide exists, and no page we read gives a different deadline for that API.
  • The size of the "full web search solution." Google says to contact it. No page gives pricing or eligibility.
  • How long the Agent Search free queries last. The pricing page calls them a free trial.
  • What happens to engines set to "Search the entire web" after the date. The help page says only that the option can be used until January 1, 2027.
  • The Paid Search Element. It is listed on the 2024 overview page, and the current pages do not mention it.

Another platform now states its free allowance in dollars instead of minutes, which we explain in GitHub Actions free minutes. An automation that calls a search API on a schedule is easy to forget, so list your scheduled jobs and check which of them call the old API.

Thirty-one days: what to do, by situation

This part is our reading of the pages, not Google's advice.

Your situationWhat to check first
You call the JSON API from codeFind every place the key and the engine ID are used. Decide if your sites fit in 50 domains.
50 or fewer domains, you want JSON resultsAgent Search is the product Google names. Plan for OAuth or the searchLite method.
You need full web searchGoogle says to contact it. Do not wait for the last week of December.
You use a Search Element on your site with "Sites to search"Google says it remains the optimal solution. Check the domain count.
A Search Element set to "Search the entire web"The deadline applies. Do not switch the option off before you have a replacement, because it cannot be switched back on.
You are a nonprofit, school or government agencyThe 50-domain cap does not apply to you, per the help page.

The free tools directory lists the browser tools used above.

Frequently asked questions

Is the Google Custom Search API being shut down?

Yes, for the Custom Search JSON API. Google's page says it is closed to new customers and that existing customers have until January 1, 2027 to transition to an alternative.

Does Google have a search API?

The Custom Search JSON API is the one Google documents for Programmable Search Engine, and it is closed to new customers. For full web search Google says to contact it about its "full web search solution".

Is the Google Custom Search API free?

Existing customers get 100 queries a day free, then $5 per 1,000 queries up to 10,000 a day. New customers cannot sign up.

What is the Google Custom Search JSON API alternative?

Google names Agent Search, the new name for Vertex AI Search, for up to 50 domains. For more than 50 domains or the whole web, it points you to contact it.

Do site search boxes stop working too?

Not all of them. A Search Element that uses "Sites to search" with 50 or fewer domains has no deadline on the pages we read. One set to "Search the entire web", or covering more than 50 domains, must move by January 1, 2027.

Sources

All pages were opened on December 1, 2026. Dates in parentheses come from the page's own footer.

  • Google for Developers, "Custom Search JSON API" overview (developers.google.com/custom-search/v1/overview), last updated November 19, 2026
  • Google for Developers, "Custom Search JSON API: Introduction" (developers.google.com/custom-search/v1/introduction), last updated November 19, 2026
  • Google for Developers, Programmable Search Engine "Overview" (developers.google.com/custom-search/docs/overview), last updated August 21, 2024
  • Google Programmable Search Engine Help, "Update sites in your search engine" (support.google.com/programmable-search/answer/12397162)
  • Google Programmable Search Engine Help, "What is Programmable Search Engine?" and "Programmable Search Engine vs Google.com" (support.google.com/programmable-search/answer/4513751 and answer/70392)
  • Programmable Search Engine blog, "Evolving Programmable Search Engine," January 2026 (programmablesearchengine.googleblog.com/2026/01/updates-to-our-web-search-products.html)
  • Google Cloud, "Migrate from Custom Search Site Restricted JSON API" (developers.google.com/custom-search/v1/site_restricted_api), last updated December 1, 2026
  • Google Cloud, "Agent Search pricing" (cloud.google.com/generative-ai-app-builder/pricing)

Blogs Byte has no affiliate link or sponsorship with Google. Prices, dates and product names change, so check Google's pages before you decide.

BE
Blogs Byte Editorial

Blogs Byte explains AI, software and productivity in plain English, and builds free browser-based tools.

Stay updated

Follow Blogs Byte for new guides and tools.

We publish a new guide every couple of days. Follow us on Facebook or Instagram to hear about new articles first.

New guides every few days