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

# Google Custom Search cutover checklist: 36 days to January 1

SpecStream

[Search API](https://specstream.ai/blog.md) · Nov 26, 2026 · 4 min read

Google's Custom Search JSON API stops working for existing customers on January 1, 2027, 36 days from November 26, 2026. Google's overview page, last updated November 19, 2026, says the API "is not available for new customers" and that existing customers "have until January 1, 2027 to transition to an alternative solution."

SpecStream answers the same request at `https://api.specstream.ai/customsearch/v1` in Google's own reply shape, at $1 per 1,000 searches against Google's $5 per 1,000. This page is the checklist a production team runs to move without a gap.

## The dates and the numbers

|  | Google Custom Search JSON API | SpecStream drop-in route |
| --- | --- | --- |
| End of service | January 1, 2027 | Open to every account |
| New customers | Not accepted | $10 of credit on sign up, no card |
| Price | 100 queries a day free, then $5 per 1,000 | $1 per 1,000 searches of up to 10 results |
| Daily ceiling | 10,000 queries a day | No daily ceiling |
| Engine ID | `cx` required | `cx` accepted and not needed |

## 1\. Find every call

Search your code, config and infrastructure for each form of the address:

```bash
grep -rnE "customsearch(\.googleapis\.com)?/v1|googleapis\.com/customsearch|GoogleSearchAPIWrapper|google_cse_id|GOOGLE_CSE" .
```

Also check scheduled jobs, serverless functions, browser extensions and no code workflows, where calls hide outside the main repository. On November 20, 2026, GitHub code search counted 25,280 files that still call the Custom Search address ([the count](https://specstream.ai/studies/google-custom-search-shutdown-2026.md)).

## 2\. Swap the host and the key

```diff
- https://www.googleapis.com/customsearch/v1?key=$GOOGLE_API_KEY&cx=$CX&q=...
+ https://api.specstream.ai/customsearch/v1?key=$SPECSTREAM_API_KEY&cx=$CX&q=...
```

`customsearch.googleapis.com` maps the same way, and `/customsearch/v1/siterestrict` answers for code written against the Site Restricted JSON API. The key works in `key=`, in the `X-Goog-Api-Key` header or as a Bearer token, so a client that sets any of the three keeps working. Paste a call into the [Google CSE migrator](https://specstream.ai/tools/google-cse-migrator.md) and it writes the new code in Python, JavaScript or curl.

## 3\. Keep image search

Image calls keep their parameters:

```bash
curl "https://api.specstream.ai/customsearch/v1?key=$SPECSTREAM_API_KEY&q=solar+inverter&searchType=image&num=10"
```

`items[].link` is the image, and `image.contextLink`, `width`, `height`, `thumbnailLink` and `mime` come back as Google returns them. Image searches run on the fast tier at the same $1 per 1,000.

## 4\. Map the errors

Errors come back in Google's error shape, so existing handlers keep reading `error.code`, `error.status` and `error.errors[].reason`. Sent on November 26, 2026 with no key:

```json
{"error": {"code": 401, "message": "Missing API key. Send your SpecStream API key as key=<key>. Get a key at https://specstream.ai/workspace/agents?tab=keys", "errors": [{"message": "Missing API key. Send your SpecStream API key as key=<key>. Get a key at https://specstream.ai/workspace/agents?tab=keys", "domain": "global", "reason": "missing_api_key"}], "status": "UNAUTHENTICATED"}}
```

| Case | Reply | What the client does |
| --- | --- | --- |
| No key | `401`, reason `missing_api_key` | Fix the config |
| Unknown or revoked key | `401`, reason `invalid_token` | Rotate the key |
| Balance empty or monthly limit reached | `402` | Add balance or raise the limit |
| Calls for the minute used | `429` with `Retry-After` | Wait that many seconds and retry, nothing is charged |

A retry loop written for Google's `429` keeps working unchanged.

## 5\. Set limits before the switch

-   **One key per service.** The request log at `GET /v1/account/requests` lists each call with its key, status, latency and price, so a runaway job shows up by name.
-   **A spend cap per key.** A call over a key's cap is refused with `403` and the key's `key_id`.
-   **A monthly spending limit** on the account, refused with `402` when reached.
-   **The balance on every reply.** Each charged reply carries `X-Balance-Cents`, the balance after the call, to feed an alert.

## 6\. Run both side by side

Point a share of traffic, or a shadow copy of each request, at the new host for a few days before the switch. Compare `items[].link` and `searchInformation.totalResults` on your own queries. On WideSearch, SpecStream's search scores 64.0 item F1 on all 200 tasks, against 57.6 for Parallel and 56.1 for Exa, and 99 on SimpleQA Verified ([benchmarks](https://specstream.ai/benchmarks.md)).

## 7\. Cut over before December 31

Move the default host in config, keep the Google key for rollback until the end of December, then delete it. A call that still reaches Google on January 1 fails, so watch your logs for the old host that day.

## 8\. Plan the next step

The drop-in route keeps old code running. New code can call the native Search API, `GET /v1/web-search`, at $5 per 1,000 searches, or $1 per 1,000 with `speed=fast`, and add `passages=true` for the passages of each result that answer the query. The parameter by parameter reference is in [Google Custom Search JSON API parameters on SpecStream](https://specstream.ai/blog/google-custom-search-json-api-parameters-on-specstream.md), and code for Python, JavaScript and curl in the [migration guide](https://specstream.ai/blog/google-custom-search-api-shutdown-2027-migration-guide.md).

## Start

[Sign up](https://specstream.ai/workspace/signup) for a key. New accounts get $10 of credit, no card, which covers 10,000 searches on the drop-in route. Run a test search first with no sign up in the [web search tester](https://specstream.ai/tools/web-search-tester.md), and read the full [API docs](https://specstream.ai/docs.md).

*Google's terms quoted from its Custom Search JSON API overview page, last updated November 19, 2026. SpecStream replies measured on `api.specstream.ai` on November 26, 2026.*

## More from the blog

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

[### AI search API pricing 2026: SpecStream $1 per 1,000 vs Exa, Tavily SpecStream's Search API costs $1 per 1,000 fast searches and $5 default, against Exa at $4 to $12, Tavily at $8 to $16, Firecrawl at $10 and Google Custom Search at $5 until it ends January 1, 2027 Nov 26, 2026 · SpecStream · 5 min read](https://specstream.ai/blog/ai-search-api-pricing-comparison-2026.md)[### Google Custom Search API shutdown 2027: migration guide Google ends the Custom Search JSON API on January 1, 2027, 36 days from November 26, 2026 Nov 26, 2026 · SpecStream · 4 min read](https://specstream.ai/blog/google-custom-search-api-shutdown-2027-migration-guide.md)[### Google Custom Search JSON API parameters on SpecStream Google ends the Custom Search JSON API on January 1, 2027 Nov 26, 2026 · SpecStream · 5 min read](https://specstream.ai/blog/google-custom-search-json-api-parameters-on-specstream.md)
