Google Custom Search API alternatives compared before the 2027 shutdown
SpecStream
Search API · · 5 min read
Google closes the Custom Search JSON API on January 1, 2027, 30 days from today. Every request to https://www.googleapis.com/customsearch/v1 stops answering that day, and the API already refuses new customers. On November 20, 2026, GitHub code search still counted 25,280 files that call that address (the count).
There are five realistic replacements. They differ on three things that decide the work: what a search costs, whether the reply keeps Google's items[] shape, and how many lines of your code change. This guide compares them on those three, then shows the move in four languages.
The five replacements, side by side
Competitor prices are from each provider's own pages, read on November 23, 2026 (Exa, Tavily, SerpApi, Brave).
| Replacement | Price per 1,000 searches | Reply shape | Code that changes |
|---|---|---|---|
| SpecStream drop-in | $1 on the fast tier | Google's own items[]: title, link, snippet, displayLink |
The host and the key |
| Brave Search API | $5 per 1,000 requests | Brave's web.results[] |
Request, auth header, parser |
| Exa | $4 on lite, $7 on auto | Exa's results[] |
Request, auth header, parser |
| Tavily | $8 per 1,000 basic searches | Tavily's results[] |
Request, auth header, parser |
| SerpApi | $25 per 1,000 on the Starter plan | SerpApi's organic_results[] |
Request, key name, parser |
| Google Custom Search today | $5 per 1,000 after 100 free a day, capped at 10,000 a day | items[] |
Ends January 1, 2027 |
Only one row keeps the reply your parser already reads. Every other option means rewriting the request, the auth and the code that walks the results, then testing all of it before December 31.
Why the reply shape matters more than the price
A Custom Search integration is rarely one call. It is a request builder, a pagination loop over start, a parser over items[], and often searchInformation.totalResults in a UI. Switching to a provider with another schema touches each of those.
SpecStream answers /customsearch/v1 with the same parameters (q, num, start, siteSearch, dateRestrict, gl, hl, lr, safe, sort, searchType, exactTerms, excludeTerms, fileType) and the same reply fields, including queries.nextPage. The cx engine ID is accepted and not needed. Image search keeps working with searchType=image. The full parameter table is in the parameter reference.
Accuracy behind the drop-in
A cheaper search is worth nothing if the answers are worse. SpecStream is first on WideSearch, ahead of every search API: 57.32% item F1 under the official four trial protocol on all 200 tasks, against 56.1% for the Exa Search API and 55.9% for the Tavily Search API. It scores 99 on SimpleQA Verified. Fast tier calls answered at a 937 ms median over 6,548 live calls in the 7 days to December 1, 2026. Scores and method are on the benchmarks page.
The move, in four languages
Create a key at sign up. A new account gets $2 of credit with no card, which covers 2,000 fast searches. Then change the base address.
cURL
curl -G https://api.specstream.ai/customsearch/v1 \
-d key=$SPECSTREAM_KEY \
--data-urlencode "q=industrial hemp processors in Oregon" \
-d num=10
Python
import os
import requests
# Before: BASE = "https://www.googleapis.com/customsearch/v1"
BASE = "https://api.specstream.ai/customsearch/v1"
reply = requests.get(BASE, params={
"key": os.environ["SPECSTREAM_KEY"],
"q": "industrial hemp processors in Oregon",
"num": 10,
}, timeout=30).json()
for item in reply["items"]:
print(item["title"], item["link"])
Node.js
// Before: const BASE = "https://www.googleapis.com/customsearch/v1";
const BASE = "https://api.specstream.ai/customsearch/v1";
const params = new URLSearchParams({
key: process.env.SPECSTREAM_KEY,
q: "industrial hemp processors in Oregon",
num: "10",
});
const reply = await (await fetch(`${BASE}?${params}`)).json();
for (const item of reply.items) console.log(item.title, item.link);
Go
// Before: base := "https://www.googleapis.com/customsearch/v1"
base := "https://api.specstream.ai/customsearch/v1"
q := url.Values{}
q.Set("key", os.Getenv("SPECSTREAM_KEY"))
q.Set("q", "industrial hemp processors in Oregon")
q.Set("num", "10")
resp, err := http.Get(base + "?" + q.Encode())
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
The Go program decodes into the same struct it used for Google. If you call Google through its official client library, point the client's endpoint at https://api.specstream.ai instead; the migrator writes that change for your stack when you paste your current call.
What the move costs
| Searches a month | Google Custom Search | SpecStream fast tier |
|---|---|---|
| 100,000 | $500 | $100 |
| 300,000 (the 10,000 a day cap) | $1,500 | $300 |
| 1,000,000 | Over Google's daily cap | $1,000 |
Google's column assumes the 100 free daily queries are already spent. SpecStream has no daily cap. For steady use, the Starter plan is the Monthly Pro Pass: $49 a month gives $49 of API credit, which is 49,000 fast searches, plus 5,000 ready list rows a month.
One key for every search schema
A team that also runs Exa, Tavily, SerpApi or Brave code moves those calls onto the same key: SpecStream answers each of their schemas at its own base address, at the same $1 per 1,000 on the fast tier (the comparison). The same key reads pages as Markdown with the Extract API at $0.80 per 1,000 pages, and runs Deep Search for whole datasets.
For a Custom Search call that must keep working on January 1, the drop-in is the shortest path: two strings change and the parser stays.
Next steps
- Read the step by step migration guide for 15 stacks and the cutover checklist.
- Paste your existing call into the Google CSE migrator and compare both replies live.
- Read the migration page, check pricing, and get a key with $2 of credit at sign up.
More from the blog
Every postExa vs Tavily vs SerpApi: search API cost and latency compared (2026)
Price per 1,000 searches, benchmark scores and drop-in addresses for Exa, Tavily, SerpApi, Brave and SpecStream, SpecStream's measured 937 ms median, and a script that times each provider on your own queries
Dec 2, 2026 · SpecStream · 5 min read
Claygent alternative 2026: web enrichment in Clay at $1 per 1,000 rows, 50x cheaper
Run live web search and page extraction inside Clay through the HTTP API column: $1 per 1,000 searches and $0.80 per 1,000 pages on the engine first on WideSearch, ahead of every search API, with 99 on SimpleQA Verified
Dec 1, 2026 · SpecStream · 4 min read
EU sovereign web search API 2026: a GDPR and DORA buyer's guide
What to check in a web search API under GDPR and DORA, and how SpecStream answers: a French company, a 6.77 billion page index on 12 nodes in Frankfurt, zero retention and EU only egress per API key, and a published subprocessor table
Dec 1, 2026 · SpecStream · 6 min read