Custom Search JSON API alternative: replace it before January 1, 2027
Short answer: Google's Custom Search JSON API is closed to new customers, and existing customers have until January 1, 2027 to move off it. A SERP API is the closest replacement. SerpWiz returns the live Google results page as JSON for $0.15 per 1,000 searches ($0.1125 with a year prepaid), against Google's $5 per 1,000, with no 10,000-a-day cap. The parameters map almost one to one, so most migrations take an afternoon.
What Google announced
Google's Custom Search JSON API overview now says three things:
- The API is closed to new customers.
- Existing customers have until January 1, 2027 to transition to an alternative.
- For searching a small set of sites (up to 50 domains), Google points to Vertex AI Search. Full-web search is only available by contacting Google.
If your product calls customsearch/v1 today, it stops working at the start of 2027.
Custom Search JSON API vs SerpWiz
| Custom Search JSON API | SerpWiz | |
|---|---|---|
| Status | Closed to new customers, ends January 1, 2027 | Open, self-serve |
| Price | $5 per 1,000 queries | $0.15 per 1,000 ($0.1125 annual) |
| Free usage | 100 queries a day | 1,000 queries a month |
| Daily cap | 10,000 queries a day | None; plans set requests per second |
| What it searches | Your Programmable Search Engine | Google's live results page |
| Ads, top stories, knowledge panel, People Also Ask | No | Yes, in the same request |
| Failed requests | Counted | Free |
What it costs
At $5 per 1,000, Custom Search cost $500 for 100,000 queries a month, and couldn't go past 10,000 a day (about 300,000 a month). On SerpWiz:
- 100,000 searches a month: $20 on a monthly plan, $15 a month on an annual one.
- 1,000,000 searches a month: $150, or $112.50 a month annual.
How the parameters map
| Custom Search | SerpWiz | Notes |
|---|---|---|
q |
q |
Same. Google operators work: site:, "exact", -exclude. |
key, cx |
X-API-Key header |
No search engine ID needed. |
gl, hl |
gl, hl |
Same. |
lr, cr |
lr, cr |
Same values (lang_en, countryUS). |
start |
page |
page = (start - 1) / 10 + 1. |
num |
Google returns 10 organic results per page. | |
dateRestrict=d1, w1, m1, y1 |
tbs=qdr:d, qdr:w, qdr:m, qdr:y |
Custom ranges: tbs=cdr:1,cd_min:…,cd_max:… |
siteSearch=example.com |
q=… site:example.com |
Several sites: site:a.com OR site:b.com. |
exactTerms, excludeTerms |
"…" and -… in q |
And the response:
| Custom Search | SerpWiz |
|---|---|
items[].title |
results[].title |
items[].link |
results[].url |
items[].snippet |
results[].description |
searchInformation.totalResults |
not returned; page with next_page |
Before and after
# Before: Custom Search JSON API
r = requests.get("https://www.googleapis.com/customsearch/v1",
params={"key": KEY, "cx": CX, "q": "best crm for startups", "start": 11})
links = [i["link"] for i in r.json().get("items", [])]
# After: SerpWiz
r = requests.get("https://api.serpwiz.com/v1/google/search",
params={"q": "best crm for startups", "page": 2},
headers={"X-API-Key": os.environ["SERPWIZ_API_KEY"]}, timeout=60)
links = [i["url"] for i in r.json()["results"]]
One difference to plan for
Custom Search searched your Programmable Search Engine, which could be limited to your own sites. SerpWiz returns what Google shows for the query. To keep results to your sites, add site: to the query, as in the table above.
Switch before the deadline
You get 1,000 free queries a month to test the migration, no card required. See the Google Search API for a sample response and the full field list, or start with the quickstart.
More from the blog
This post as Markdown: /blog/google-custom-search-api-alternative.md