Guides · 13 min read
Google Custom Search API alternatives: what to use before it shuts down on January 1, 2027
The Custom Search JSON API ends January 1, 2027. What Google offers instead, and how to migrate by changing the base URL and key.
Google has closed the Custom Search JSON API to new customers, and existing customers have until January 1, 2027 to move. CrawlerData serves a Custom Search-compatible endpoint, so most integrations migrate by changing the base URL and the key.
Last checked against Custom Search JSON API's public pages. Sources
Google's overview page says: "The Custom Search JSON API is closed to new customers." Existing customers "have until January 1, 2027 to transition to an alternative solution."
Google recommends Vertex AI Search as an alternative for searching up to 50 domains, and asks teams that need full web search to contact Google. Vertex AI Search searches the sites you configure, so it is not a drop-in replacement if your code relies on public Google web results.
CrawlerData's Google Search API returns public Google results in any of 64 countries: organic results with title, link and snippet, as the Custom Search JSON API did, plus AI Overview, People Also Ask, ads, the local pack and more. It costs $1.00 to $0.30 per 1,000 requests, with no daily cap.
For a quick move there is a Custom Search-compatible endpoint, GET /customsearch/v1: the same query parameters and JSON layout, so the migration is a new base URL and key. cx is accepted and ignored, searchType=image is not supported there, and a live search needs a longer client timeout (see the notes below).
| CrawlerData | Custom Search JSON API | |
|---|---|---|
| Pricing model | Prepaid credit packs, no subscription. Credits valid 6 months | Closed to new customers. Existing customers: pay per query until January 1, 2027 |
| Cost per 1,000 at entry | $1.00 per 1,000 requests (Starter, $50 for 50k credits) | Free for 100 queries a day, then $5 per 1,000 |
| Cost per 1,000 at volume | $0.30 per 1,000 requests (Ultimate, $3,750 for 12.5M credits) | $5 per 1,000, up to 10,000 queries a day |
| Free tier | 50 free credits with a verified work email, valid 30 days | 100 queries a day (existing customers only) |
| Google Shopping sellers | Yes. Every seller for a product in one request, 1 credit per 10 sellers returned (rounded up, minimum 1) | Not offered. Web results, or images with searchType=image |
| Async and webhooks | Live (synchronous), plus Fast and Regular queues with polling or a webhook (postbackUrl). Same price on every queue | Synchronous GET request. Webhooks: not published |
| MCP server | Yes. Remote server at api.crawlerdata.com/mcp, 9 tools, same API key | Not published |
| Failed requests | Not charged. A failed job costs 0 credits | Not published |
| Rate limit | 100 requests per minute and 20 per second per API key | Up to 10,000 queries a day |
| Results per request | One Google results page per request, pages 1 to 10 | 1 to 10 (num); start + num cannot exceed 100 |
| What it searches | Public Google results for the country you choose | A Programmable Search Engine you configure (cx) |
| Availability | Open to new customers | Closed to new customers; ends January 1, 2027 |
List prices in USD, excluding tax, as published on October 13, 2026. "Not published" means we could not find it on Custom Search JSON API's public pages. Per-1,000 figures marked "our arithmetic" divide a plan price by its volume.
Most integrations move by changing the base URL and the key: GET https://api.crawlerdata.com/customsearch/v1 takes the Custom Search query parameters and returns the same JSON layout, with your CrawlerData API key in key=. The native API, shown below the notes, is there when you also want AI Overview, ads or the local pack.
| Custom Search JSON API | CrawlerData |
|---|---|
| https://www.googleapis.com/customsearch/v1 | https://api.crawlerdata.com/customsearch/v1 |
| key= (your Google API key) | key= (your CrawlerData API key), or an Authorization: Bearer header |
| cx | Accepted and ignored: results are public Google results |
| safe, fields, other parameters | Accepted and ignored: full items are returned and safe is always off |
| q, num (1 to 10), start (1 to 100) | Same parameters |
| gl, hl, cr, lr | Applied (one of 100 countries, one language) |
| siteSearch, siteSearchFilter | Applied as a site: or -site: operator in the query |
| searchType=image | Returns 400. Use GET /search.json?engine=google_images or the google-images endpoint |
| items[].title / link / snippet / displayLink | Same names |
| items[].htmlTitle / htmlSnippet | The same text, escaped, without bold markup |
| items[].pagemap, cacheId | Not returned |
| error { code, message, errors, status } | Same format (an invalid key returns 401) |
const url = new URL('https://www.googleapis.com/customsearch/v1');
url.search = new URLSearchParams({ key: API_KEY, cx: SEARCH_ENGINE_ID, q: 'best crm software', gl: 'us', hl: 'en' });
const data = await (await fetch(url)).json();
const results = (data.items ?? []).map((i) => ({ title: i.title, url: i.link, snippet: i.snippet }));const url = new URL('https://api.crawlerdata.com/customsearch/v1'); // was https://www.googleapis.com/customsearch/v1
url.search = new URLSearchParams({ key: CRAWLERDATA_API_KEY, cx: SEARCH_ENGINE_ID, q: 'best crm software', gl: 'us', hl: 'en' });
const data = await (await fetch(url, { signal: AbortSignal.timeout(120_000) })).json();
const results = (data.items ?? []).map((i) => ({ title: i.title, url: i.link, snippet: i.snippet }));Google's overview page gives existing customers until January 1, 2027 to move. A migration is small if you do it in this order.
The compatible endpoint is a plain GET request, so any HTTP client works. Google's client library builds its URLs from Google's own API description, so call the CrawlerData endpoint directly instead.
import requests
r = requests.get(
"https://api.crawlerdata.com/customsearch/v1", # was https://www.googleapis.com/customsearch/v1
params={"key": CRAWLERDATA_API_KEY, "cx": "ignored", "q": "best crm software", "gl": "us", "hl": "en"},
timeout=120,
)
for item in r.json().get("items", []):
print(item["title"], item["link"], item["snippet"])The native Google Search API returns the whole results page: AI Overview, People Also Ask, ads, the local pack and more. The fields you used carry over under new names, and batches can run on the fast or regular queue with a webhook at the same price as live requests.
const res = await fetch('https://api.crawlerdata.com/v1/jobs', {
method: 'POST',
headers: { Authorization: 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' },
body: JSON.stringify({ endpoint: 'google-search', params: { query: 'best crm software', country: 'us', language: 'en' }, queue: 'live' }),
});
const { job, result } = await res.json(); // job.status "failed" => result is null, 0 credits
const results = (result?.organic_results ?? []).map((r) => ({ title: r.title, url: r.link, snippet: r.snippet }));Open WebUI can use an external web search provider. CrawlerData serves one at POST https://api.crawlerdata.com/v1/openwebui/search: Open WebUI sends { "query", "count" } with your key as a Bearer token and receives [{ link, title, snippet }]. It always searches Google's US results in English on desktop, count is capped at 10 (5 if Open WebUI sends none), and each search costs 1 credit.
Full request and response schemas are in the OpenAPI spec, with runnable code in the examples repo. AI clients can connect to the MCP server at https://api.crawlerdata.com/mcp with the same API key.
A Google API that returned web or image search results as JSON for a Programmable Search Engine you configure (cx), called with an API key. It gave 100 free queries a day and charged $5 per 1,000 after that. Google now lists it as closed to new customers, and existing customers have until January 1, 2027 to transition.
Find every call to customsearch/v1 in your code, decide whether you search your own sites (Google suggests Vertex AI Search for up to 50 domains) or the whole web (use a SERP API), map the fields, compare outputs on 20 to 50 real queries, and ship before the date. Our Custom Search migration guide on the blog walks through each step.
Google's overview page says the API is closed to new customers and that existing customers have until January 1, 2027 to transition to an alternative solution.
No. The compatible endpoint accepts cx and ignores it, so you can leave existing code as it is. CrawlerData returns public Google results for the country you choose rather than results from a search engine you configure, so a Programmable Search Engine that was limited to your own sites will not give the same results.
Not against CrawlerData. Google's client libraries build their requests from Google's own API description. Call GET https://api.crawlerdata.com/customsearch/v1 with requests, fetch or any HTTP client instead; the parameters and the items[] layout are the same.
With the Custom Search-compatible endpoint, usually only the base URL (https://api.crawlerdata.com/customsearch/v1) and the key: cx is accepted and ignored, and items[] keeps its layout and field names. With the native API, the request and one line of parsing change: items[] becomes result.organic_results[], and start becomes a page number from 1 to 10.
All checked on (as of Oct 2026). Spotted something out of date? Email contact@crawlerdata.com and we will correct it.
Organic results with real destination links, ads, AI Overview, People Also Ask, local pack, top stories, knowledge panel and related searches. Desktop or mobile.
from $0.30 / 1,000 requests
Image results with the source page, original image URL and size, and thumbnail.
from $0.30 / 1,000 requests
News articles with source, date, snippet and link.
from $0.30 / 1,000 requests
Organic positions and SERP features, desktop or mobile, per keyword and country.
See how it works
Fresh Google results as JSON for LLM agents, tools and RAG pipelines.
See how it works
Guides · 13 min read
The Custom Search JSON API ends January 1, 2027. What Google offers instead, and how to migrate by changing the base URL and key.
Guides · 9 min read
Fetch Google results as JSON in Python: organic results, People Also Ask, related searches and AI Overview, desktop or mobile, plus pagination and CSV.
Prepaid packs from $1.00 per 1,000 vs SerpApi's monthly subscription from $25.00 per 1,000.
See the comparison
CompareSame pack prices. CrawlerData adds Google Shopping sellers, async queues with webhooks and MCP.
See the comparison
CompareOne price on every queue, live included, vs queue-based pricing for SERPs and Shopping.
See the comparison
CompareGoogle's own results and Shopping prices for agents vs LLM-ready web content summaries.
See the comparison
CompareThe Bing Search APIs were retired August 11, 2025. Field mapping and code to move.
See the comparison
ComparePlaces Text Search vs the local results searchers see, with Google's prices as of Oct 2026.
See the comparison
ComparePrepaid packs from $1.00 per 1,000 vs Bright Data's $1.50 pay as you go or $499 a month on Scale.
See the comparison
ComparePrepaid packs from $1.00 per 1,000 vs Oxylabs' monthly plans with per-result Google tiers.
See the comparison
CompareOne credit per request in prepaid packs vs Scrapingdog's monthly plans, where Google costs 5 or 10 credits.
See the comparison
Compare1 credit per Google request in prepaid packs vs ScraperAPI's monthly plans where Google costs 25 credits.
See the comparison
Get 50 free credits when you sign up with your work email and verify it. Failed requests are never charged.
We use Google Analytics and Google Ads cookies to measure how the site is used and which ads lead to sign-ups. No personalized ads or remarketing. See our privacy policy.