Blog/Shutdown

Best Google Custom Search API alternatives (2026)

Google Custom Search shuts down January 1, 2027. Cheapest Google-results replacement: Serper at $0.30–1.00 per 1,000. For AI agents: Exa or Parallel; cheapest overall: Keirolabs lite.

TL;DR

  • The Custom Search JSON API is closed to new customers. Existing customers must move off it by January 1, 2027.
  • Until then: 100 free queries a day, then $5 per 1,000, capped at 10,000 a day.
  • Google's suggested replacement, Vertex AI Search, only covers up to 50 domains. It is not whole-web search.
  • For whole-web results: Serper or Keirolabs for Google's results, Brave for an independent index, Exa or Parallel if an LLM reads them.
Jan 1, 2027Custom Search JSON API discontinued
10,000Max queries per day it ever allowed
50Domain limit on Vertex AI Search
0Self-serve whole-web APIs Google now sells

Google’s Custom Search JSON API shuts down on January 1, 2027; for apps and AI agents, the cheapest replacement is Keirolabs lite at $0.03–0.10 per 1,000 queries from its own index, Serper is the cheapest for Google’s own results at $0.30–1.00 per 1,000, and Exa and Parallel return page text or excerpts in the same query for agents that need content, not ten links. Google charged $5 per 1,000 and is already closed to new customers. Checked November 15, 2026.

APIBest forPrice per 1,000Free tierOne catch
SerperDrop-in Google results$1.00–0.302,500 searchesPrepaid packs
Keirolabs liteCheapest whole-web search$0.03–0.10No key needed; 750 creditsOwn index, not Google’s ranking
Keirolabs Google SERPGoogle results plus search and extract on one key$1.78–5.33Same 750 creditsDearer than Serper
SerpApiMany engines, locations$25–1.96250 a monthPricey at low volume
BraveIndependent index$5$5 credit a monthDifferent results from Google
SearchApiMid-volume Google$4.00–1.00See searchapi.ioMonthly plans

What 10,000, 100,000 or 1,000,000 searches a month cost

API10,000100,0001,000,000
Google Custom Search (until 2027)$35$485Not possible (10,000 a day cap)
Keirolabs lite$0.30–1.00$3–10$30–100
Serper$10$100$750
SearchApi$40$250$1,500
Brave$50$500$5,000
SerpApi$150$725$3,750

Prepaid-credit vendors are shown at the per-1,000 rate of the plan or pack that fits that volume. Google’s figures include its 100 free queries a day.

Here’s a sentence that would have sounded absurd ten years ago: Google, the company that is web search, no longer sells self-serve access to its own web results.

For years the Custom Search JSON API was the one official, licensed way to get Google results into your code. It was never generous. It capped you at 10,000 queries a day and was really built for searching a handful of sites. But it was official, which meant no proxies, no scraping, no legal grey zone.

That ends on January 1, 2027. If you have a cx= parameter anywhere in your codebase, this post is your migration plan.

What exactly is happening?

From Google’s Custom Search JSON API overview, as of November 2026:

“The Custom Search JSON API is closed to new customers.”

And the line that matters most:

“Existing Custom Search JSON API customers have until January 1, 2027 to transition to an alternative solution.”

Unpacked:

  • No new keys. If you didn’t have it enabled already, you can’t start now.
  • Existing customers run until January 1, 2027. Plan as if every call fails after that.
  • Vertex AI Search is the official successor, but only for searching “up to 50 domains”.
  • Whole-web search is “contact us”. Google says to get in touch “to express your interest” in a full web search solution. There’s no sign-up page and no public price.

This is the second big official search API to disappear in under 18 months, after Bing in August 2025. The pattern is clear: the companies that own web-scale indexes would rather sell you an AI answer than raw results. Plan your stack around providers whose business is selling search.

Is the Google Custom Search API free?

Partly, until it’s gone. The pricing that still applies to existing customers:

UsagePrice
First 100 queries per dayFree
Additional queries$5 per 1,000
Daily maximum10,000 queries

That 10,000-a-day ceiling was always the real limit: roughly 300,000 queries a month, tops. It kept bills small. It also kept anything serious off the platform.

What breaks on January 1, 2027

Grep your codebase and your vendors’ for these. Each one is a call with a deadline:

  • https://www.googleapis.com/customsearch/v1
  • the cx= parameter (your Programmable Search Engine ID)
  • build("customsearch", "v1") in Google’s Python client, and its equivalents in other languages
  • LangChain’s GoogleSearchAPIWrapper and similar wrappers that ask for a google_cse_id
  • WordPress and CMS plugins that power site search with a Google key
  • No-code automations that were set up with a Custom Search key

The sneaky ones are in dependencies. An agent framework, an SEO plugin or an internal tool someone built in 2019 may be calling this API without your code ever mentioning it. Search your secrets manager for Google API keys with the Custom Search API enabled, and check who uses them.

The alternatives

The right replacement depends on what you used Custom Search for.

You used it forUse insteadPer 1,000
Searching your own site or a few sitesVertex AI Search (≤50 domains), or a SERP API with site:varies
Whole-web results, Google’s rankingSerper, Keirolabs Google SERP, SerpApi, DataForSEO$0.30–25
Whole-web results, independent indexBrave Search API$5
Results for an LLM or agentExa, Tavily, Parallel, Keirolabs$0.10–8
Grounding a Gemini modelGemini Groundingquota-based

Closest like-for-like

Serper

Google’s results as JSON, $1.00 per 1,000 to start and $0.30 at volume. Map the parameters, change the URL, done.

Google results plus more

Keirolabs

A Google SERP endpoint at $1.78–5.33 per 1,000, plus its own index from $0.03 per 1,000, page content and answers on one key.

No Google dependency at all

Brave Search API

Its own index, so the next policy change at Google doesn’t touch you. $5 per 1,000.

An LLM reads it

Exa or Parallel

Skip the “get links, then scrape them” dance. Page text or excerpts come back in one call.

What does each replacement return per query?

Custom Search returned up to ten results per query: title, link, snippet and some page metadata. The replacements return different things, and what your app or agent does with the response decides which one fits.

APIIndexOne query returnsFitsMCP server
SerperGoogle’s resultsOrganic links and snippets, plus news, images, maps and places endpointsApps that showed Google resultsNo official one found
SerpApiGoogle and dozens of enginesParsed JSON for every SERP featureApps that need many engines or locationsYes, https://mcp.serpapi.com/mcp
KeirolabsOwn index, plus a Google SERP endpointSnippets (lite), full-page markdown (search + content), or a cited answerAI agents and RAG at low cost per queryYes, https://api.keirolabs.cloud/mcp/api
BraveOwn independent indexLinks and snippets, with web, news, image and video resultsApps that want no Google dependencyYes, @brave/brave-search-mcp-server
ExaOwn neural indexLinks plus page text, highlights or summariesResearch agents, semantic queriesYes, https://mcp.exa.ai/mcp
ParallelOwn index for agentsRanked URLs with compressed excerptsAgents that want content, not linksYes, https://mcp.parallel.ai/mcp
Vertex AI SearchUp to 50 of your domains, on Google CloudResults and answers from those sitesSite search inside a Google Cloud appNot a whole-web API

If an LLM reads the results, the old pattern of “query Custom Search, then fetch and scrape each link” costs two round trips and a scraper. APIs that return content in one query (Exa text, Parallel excerpts, Keirolabs search + content) remove the second step.

Full price breakdowns: SERP API pricing for the Google-results options, and the price calculator for everything.

Migrating the code

A typical Custom Search call:

curl -G "https://www.googleapis.com/customsearch/v1" \
  -d key=$GOOGLE_KEY -d cx=$CSE_ID \
  --data-urlencode "q=latest rust release" -d num=10 -d gl=us

The same search on Serper:

curl https://google.serper.dev/search \
  -H "X-API-KEY: $SERPER_KEY" -H "Content-Type: application/json" \
  -d '{"q": "latest rust release", "num": 10, "gl": "us"}'

And on Keirolabs’ Google endpoint:

curl -X POST https://api.keirolabs.cloud/api/v2/search/google \
  -H "Authorization: Bearer $KEIRO_API_KEY" -H "Content-Type: application/json" \
  -d '{"query": "latest rust release", "maxResults": 10, "country": "us"}'

The parameter map

Custom SearchSerperBrave
qqq
num (max 10)numcount
startpageoffset
glglcountry
lr / hlhlsearch_lang
dateRestrict=d7tbs=qdr:wfreshness=pw
siteSearch=example.comsite:example.com in qsite:example.com in q
items[].linkorganic[].linkweb.results[].url
items[].snippetorganic[].snippetweb.results[].description

If you searched specific sites

Export your Programmable Search Engine’s site list before you lose access to it. Then either rebuild it in Vertex AI Search (50 domains or fewer), or turn it into site: operators on a SERP API. Watch the operator pricing: DataForSEO bills each operator at 5× the base price. The pricing post has the details.

A migration plan for this week

  1. Inventory. Find every place the API is called, including plugins and tools (see the list above).
  2. Pick two candidates from the table, based on who reads the results.
  3. Log 100–500 real queries from production and replay them against both. Compare whether the result you’d want shows up in the top 5.
  4. Set spend limits. Custom Search’s 10k/day cap protected your bill. Your new provider won’t, and an agent stuck in a loop can burn through a month of credits overnight.
  5. Ship behind a flag, run both side by side for a week, then cut over.

Do it in November, not on December 30. Results differ between providers, and you want a few weeks of real traffic to spot the queries where the new one does worse.

Sources

Prices checked November 14, 2026 on each vendor’s own page:

FAQ

What are the best Google Custom Search API alternatives?

For Google’s own results: Serper ($1.00–0.30 per 1,000) or SerpApi ($25–1.96). For whole-web search at the lowest price: Keirolabs lite ($0.03–0.10). For an independent index: Brave ($5).

Is Google’s Custom Search API being discontinued?

Yes. It’s closed to new customers now, and existing customers must move by January 1, 2027.

No official one. Google has never sold self-serve whole-web results. Serper gives 2,500 free queries at signup, and SerpApi has a small free plan, but both scrape Google.

What about the Programmable Search box on my website?

The embeddable Programmable Search Element is a separate product from the JSON API. Check Google’s Programmable Search pages for its status. This post is about the JSON API.

What’s the cheapest replacement?

For Google’s results, Serper at $0.30–1.00 per 1,000. For any results, Keirolabs lite at $0.03–0.10. Price your exact volume in the calculator.

Topic hub

More on serp and google search apis

  1. Best SERP API (2026): 9 Google SERP APIs priced per 1,000Start here
  2. Zenserp pricing (2026): plans and cost per 1,000 searches
  3. Cheapest SERP API (2026): Google results from $0.30 per 1,000
  4. Best Serper alternatives (2026): 8 Google SERP APIs compared
  5. Serper pricing (2026): $1.00 to $0.30 per 1,000 Google searches
  6. Bright Data SERP API pricing (2026): from $1 per 1,000 requests
  7. ScaleSERP and serpstack alternatives: cheaper Google SERP APIs compared
  8. SerpApi pricing (2026): $25 to $1.96 per 1,000 searches
  9. Best Bright Data SERP API alternatives (2026): 8 per 1,000
  10. Google Custom Search API pricing (2026): $5/1k, ends 2027
  11. What is a SERP API? A plain-English guide (with prices)
  12. Serper API: pricing, setup, endpoints and limits
  13. SerpApi alternatives for developers (2026): 8 cheaper SERP APIs
  14. SERP API pricing: every provider, per 1,000 searches

Keep reading

WebSearch
APIs
Submit an API