> SpecStream is the live web data engine for teams and agents. This is the Markdown copy of https://specstream.ai/blog/drop-in-web-search-api-migration-guide-2026. Every page, with what SpecStream does and costs: https://specstream.ai/llms.txt

# Search API migration guide 2026: Google CSE, Tavily, Exa

SpecStream

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

Google ends its Custom Search JSON API for existing customers on January 1, 2027, 36 days from today. Any client written for it, or for Firecrawl, Tavily, Exa, Serper, Brave, SearXNG or Crawl4AI, moves to SpecStream by changing two things: the base address and the key. The request and the response keep the shape the client already parses. Each search on a drop-in route runs SpecStream's fast search at $1 per 1,000 calls of up to 10 results, and each page read is $0.80 per 1,000.

The searches come from the web search API that ranks first on WideSearch, with 57.32% Avg@4 item F1 across all 200 official tasks and 4 trials, ahead of Exa (56.1%), Tavily (55.9%), Brave (54.8%), Perplexity (54.0%) and Parallel (53.7%), and that scores 99 on SimpleQA Verified. Scores and method are on [/benchmarks](https://specstream.ai/benchmarks.md).

## The change for each API

| Your client calls | Set the base address to | Call | Key goes in |
| --- | --- | --- | --- |
| [Google Custom Search JSON API](https://specstream.ai/migrate/google-custom-search.md) | `https://api.specstream.ai` | `GET /customsearch/v1?q=...&num=10&start=1` | `key=`, `X-Goog-Api-Key` or Bearer |
| [Tavily](https://specstream.ai/migrate/tavily.md) | `https://api.specstream.ai/tavily` | `POST /tavily/search` | Bearer or `api_key` |
| [Exa](https://specstream.ai/migrate/exa.md) | `https://api.specstream.ai/exa` | `POST /exa/search` | `x-api-key` or Bearer |
| [Firecrawl v2](https://specstream.ai/migrate/firecrawl.md) | `https://api.specstream.ai/firecrawl` | `POST /firecrawl/v2/search`, `/v2/scrape` | Bearer |
| [Serper](https://specstream.ai/migrate/serper.md) | `https://api.specstream.ai/serper` | `POST /serper/search` | `X-API-KEY` |
| [Brave Search API](https://specstream.ai/migrate/brave.md) | `https://api.specstream.ai` | `GET /res/v1/web/search?q=...&count=20` | `X-Subscription-Token` |
| [SearXNG](https://specstream.ai/migrate/searxng.md) | `https://api.specstream.ai/searxng/<key>` | `GET /searxng/search?q=...&format=json` | The address, `key=`, `X-API-Key` or Bearer |
| [Crawl4AI server](https://specstream.ai/migrate/crawl4ai.md) | `https://api.specstream.ai/crawl4ai` | `/crawl`, `/crawl/stream`, `/md` | Bearer |

The free [drop-in API converter](https://specstream.ai/tools/drop-in-api-converter.md) rewrites a request for any of these into its SpecStream form, and the [Google CSE migrator](https://specstream.ai/tools/google-cse-migrator.md) does the same for a Custom Search call. Each drop-in base address opened without a key answers with JSON naming the API, the address it replaces, where the key goes and its routes, at no cost.

## Google Custom Search JSON API

Point the client at `https://api.specstream.ai` in place of `https://www.googleapis.com` or `https://customsearch.googleapis.com`, and keep the path `/customsearch/v1`. The answer has Google's shape: `items[].title`, `link`, `snippet` and `displayLink`, with `searchInformation.totalResults` and `queries.nextPage` for paging. The key goes in `key=`, in the `X-Goog-Api-Key` header or as a Bearer token. `cx` is accepted and not used, so there is no search engine to configure and no list of sites to maintain. Google image results answer on the same route.

## Tavily and Exa

For Tavily, set the base address to `https://api.specstream.ai/tavily`. `POST /tavily/search` with `{"query": "...", "max_results": 10}` answers with `results[].title`, `url` and `content`. In the official Python SDK, pass `api_base_url="https://api.specstream.ai/compat/tavily"` to `TavilyClient`. `POST /tavily/extract` takes up to 20 URLs and answers with `results[].raw_content` and `failed_results[]`, each page at the Extract API's page price.

For Exa, set the base address to `https://api.specstream.ai/exa`. `POST /exa/search` with `{"query": "...", "numResults": 10}` answers with `results[].id`, `url`, `title`, `publishedDate` and `text`. In the official Python SDK, pass `base_url="https://api.specstream.ai/compat/exa"` to `Exa`. `POST /exa/contents` takes up to 20 URLs with `"text": true`, and `exa.get_contents(urls)` works on the same base address.

## Firecrawl and Crawl4AI

For Firecrawl, set the base address to `https://api.specstream.ai/firecrawl`. `POST /firecrawl/v2/search` is one web search answered as `data.web[].url`, `title` and `description`, with `markdown` when `scrapeOptions` ask for it. `POST /firecrawl/v2/scrape` with `{"url": "..."}` is one page read, answered as `data.markdown` and `data.metadata`. Map and crawl answer on the same address in v2 and v1. Firecrawl's SDKs (firecrawl-py, and the GPT Researcher, LangChain and LlamaIndex loaders) call `/v2/search` and `/v2/scrape` at the host root, so for them the base address is `https://api.specstream.ai`.

A Crawl4AI server's `/crawl`, `/crawl/stream` and `/md` answer at `https://api.specstream.ai/crawl4ai` in Crawl4AI's own request and response form, with `/crawl/stream` sending one JSON result per line as pages land. There is no server, browser pool or proxy to run. Each crawled page with text is one page read.

Page reads come from the Extract API, first on TRACE Extract v6 at 88.51% across 2,527 URLs and 40 of 40 on scrapingbench.

## Serper, Brave and SearXNG

For Serper, set the base address to `https://api.specstream.ai/serper`; `POST /serper/search` with `{"q": "...", "num": 10, "page": 1}` answers with `organic[].title`, `link`, `snippet` and `position`. For Brave, set it to `https://api.specstream.ai` and keep `/res/v1/web/search`; the answer is `web.results[].title`, `url` and `description`. A Brave call that names no count gets 10 results at the base price, and `count=20` is priced as 20.

For SearXNG, set the instance address to `https://api.specstream.ai/searxng/<key>`. `format=json` answers with `results[].title`, `url` and `content`, and `format=html` answers with SearXNG's own results page, which tools such as Khoj read. A self-hosted SearXNG instance depends on the engines it scrapes; the drop-in route answers from SpecStream's own search.

## What a migration costs

| Call on a drop-in route | Price |
| --- | --- |
| One search of up to 10 results | $0.001, $1 per 1,000 |
| 50 results in one search | $0.0058 |
| 100 results in one search | $0.0118 |
| A search that asks for the answer (the default search) | $0.005, $5 per 1,000 |
| One page read (scrape, extract, contents, crawl page) | $0.0008, $0.80 per 1,000 |
| A page with no text | Not charged |

A call that names no result count gets 10 results at the base price. When search is busy, every route answers 429 in that API's own error body with a Retry-After header, and nothing is charged. One key, one balance and one call history cover every route, so a team that uses Tavily for agents, Firecrawl for page text and Google for site search moves all three onto one account. The [AI search API cost calculator](https://specstream.ai/tools/ai-search-api-cost-calculator.md) prices your own monthly volume, and the [2026 search API pricing comparison](https://specstream.ai/blog/ai-search-api-pricing-comparison-2026.md) sets each provider's list price side by side.

## A migration checklist

1.  Create a key: [sign up](https://specstream.ai/workspace/signup) and get $10 of credit, no card.
2.  Change the base address and the key in one environment, using the table above.
3.  Run your existing tests. The response shape is the one your parser already reads.
4.  Compare a day of answers against your current provider, then switch production.
5.  For Google Custom Search, finish before January 1, 2027, when Google's endpoint stops answering existing customers.

## How this guide is sourced

Every address, field and price here is from SpecStream's own API reference and price list as of November 26, 2026; the full list of drop-in routes, more than 70, is at [/migrate](https://specstream.ai/migrate.md). Benchmark scores are from [/benchmarks](https://specstream.ai/benchmarks.md), where each board's official questions, method and run are published. The Google Custom Search end date is Google's own announcement for existing customers.

## Start the switch

[Sign up](https://specstream.ai/workspace/signup), copy your key into the client you already have, and run your next search on SpecStream. $10 of credit covers 10,000 fast searches, no card.

*Addresses, prices and scores as published by SpecStream 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 cutover checklist: 36 days to January 1 Google's Custom Search JSON API ends for existing customers on January 1, 2027 Nov 26, 2026 · SpecStream · 4 min read](https://specstream.ai/blog/google-custom-search-cutover-checklist-january-2027.md)
