Skip to content
Custom Search Api Alternative

Custom Search Api Alternative

serpbit.com • November 30, 2026

Google has closed the Custom JSON API to new customers, and existing ones have until 1 January 2027 to move. Serpbit answers the same request at the same path, in the same JSON, from Google's own results page.

Google's note on its Custom JSON API page , as of 11 November 2026: closed to new customers; existing customers have until 1 January 2027 to transition; Vertex AI suggested for searching up to 50 domains, and a full web solution on request.

The change is a host and a key

Your parser stays as it is: items[] keep title , link , displayLink , snippet and their HTML forms, and queries.nextPage pages on as before.

LangChain and LlamaIndex: the same tools, another import

Their Google tools run on Custom . Ours keep the tools' names, calls and answers, so an agent's prompts and traces stay as they are: pip install langchain-serpbit , pip install llama-index-tools-serpbit or npm install @serpbit/langchain .

2. Change the host and the key

Point your calls at with the Serpbit key in key . Leave the rest of the request and the parser as they are.

3. Compare before the date

Run the same queries through both while Google still answers, and read the items[] side by side. Then switch off the old key.

Google's own suggestion for searching your sites, up to 50 domains: a different API, with results from those sites only.

Google's full web

Google asks those who need the whole web to it this solution. Its terms and price are not public.

The whole web as Google's results page shows it, at the same path in the same format. Open to anyone, from 1,000 free credits a month.

What a month of searches costs

Custom 's price for those who still have it, against ours, at full use.

Custom : 100 queries a day free and $5 per 1,000 after, 10,000 a day at most, over 30 days, from Google's page on 11 November 2026. Serpbit: the cheapest plan that holds the volume, or a plan and credit packs spent within six months; a query with up to 10 results is one Google page, 1 credit, and an image 2.

What stays and what does not

The whole list of parameters is in the reference .

The path, /customsearch/v1 , and key as a parameter.

q , num , start , gl , hl , lr , safe , filter , dateRestrict , exactTerms , excludeTerms , orTerms , hq , siteSearch , fileType .

searchType=image with its size, type and colour filters.

Errors in Custom 's shape; running out of credits is 429 quotaExceeded .

Results are the whole web's, not your engine's sites. For one site use siteSearch ; for several, write site: operators into q .

No pagemap in items[] .

totalResults is the last result known, not Google's estimate.

cr , sort , linkSite and rights are answered 400 .

Google's page gives existing customers until 1 January 2027 to move, and takes no new ones. Moving before then lets you compare both on the same queries.

Not for items[] , queries or errors. Only code that reads pagemap or Google's totalResults estimate needs a look.

It is accepted and not needed. The results come from Google's results page for the whole web; to keep to your sites, use siteSearch or site: in the query.

Yes. 1,000 free credits a month, with no card, are enough to run your usual queries through both and compare them.

No. Serpbit is not affiliated with Google; Google is a trademark of Google LLC.

Start with 1,000 free credits.

Every month. No card.

The full story

This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.

Serpbit offers Google-compatible search API as Google closes Custom JSON API to new customers Google has closed its Custom JSON API to new customers, and existing customers have until 1 January 2027 to transition, according to Serpbit's account of Google's note dated 11 November 2026. Serpbit, a third-party search service, has published a drop-in replacement that keeps the same request path, JSON response format and parser structure, changing only the host and API key. A PyPI package, llama-index-tools-serpbit version 0.1.0, was published on 30 November 2026 as a LlamaIndex GoogleSearchToolSpec equivalent, with the same tool name (google_search) and output fields (title, link, snippet). The package documentation lists differences from Google's tool: num values outside 1-10 are rejected at spec creation, failed calls raise the serpbit client's errors rather than returning 'No results available', and calls take about 2 seconds against under 1 second on Google's API. Serpbit's pricing is stated as 1 credit per call, with a free plan of 1,000 credits per month requiring no card. Google's own suggested alternatives are Vertex AI for searches limited to up to 50 domains, and a full-web solution available on request with terms and pricing not public. The articles describe a commercial migration option and do not report any security vulnerability, malicious activity or incident. The PyPI release page notes that none of the release files carry provenance metadata and that PyPI does not audit packages. 1 sources 28

Extracted Entities