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.
