Google search API shutdown: a calendar end date, a search results window and structured JSON results
Web Scraping

Google Search API in 2026: Custom Search Shutdown, Options and Alternatives

Table of Content

Last updated: 7 November 2026

Quick answer

Google’s main public search API, the Custom Search JSON API, is closed to new customers and will be discontinued for existing users on 1 January 2027. Google now points site-search users to Vertex AI Search and offers full web results only through a partner-only Web Search Service API. For most businesses that need Google search results data, the practical options are third-party SERP APIs or a managed search data service.

Key takeaways
  1. The Custom Search JSON API stops working on 1 January 2027.
  2. Vertex AI Search suits searching your own or a limited set of sites.
  3. Full Google web results via Google are partner-only.
  4. SERP APIs return Google results as structured JSON by location.
  5. Plan migration now if any tool still uses the Custom Search API.

For years, developers used a Google search API to add search to apps, track rankings or collect results for research. That is changing fast. Google has closed its Custom Search JSON API to new users and set an end date for everyone else.

This guide explains what the Google search API options are today, what the shutdown means, how Programmable Search Engine compares with the API and its parameters, the best Google search API alternatives and how to choose. For background on search data, see our guide to web crawlers.

1 Jan 2027Custom Search API end date
ClosedTo new customers
Partner-onlyFull web search from Google
SERP APIsMain alternative
Need Google search results data after the shutdown?We collect public search results by keyword, country and device, delivered as structured data.
Get a Free Data Sample →

What Is the Google Search API?

The Google search API usually refers to the Custom Search JSON API, an interface that let developers send a query and receive Google search results as JSON, either from a chosen set of sites or, in some cases, the wider web, through a Programmable Search Engine.

Google has offered several search-related APIs over time. Today they fall into three groups: the legacy Custom Search JSON API, enterprise search through Vertex AI Search, and a partner-only Web Search Service API for full web results.

Google optionWhat it doesStatus in 2026
Custom Search JSON APIReturns results from a Programmable Search Engine as JSONClosed to new customers; ends 1 January 2027
Programmable Search EngineEmbeddable search box for your site or chosen sitesSearch element continues; API access is ending
Vertex AI SearchGoogle Cloud search over your data and selected domainsRecommended alternative for site search
Web Search Service APIFull web search results as JSONPartner-only, by agreement with Google

Which Google API for search should you use now?

The right Google API for search now depends on what you are searching. If you need a search box for your own website or help centre, use Vertex AI Search. If you need full web results from Google and have a business relationship with Google, ask about the Web Search Service API. If you need Google results for SEO, advertising or research, Google no longer offers an open API for that, so third-party SERP APIs or a managed data service are the realistic options.

Before choosing, decide whether you need Google’s own rankings or simply good web results. Many AI and app use cases only need relevant web pages, not Google’s exact order, which widens your choice.

Is the Google Custom Search API Shutting Down?

Yes. Google’s documentation states that the Custom Search JSON API is closed to new customers, and existing customers have until 1 January 2027 to move to an alternative. After that date, applications that rely on it will stop receiving results.

What should you do if you use the Custom Search API?

  1. Find every dependency: list tools, scripts and dashboards that call the API.
  2. Define what you need: site search, full web results, rankings or research data.
  3. Pick a replacement: Vertex AI Search for site search, or a SERP API or data service for web results.
  4. Map fields: match titles, links, snippets and positions to the new output.
  5. Test in parallel: compare results before the deadline.
  6. Switch and monitor: move traffic over well before 1 January 2027.
Did you know?

Google is not alone. Microsoft retired its Bing Search APIs on 11 August 2025, pointing developers to AI-based grounding tools instead. Official search APIs are shrinking, which is why third-party search data has become more important.

Programmable Search Engine vs the Search API: What Is the Difference?

Programmable Search Engine is the search box and configuration you set up in Google’s console, while the Custom Search JSON API is the programmatic way to query that engine and receive JSON. The engine controls which sites are searched; API parameters control each individual request.

FactorProgrammable Search EngineCustom Search JSON API
What it isHosted search box and settingsREST interface returning JSON
Main benefitEasy site search with no backend codeFull control inside your own app
OutputGoogle-styled results on your pageRaw JSON you design around
ConfigurationSites, language, look and feel in the consolePer-request parameters
FutureSearch element continuesEnds 1 January 2027

What parameters does the Google Custom Search API use?

The Custom Search JSON API uses query parameters to control each request. These are the ones developers relied on most.

ParameterPurpose
qThe search query
cxThe Programmable Search Engine ID
keyYour API key
num and startNumber of results and pagination
gl and hlCountry and interface language
lrRestrict results to a language
dateRestrictLimit results to a recent period
siteSearchInclude or exclude a specific site
searchTypeSet to image for image results
safeSafeSearch level

When you migrate, check that your replacement supports the same controls, especially country, language and pagination, or your results will not match.

What Are the Best Google Search API Alternatives?

The best Google search API alternative depends on your goal: Vertex AI Search for site search, a SERP API for Google results data, an independent search API for general web search, or a managed data service for ongoing collection without code.

1. Vertex AI Search (Google Cloud)

Google’s recommended replacement for searching your own content or a limited set of domains, with AI-powered ranking and answers.

  • Best for: site search and enterprise knowledge search.
  • Watch for: not designed to give full Google web results.

2. Google Web Search Service API

A partner-only API for full web results, available through an agreement with Google.

  • Best for: large partners with a business relationship with Google.
  • Watch for: not open to general developers.

3. SERP APIs

Third-party SERP APIs, such as SerpApi, DataForSEO, Bright Data’s SERP API and Oxylabs, return Google results pages as structured JSON, including ads, maps, shopping and other features, by location and device.

  • Best for: rank tracking, SEO tools and market research.
  • Watch for: results reflect what Google shows, which changes often.

4. Independent search APIs

Providers with their own web index, such as Brave Search API, offer general web results without relying on Google.

  • Best for: apps and AI tools that need web search, not Google rankings.
  • Watch for: results differ from Google’s.

5. Managed search data service

A managed provider such as Xwiz Analytics collects public search results for your keywords, countries and devices on a schedule and delivers clean data, with no API integration to maintain.

  • Best for: brands and analysts who want ongoing ranking, ads and competitor data.
  • Delivery: CSV, JSON, API or dashboards. See our web scraping services.

Google Search API Alternatives Compared

OptionResults sourceAccessBest for
Custom Search JSON APIGoogle (Programmable Search)Closed; ends 1 Jan 2027Legacy only
Vertex AI SearchYour data and chosen domainsGoogle CloudSite and enterprise search
Web Search Service APIGoogle full webPartner-onlyGoogle partners
SERP APIsGoogle results pagesOpen sign-upSEO and research data
Independent search APIsOwn web indexOpen sign-upGeneral web search
Managed data serviceGoogle results pagesManaged deliveryOngoing business reporting
Migrating off the Custom Search API?Tell us your keywords and markets. We will deliver Google results data on your schedule.
Talk to Our Data Experts →

What Can You Do With Google Search Results Data?

Google search results data shows who ranks, who advertises and what users see for any keyword and location. Businesses use it for SEO, advertising and market research.

  • Rank tracking: monitor your positions and competitors across cities and countries.
  • Ad intelligence: see who bids on your keywords. See our guide to Google Ads competitor analysis.
  • Brand protection: spot resellers or counterfeiters on brand searches. See our PPC brand protection.
  • AI Overviews monitoring: track how your brand appears in AI answers in search.
  • Market research: study demand, local competitors and content gaps.
  • AI grounding: give AI tools fresh web results to cite.

How Do You Choose a Google Search API Alternative?

Choose a replacement by starting with your use case, then checking that it supports the countries, languages, devices and result features you need, at the volume and freshness you require.

Checklist for a search API replacement
  • Full web or site search
  • Google results or own index
  • Country and city targeting
  • Device type
  • Ads and features included
  • Pagination depth
  • Response speed
  • Usage terms
  • Support and uptime

Is there a free Google search API?

The Custom Search JSON API offered a small free daily quota, but it is closed to new users. Most alternatives offer free trials or limited free tiers for testing, while production use is paid.

How Does Xwiz Help With Search Results Data?

Xwiz Analytics collects public search results pages for the keywords, locations and devices you choose and delivers them as clean, structured data.

  • Organic and paid results: positions, titles, URLs, snippets and ads.
  • Local accuracy: results by country, city and device.
  • Search features: shopping, maps and other result types where needed.
  • Scheduled feeds: daily or weekly, with history for trends.
  • Checked data: validation on every delivery. See our data extraction services.

Frequently Asked Questions

Is there a Google search API?
Google’s Custom Search JSON API is closed to new customers and ends on 1 January 2027. Google offers Vertex AI Search for site search and a partner-only Web Search Service API for full web results.
When does the Google Custom Search API end?
Existing customers have until 1 January 2027 to move to an alternative, according to Google’s documentation.
What is the best Google search API alternative?
For site search, Vertex AI Search. For Google results data, a SERP API or managed search data service. For general web search, an independent search API such as Brave Search API.
What is the difference between Programmable Search Engine and the API?
Programmable Search Engine is the configured search box and settings; the Custom Search JSON API is the programmatic way to query it and receive JSON results.
Is the Bing Search API still available?
No. Microsoft retired the Bing Search APIs on 11 August 2025.
Can I get Google search results as JSON?
Yes, through third-party SERP APIs or a managed data service that collects public results pages and returns structured JSON.

Conclusion

The era of a simple, open Google search API is ending. With the Custom Search JSON API closing on 1 January 2027 and Bing’s APIs already retired, teams need a new plan for search data.

Use Vertex AI Search for site search, and a SERP API or managed data service for Google results. Start testing now so your tools keep working after the deadline.

SourcesGoogle: Custom Search JSON API overview · Search Engine Journal: Google partner-only web search API · Microsoft: Bing Search API retirement

Ready to replace your search API?

Tell us your keywords, countries and devices. We will deliver clean search results data on schedule.

This insight could benefit your network, feel free to share it.
Gaurav Vishwakarma
Gaurav Vishwakarma