> SpecStream is the live web data engine for teams and agents. This is the Markdown copy of https://specstream.ai/blog/google-custom-search-api-alternatives-compared-2027. Every page, with what SpecStream does and costs: https://specstream.ai/llms.txt

# Google Custom Search API alternatives compared before the 2027 shutdown

SpecStream

[Search API](https://specstream.ai/blog.md) · Dec 2, 2026 · 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](https://specstream.ai/studies/google-custom-search-shutdown-2026.md)).

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](https://specstream.ai/vs/exa.md), [Tavily](https://specstream.ai/vs/tavily.md), [SerpApi](https://specstream.ai/vs/serpapi.md), [Brave](https://specstream.ai/vs/brave-search-api.md)).

| 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](https://specstream.ai/blog/google-custom-search-json-api-parameters-on-specstream.md).

## 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](https://specstream.ai/benchmarks.md).

## The move, in four languages

Create a key at [sign up](https://specstream.ai/signup?src=cse-alternatives). A new account gets $2 of credit with no card, which covers 2,000 fast searches. Then change the base address.

### cURL

```bash
curl -G https://api.specstream.ai/customsearch/v1 \
  -d key=$SPECSTREAM_KEY \
  --data-urlencode "q=industrial hemp processors in Oregon" \
  -d num=10
```

### Python

```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

```javascript
// 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

```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](https://specstream.ai/tools/google-cse-migrator.md) 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](https://specstream.ai/v1/billing/credit-plans/checkout?plan=starter) 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](https://specstream.ai/blog/exa-tavily-serpapi-cost-and-latency-comparison-2026.md)). 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

1.  Read the step by step [migration guide for 15 stacks](https://specstream.ai/blog/google-custom-search-api-shutdown-2027-migration-guide.md) and the [cutover checklist](https://specstream.ai/blog/google-custom-search-cutover-checklist-january-2027.md).
2.  Paste your existing call into the [Google CSE migrator](https://specstream.ai/tools/google-cse-migrator.md) and compare both replies live.
3.  Read the [migration page](https://specstream.ai/migrate/google-cse.md), check [pricing](https://specstream.ai/pricing.md), and get a key with $2 of credit at [sign up](https://specstream.ai/signup?src=cse-alternatives).

## More from the blog

[Every post](https://specstream.ai/blog.md)

[### Bing Search API v7 replacement: the one line migration guide for 2026 Microsoft retired the Bing Web Search API v7 on August 11, 2025 Dec 2, 2026 · SpecStream · 5 min read](https://specstream.ai/blog/bing-search-api-v7-replacement-and-migration-guide-2026.md)[### Exa 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](https://specstream.ai/blog/exa-tavily-serpapi-cost-and-latency-comparison-2026.md)[### Live web search API pricing and benchmarks, 2026 One table of live web search API prices and public benchmark scores: SpecStream at $1 per 1,000 fast searches with a 937 ms median, first on WideSearch and 99 on SimpleQA Verified, beside Exa, Tavily, Brave, Serper, Perplexity and Firecrawl Dec 2, 2026 · SpecStream · 5 min read](https://specstream.ai/blog/live-web-search-api-pricing-and-benchmarks-2026.md)
